Computer MCP family plugin for Claude Code CLI and streaming MCP integration.
Install · Usage · Interface · Documentation · Contributing
An independent Computer MCP plugin for Claude Code. One package contributes a canonical CLI tree, a stdio MCP adapter that streams runs, and client-neutral usage skills. The Python adapter uses the Host vendor execution channel for installed runs.
The CLI contribution describes verified non-interactive commands; the native baseline and its
exact version assertion live in cli-tree.json. It is deliberately partial: interactive setup,
installation and unsupported administrative flows are not callable tools. The adapter owns
streaming and session and run state. The Host owns registration, profile grants, working directory, vendor child execution
and audit.
| Contribution | What it adds |
|---|---|
claude CLI |
Typed tools for the verified non-interactive Claude Code commands |
stream MCP server |
claude.run, claude.run.start, claude.run.list, claude.run.result, claude.run.events, claude.run.cancel and claude.run.release, plus a work resource listing active runs and retained results |
claude-code skill |
Guidance for choosing the CLI or the streaming tools safely |
Install the archive in the host, bind the claude executable, and configure both contributions
from Examples/settings.json.
-
Install Claude Code 2.1.59 and provide Python 3.13 or newer on the Computer MCP launch
PATH. Sign in with Claude Code on your computer for model use. The installation guide describes how the plugin reports the vendor's session status. -
Build the archive:
python3 scripts/build_package.py /new/output/directory
-
Install the ZIP through Computer MCP's plugin UI or the owner CLI. Installation is neither activation nor a permission grant.
-
Review
Examples/settings.json, replace its placeholder paths, and configure the plugin through the same UI orplugins configure. Theclaude-codedependency binding selects the executable for both contributions. The installed MCP entry point requires Host negotiation. Direct standalone MCP clients can usebin/claude-mcp-adapterwith--executable.
See the installation guide for revisions, configuration publication and validation.
The adapter consumes Claude Code's print-mode stream-json, including partial messages, and keeps the final result, the native session ID and the native exit outcome independently of cleanup confirmation. Discovery does not launch Claude Code. Release discards a completed result only after cleanup is confirmed; cleanup uncertainty stays owned and cannot be released or evicted. The work resource reports each active run and retained result with its original acquisition reference, so hosts can account for work after the creating tool returns, without private Host Services permission.
permission_mode defaults to dontAsk; plan and acceptEdits are supported explicit choices.
The non-interactive contract exposes no permission-bypass mode and never fabricates interactive
permission responses, and existing vendor configuration continues to apply. Choosing to resume,
continue or start a session is explicit, and cancelling a run does not delete its saved native
conversation.
Installed runs use the Host-selected project and sandbox. The standalone adapter uses the caller's process environment. Native vendor permissions and credentials still apply. See the interface contract for retention, cancellation and error semantics.
- Computer MCP with managed print execution support on an arm64 computer.
- Claude Code installed separately at the version specified in
cli-tree.json. - Claude Code authentication in the execution environment for model runs.
- Python 3.13 or newer.
The documentation index links the architecture, the interface, the installation
guide and the release process. On macOS, set
COMPUTER_MCP_TEST_HOST to the provisioned fixture for the pinned Host revision,
then run:
python3 -B scripts/test_plugin.py dist
python3 scripts/validate_native.py --executable /absolute/path/to/claudeUse python3 -B scripts/test_plugin.py --plugin-only dist for the portable
suite. Tests use deterministic peers. The source consumer in scripts/validate_host.py
takes explicit clean host/plugin paths and full commit SHAs and stages isolated
snapshots; see the installation guide. The manifest requests provider Project
write, with MCP caller read overrides for list/result/events. CLI still requires
Project write; Skills requires caller Skills and Plugin use. Host approval does
not grant native vendor approval.
The sandbox requests only the Claude API and first-party authentication hosts. The Host reviews the network ceiling at enablement and applies the owner's selection and policy limits. See the sandbox contract.
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). Claude Code and Anthropic services are external; see the third-party notices.