Edits local repositories, runs preapproved commands, and records agent changes as Git commits through Claude.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Codemcp.
The ezyang/codemcp MCP server connects Claude to a Git repository on the local machine. It supports the basic operations needed for coding tasks: inspecting project files, writing changes, and invoking commands that the project owner has explicitly configured. This allows a developer to ask Claude to implement a feature, repair a defect, refactor code, or work through tests while keeping the repository available in the developer's normal editor.
The design emphasizes reviewable changes. Agent edits are recorded in Git, with a commit created for the work and amended as the chat continues. That gives the developer a fine-grained history for reviewing or reverting changes instead of relying on an uncommitted working tree.
The server runs locally and exposes an SSE endpoint. Claude Desktop can connect to that endpoint, and the README also describes using a browser extension that connects Claude's web interface to SSE MCP servers. A project is selected by initializing codemcp with its filesystem path.
Shell access is constrained by configuration rather than being unrestricted. The agent can only invoke commands declared in the repository's codemcp.toml file. Command entries can be simple argument arrays or can include documentation describing how a command accepts arguments. A format command has special behavior: it runs after each file edit. Other named commands, such as tests, are available for the model to choose when appropriate.
The README describes the current master branch as moving back toward multiple MCP tools, which means tool-use approval may be required. It also notes that the project is not intended to run unattended indefinitely; developers should review the result of each chat and continue with another request when needed.
Install uv, then start the server with:
The default SSE address is http://127.0.0.1:8000/sse. A different port can be supplied with --port. The server can also bind to a specified host for remote access, but exposing it broadly is unsafe because an MCP user can execute code on the computer.
Create codemcp.toml in the target Git checkout before using it. A minimal configuration might define formatter and test commands under [commands]. You can also set project_prompt, which is loaded when the project is initialized. In Claude Desktop, the README recommends a project instruction that initializes codemcp with the repository path.
codemcp.toml.~/.codemcp/codemcp.log.The ezyang/codemcp MCP server requires a Git checkout and project configuration. It does not provide unrestricted shell execution; required formatters, test runners, and similar commands must be declared in advance. Remote binding should be limited to a trusted network, since access can enable arbitrary code execution on the host.
The README says codemcp is considered obsolete because Claude Code is available through Anthropic subscriptions. It remains open source and may still suit users who prefer its IDE-independent workflow, Git-based edit history, or auto-accept-oriented design. Claude Pro or Claude Max is discussed as the intended subscription context, rather than a server API key requirement.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ezyang-codemcp)<a href="https://allmcps.com/mcp/ezyang-codemcp"><img src="https://allmcps.com/api/badge/ezyang-codemcp?style=directory" alt="Codemcp on AllMCPs" /></a>