coding-mcp
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-mcplist available repositories"
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-mcp
coding-mcp is a local MCP server for coding agents. It exposes safe repository reads, edits, skill reads, automatic command execution, and project test detection over stdio.
Install
python3 -m venv .venv
.venv/bin/python -m pip install -e '.[dev]'Related MCP server: machine-mcp
Configure
Copy coding-mcp.example.toml and replace the repository and skill paths. Multiple repositories are supported; every repository tool call uses its configured id.
Repository-local AGENTS.md files are resolved first. If none apply, the selected repository's agents_fallback is used. Call repo_instructions and pass its acknowledgement to repo_write, repo_patch, command_run, and test_run.
Run
.venv/bin/coding-mcp --config /absolute/path/to/coding-mcp.tomlExample MCP client configuration:
{
"mcpServers": {
"coding-mcp": {
"command": "/absolute/path/to/coding-mcp/.venv/bin/coding-mcp",
"args": ["--config", "/absolute/path/to/coding-mcp.toml"]
}
}
}Agent workflow: build a project from scratch
The agent works inside an existing empty directory that has been registered as an approved repository. The MCP server does not create arbitrary directories outside its configuration.
Call
repo_list_repositoriesand select the repositoryid.Call
repo_instructions(repository_id, path)before making changes. This reads the applicable repositoryAGENTS.md; when none exists, it reads the configuredagents_fallback. Save the returnedacknowledgementvalue.Call
skill_listandskill_readto load relevant development instructions.Inspect the workspace with
repo_listandrepo_read.Create files with
repo_write, passingagents_ack. Userepo_patchfor targeted edits andexpected_sha256when editing a file that was previously read.Call
test_detect, thentest_runwith the same acknowledgement. Usecommand_runfor builds, linters, formatters, generators, or other language tooling; commands are discovered automatically and do not need configuration entries.Re-read changed files and rerun verification after fixes.
Example initial tool sequence:
repo_list_repositories()
repo_instructions(repository_id="new-app", path="")
skill_list()
skill_read(path="relevant-skill/SKILL.md")
repo_list(repository_id="new-app", path="")
repo_write(
repository_id="new-app",
path="pyproject.toml",
content="...",
agents_ack="<acknowledgement>"
)
test_detect(repository_id="new-app")
test_run(repository_id="new-app", agents_ack="<acknowledgement>")repo_write creates files but does not create missing parent directories. Pre-create directories or explicitly allow a safe mkdir -p command and run it through command_run after acknowledging AGENTS.md.
Safety model
Repository paths are relative to named, approved roots.
Absolute paths, traversal, and symlink escapes are rejected.
Writes are atomic and can require an expected SHA-256 revision.
Exact patches must match once.
Commands are automatic and use
shell=False; they run from the selected repository.Commands have configurable timeout and output limits.
Because command execution is unrestricted by an allowlist, only connect trusted local agents to this server.
The server does not expose arbitrary filesystem paths.
Run tests with:
.venv/bin/python -m pytestThis server cannot be deployed
Maintenance
Related MCP Connectors
Git-backed platform for skills, tools, and context for AI agents
The governed runtime for agent skills. Search the catalog and inspect a skill before running it.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Develop, manage, and debug Railway projects, services, and deployments from within agents.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides local command execution, remote SSH, interactive terminals, file read/write, and source search for AI CLI through stdio, with large output pagination and safety confirmations.19 npm2Apache 2.0
- AlicenseAqualityBmaintenanceEnables an AI agent to run local tools on the user's own machine via stdio, including command execution, workspace file read/write, and system status checks.52MIT
- AlicenseAqualityBmaintenanceEnables coding agents to safely inspect and modify project files within explicitly allowed workspace roots, with controls for file operations, git status/diff, and optionally allowlisted command execution.11Apache 2.0
- AlicenseCqualityBmaintenanceLocal-first MCP runtime for coding agents with bounded workspace access, content-preconditioned writes, AST search, LSP navigation and diagnostics, and Git status/diff. Designed to give coding agents useful repository access without treating unrestricted shell access as the default integration boundary.2132MIT