coding-agent-mcp
Supervise and orchestrate local coding agents (Muse/AGY) through a client-agnostic MCP tool surface with safe execution, Git worktree isolation, and deterministic verification.
List configured coding agents and their availability.
List configured repositories and safe metadata.
Start coding-agent tasks in a repository with agent, instruction, mode, and workspace strategy.
Continue an existing task session with follow-up instructions.
Get task state and concise metadata.
Read bounded task output with pagination cursor support.
Cancel running coding-agent tasks.
Get structured Git status for a task workspace or configured repository.
Get Git diffs for a task workspace or repository, including committed changes and untracked files.
Run configured verification profiles (e.g., test, lint) in a task workspace or repository.
Rely on SQLite-backed persistence, streaming logs, audit logs, and crash recovery.
Provides Git worktree isolation for coding-agent tasks and tools to inspect repository status and diffs, including committed changes since a task's base SHA and untracked files.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@coding-agent-mcpStart a task in my-repo to fix the failing tests and run verification."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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. The optional
agy-geminiadapter runs the installed AGY CLI throughagy-gyrowith an isolated Gemini API-key profile, avoiding account OAuth and Keychain.Durable Persistence & Audit: SQLite-backed task state, streaming logs, and structured audit logs with crash recovery.
Related MCP server: Vibechemy
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
Available Tools
10 toolscancel_taskA
Cancels a running coding-agent task
Inputs: task_id (required).
continue_taskA
Sends follow-up instructions to an existing task session
Inputs: task_id (required), instruction (required).
get_diffA
Returns the Git diff for a task workspace or configured repository (including committed changes since task base SHA and untracked files)
Inputs: staged, task_id, max_bytes, repository.
get_repo_statusA
Returns structured Git status for a task workspace or configured repository
Inputs: task_id, repository.
get_taskB
Returns task state and concise metadata
Inputs: task_id (required).
get_task_outputA
Returns bounded task output with pagination cursor support
Inputs: task_id (required), cursor, max_bytes.
list_agentsA
Returns configured coding agents and their local availability
Inputs: no named parameters.
list_repositoriesA
Returns configured repository aliases and safe metadata
Inputs: no named parameters.
run_verificationB
Runs a configured verification profile (e.g. test, lint) in a task workspace or repository
Inputs: profile (required), task_id, repository.
start_taskB
Starts a coding-agent task in a configured repository workspace
Inputs: agent (required), repository (required), instruction (required), mode, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 10 tools
Each tool addresses a distinct resource or action: agent discovery, repository discovery, task lifecycle management, output retrieval, git inspection, and verification. There is no meaningful overlap between get_task and get_task_output, or between get_repo_status and get_diff.
All tools follow a consistent snake_case verb_noun pattern (list_*, start_*, cancel_*, continue_*, get_*, run_*). The naming is predictable and makes the action-resource relationship clear across the entire set.
Ten tools is well-scoped for a coding-agent orchestration server. Each tool covers a necessary operation without redundancy, and the count is within the ideal range for maintainability and agent usability.
The tool surface covers the full task lifecycle: create (start_task), read (get_task, get_task_output), update (continue_task), and cancel (cancel_task). It also provides discovery (list_agents, list_repositories), repository inspection (get_repo_status, get_diff), and verification (run_verification), leaving no obvious dead ends for the stated purpose.
Maintenance
Related MCP Connectors
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.41 npmMIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server for orchestrating a fleet of CLI coding agents in isolated git worktrees. It exposes tools for spawning workers, sending instructions, reviewing diffs, and merging changes, with full terminal visibility.8 npm4MIT
- AlicenseAqualityBmaintenanceAn MCP server that enables a supervising OpenAI Codex agent to delegate bounded implementation tasks to isolated worker threads with enforced file scopes and verification, optionally running in parallel git worktrees.526 npm6MIT
- AlicenseNot gradedqualityBmaintenanceA local MCP server that enables Codex and other MCP clients to orchestrate native external coding-agent harnesses through a normalized lifecycle, with guarded execution and deterministic testing.66 PyPIMIT