Computer MCP family plugin for TRAE sessions through ACP.
Install · Usage · Interface · Architecture · Contributing
This independent plugin connects Computer MCP to a user-installed TRAE CLI through its documented Agent Client Protocol (ACP) stdio interface. Native conversation storage, tools, configuration and account authentication belong to TRAE. Computer MCP owns admission, projects, approval policy and runtime generation selection.
The supported native baseline is TRAE CLI 0.207.1-tob. Its version command reports
traecli 0.207.1 (public edition) and its ACP agent identity reports traecli-acp version
0.207.1-tob; both are checked before a session is used.
| Contribution | What it adds |
|---|---|
acp MCP server |
trae.session.* tools to open, list, inspect, prompt, close and release sessions; trae.turn.* tools for results, paged events, cancellation and release; trae.permissions.list and respond for native permission requests |
trae skill |
How to use TRAE sessions with explicit permission responses and bounded events |
- Install the supported TRAE CLI and obtain CLI entitlement from TRAE or your organization.
- Build the archive with
python3 scripts/build_package.py dist, which writesdist/trae.zip. - Install it through Computer MCP and provide the declared dependencies:
traecliandpython3(3.13 or newer).
The shipped package runs in the Computer MCP sandbox with Full access off. It requests the four outbound hosts Volcengine publishes for the public enterprise TRAE CLI deployment. Review the request in Computer MCP to select access. Volcengine domain access reference
See TRAE account and network setup for provider state and deployment-specific endpoints.
Sign in with TRAE CLI on your computer. Select the intended project, open a TRAE session and check its status, then start a prompt. Read bounded events and the retained turn result, and review native permission requests through the host's approval flow. Close the session and confirm cleanup before releasing retained handles. The host may prefix tool names; discover the actual tools.
For a direct stdio client, run:
bin/trae-mcp-adapter --executable /absolute/path/to/traecliThe executable can also come from TRAE_CLI_EXECUTABLE; otherwise traecli is resolved on the
launch PATH. --help and --version neither start the native CLI nor authenticate an account.
- Computer MCP on macOS arm64.
- TRAE CLI
0.207.1-tob, installed and logged in separately. - Python 3.13 or newer.
See the interface contract, the
package architecture and the
release process. To validate a checkout on macOS,
provision the pinned Host fixture and set COMPUTER_MCP_TEST_HOST as described
in the contributor guide:
sh scripts/test_plugin.sh dist
python3 scripts/validate_native.py --executable /absolute/path/to/traecli --output "$(mktemp -d)/native-check"
python3 scripts/validate_host.py --host /absolute/path/to/computer-mcp --archive dist/trae.zip --output "$(mktemp -d)/host-check"Each acceptance attempt needs new output directories. Native validation uses isolated unauthenticated state; archive validation checks exact extraction. Neither establishes reviewed package/provider authority.
For source/development authority acceptance, use explicit clean source commits:
python3 scripts/validate_host_source.py \
--host-source /absolute/path/to/host --host-sha FULL_40_CHARACTER_HOST_SHA \
--plugin-source /absolute/path/to/plugin --plugin-sha FULL_40_CHARACTER_PLUGIN_SHA \
--output "$(mktemp -d)/source-run"Choose a fresh absolute output directory outside both source checkouts and their ancestors. The driver stages isolated snapshots, builds the exact plugin archive and selects it in an isolated Host using a deterministic ACP fixture. It requires macOS and the host Swift test toolchain, records the exact pair and fresh case evidence, and removes its source/build exports. It never contacts an installed App, a production control socket or the native vendor. Source runtime, native handshake, exact-package and authenticated model results are separate acceptance evidence. The final reviewed host pin and remote CI acquisition remain pending coordinated integration.
The manifest requests provider Project write. Callers need Plugin use plus Project read for inspection or Project write for execution and retained-state mutation. Skill consumption also requires Skills.
See the contributor guide.
Computer MCP-owned code and resources use the Functional Source License 1.1, Apache 2.0 Future License (FSL-1.1-ALv2). Third-party notices identify the separate rights covering the runtime, the TRAE executable and ACP.