coding-agent-mcp
coding-agent-mcp
Local, client-agnostic MCP server for supervising and orchestrating coding agents such as Muse and AGY.
The MCP server is the safe execution, isolation, and verification boundary. OpenAI/ChatGPT, Claude Desktop, custom MCP orchestrators, or any other compatible client act as external supervisors.
Features
Safe Local Execution: Interacts with local agents without exposing arbitrary shell execution.
Git Worktree Isolation: Spawns tasks in isolated Git worktrees by default, protecting current work and enabling safe concurrency.
Client-Agnostic MCP Surface: Standard MCP tools compatible with any client:
list_agentslist_repositoriesstart_taskcontinue_taskget_taskget_task_outputcancel_taskget_repo_statusget_diffrun_verification
Deterministic Verification: Independent test and lint execution profiles returning real exit codes and outputs.
Agent Adapters: Pluggable adapters for Muse and AGY with headless execution, permission management, and session resumption.
Durable Persistence & Audit: SQLite-backed task state, streaming logs, and structured audit logs with crash recovery.
Quick Start
1. Install & Build
npm install
npm run build2. Configuration
Create ~/.coding-agent-mcp/config.yaml (or copy examples/config.example.yaml):
server:
data_dir: ~/.coding-agent-mcp
max_concurrent_tasks: 2
repositories:
my-repo:
root: /path/to/my-repo
writable: true
default_workspace_strategy: worktree
verification_profiles:
test:
command: ["npm", "test"]
timeout_seconds: 900
lint:
command: ["npm", "run", "lint"]
timeout_seconds: 3003. Run Server
node dist/index.js --config /path/to/config.yamlRunning Tests
npm testRuns the test suite covering unit policies, Git worktree isolation, task lifecycle, and end-to-end MCP tool invocations.
Documentation
License
MIT