Skip to main content

# Updates and Agent Integration

## App Updates​

1. Click the version entry at the top of the main screen to open the update panel.
2. Click `Check for Updates` in the panel.
3. If a new version is found, the panel shows the version comparison and release summary.
4. Click `Apply Update` after confirmation; the service downloads and replaces the new backend and frontend assets in the background.
5. When the update finishes, the app restarts automatically. In tray mode, the tray app helps complete the replacement.

## Script Run Settings​

In `Settings → Script Run Settings`, you can control:

- whether `XXTLanControl.lua` is uploaded before running scripts
- whether it is also uploaded when running `<Selected on Device>`
- whether it is uploaded during bulk script upload to devices
- whether existing `XXTLanControl.lua` files inside `Script Directory` should be updated to the version bundled in the current control center

These settings mainly affect script execution and script asset maintenance.

## Skill Install Panel​

In `Settings → Skill Install`, you can install the bundled `xxtouch-script` Skill into clients that support Agent Skills. Built-in targets include:

- Claude Code
- Codex
- GitHub Copilot
- Cursor
- Windsurf
- Antigravity
- Trae
- Qoder

## MCP Install Panel​

In `Settings → MCP Install`, you can install or remove agent integration for common MCP-enabled tools. Built-in targets include:

- Claude Code
- Codex
- VS Code
- Cursor
- Windsurf
- Antigravity
- Trae
- TRAE CN
- TRAE SOLO
- Qoder

## Toolset Modes​

The install panel offers two toolset modes:

- `Development`: better for testing and debugging workflows
- `Full`: better when you want the agent to use more control-center features directly

Both the install actions and the configuration snippets follow the currently selected toolset mode.

## Target Control Center Address and Snippets​

- By default, MCP installation points to the current XXTLanControl instance.
- If you want the agent to connect to another control center, enter that target address in the panel.
- For agents that are not shown in the target list, you can copy the JSON or TOML snippets shown in the panel.

## Before You Use It​

- If the current package does not include MCP support, the panel will show that installation is unavailable.
- If you no longer need agent integration later, it is a good idea to remove it from the same panel first.