Computerpilot MCP README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Computerpilot MCP listing page.

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.

Release CI Platform validation Python 3.10+ Apache-2.0

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

DomainExamples
DevelopmentFile search and guarded edits, Git, Python AST, LSP, tests and diagnostics
ProcessesTerminal, process inspection, cancellable commands and durable jobs
Browser and desktopSemantic Playwright actions, screenshots; Windows UI Automation
DocumentsXLSX, DOCX and PDF inspection and supported edits or creation
ReliabilityWorkflow checkpoints, mutation journal, reconciliation and bounded retention
IntegrationTool 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.

powershell
git clone https://github.com/dibbed/computerpilot-mcp.git
cd computerpilot-mcp
$env:MCP_START_MODE = "local-http"
.\START_MCP.bat

On Linux:

sh
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

  1. Inspect a project with project_summary and git_status.
  2. Read the affected source with read_file or code_context.
  3. Apply a bounded edit with replace_exact or apply_patch.
  4. Check the diff and run verify_changes or the project's test runner.
  5. 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

mermaid
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:

sh
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.