{"type":"mcp_client","name":"codemcp","description":"Codemcp integrates Claude Desktop with your codebase, enabling AI-powered feature implementation, bug fixes, and refactoring through direct file edits and test runs, all while leveraging Git for safe, reversible changes.","category":"Developer Tools","language":"Python","stars":1613,"forks":68,"owner":"ezyang","github_url":"https://github.com/ezyang/codemcp","homepage":null,"setup":"## Setup\n\n1.  Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).\n2.  Configure `claude_desktop_config.json` with the appropriate command and arguments for codemcp, using either uv or a global pip install.\n3.  Restart the Claude Desktop app after modifying the JSON.\n4.  Create a `codemcp.toml` file in the Git repository checkout you want to work on, defining commands like `format` and `test`.\n5.  In Claude Desktop, create a Project and put `Initialize codemcp with $PROJECT_DIR` in the Project Instructions, where `$PROJECT_DIR` is the path to the project.\n6.  For global pip install, use `pip install git+https://github.com/ezyang/codemcp@prod` and configure `claude_desktop_config.json` to use `python -m codemcp`.\n7.  Manually upgrade codemcp using `pip install --upgrade git+https://github.com/ezyang/codemcp@prod`.\n","tools":"## Available Tools\n\n1.  **Code Editing**: Directly edit files on your computer based on Claude's suggestions.\n2.  **Test Execution**: Run tests on your codebase via Claude.\n3.  **Code Formatting**: Format your code using Claude.\n4.  **Git Integration**: Generate commits for every change made by codemcp.\n5.  **Safe Agentic AI**: Provides a limited set of tools to prevent misuse and ensures code changes can be rolled back using Git.\n6.  **Project Initialization**: Initialize codemcp with a project directory to scope Claude's actions.\n","faq":null,"created_at":"2025-03-09T03:58:34+00:00","updated_at":"2025-03-28T18:05:10+00:00","source_url":"https://model-context-protocol.com/clients/ai-code-assistant-claude-desktop-integration","related_articles":[]}