ComputerPilot MCP
A supervised local runtime that lets MCP clients inspect, edit and verify code, operate browsers and documents, and run durable automation on a computer.
Why this project exists
A shell command alone does not provide structured edits, bounded output, reliable cancellation or recovery after an interrupted mutation. ComputerPilot exposes these operations as typed tools, with explicit resource ownership and execution evidence. Agents can inspect, change and verify a project without treating every task as arbitrary shell execution.
Capabilities
| Domain | Examples |
|---|---|
| Development | File search and guarded edits, Git, Python AST, LSP, tests and diagnostics |
| Processes | Terminal, process inspection, cancellable commands and durable jobs |
| Browser and desktop | Semantic Playwright actions, screenshots; Windows UI Automation |
| Documents | XLSX, DOCX and PDF inspection and supported edits or creation |
| Reliability | Workflow checkpoints, mutation journal, reconciliation and bounded retention |
| Integration | Tool profiles, advisory routing, configured external MCP providers and Secure Tunnel |
Quick start
Python 3.10+ and Git are required. Windows and Linux are supported; macOS is experimental source compatibility only.
git clone https://github.com/dibbed/computerpilot-mcp.git
cd computerpilot-mcp
$env:MCP_START_MODE = "local-http"
.\START_MCP.bat
On Linux:
git clone https://github.com/dibbed/computerpilot-mcp.git
cd computerpilot-mcp
MCP_START_MODE=local-http ./start_mcp.sh
Connect a compatible MCP client to http://127.0.0.1:8765/mcp. The local control panel is at http://127.0.0.1:8766/. Local HTTP mode requires no tunnel credentials. For optional browser dependencies, LSP, remote access and release archives, use the installation guide.
Example workflow
- Inspect a project with
project_summaryandgit_status. - Read the affected source with
read_fileorcode_context. - Apply a bounded edit with
replace_exactorapply_patch. - Check the diff and run
verify_changesor the project's test runner. - For a longer task, use
submit_job, then collect its actual terminal status and output.
Try the recorded read-only MCP demo with a synthetic file. See tooling for request semantics and engineering decisions for the reasoning behind the design.
Architecture
flowchart LR
Client["MCP client"] --> Runtime["ComputerPilot runtime"]
Runtime --> Registry["Typed tool registry"]
Registry --> Native["Files · Git · processes · browser"]
Registry --> Jobs["Jobs · workflows · recovery"]
Jobs --> State["Durable local state"]
Runtime --> Supervisor["Supervisor · health · control panel"]
The router recommends routes; typed tools authorize and execute them. Uncertain effects require reconciliation rather than blind replay. See architecture.
Security
This is a full-capability local runtime, not a sandbox. A connected client may exercise the server account's permissions. Bind local endpoints to loopback, protect tunnel credentials, and review destructive actions. External providers run with local account permissions even when their environment is filtered.
Read SECURITY.md before remote use.
Validation and releases
Run the startup catalog check in the project virtual environment:
python main.py --check
python -m pytest
python -m ruff check .
python -m mypy core tools scripts tests
The release notes, validation record and cross-platform hardening report distinguish released functionality from later source changes. Exact-SHA CI results, platform-specific skips and test scope belong in those reports, not a universal test-count badge. See GitHub Releases for published artifacts.
Documentation
Installation · Architecture · Tooling · Configuration · Platform support · Troubleshooting · Documentation index · Contributing
Licensed under Apache-2.0. See third-party notices and binary provenance.