MCP Catalogs
Home

code-mcp

by 54yyyu·37·Score 38

Code-MCP connects Claude AI to dev environments via MCP, enabling terminal commands and file operations through the AI interface.

developer-toolsai-llmproductivity
3
Forks
3
Open issues
14 mo ago
Last commit
2d ago
Indexed

Overview

Code-MCP is a Python-based MCP server that bridges Claude AI with local development environments, enabling AI to execute terminal commands, perform file operations, handle git repositories, and apply smart editing features to codebases. It provides comprehensive installation options including one-liners for macOS/Linux/Windows, with support for optional features like remote connectivity over SSH and Jupyter notebook integration. The server includes safety mechanisms for destructive operations and ensures all operations stay within the project directory.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Enable Claude AI to directly interact with your codebase through terminal commands and file operations
you:Work with remote codebases by connecting to a Code-MCP instance running on a remote server
you:Perform code analysis and editing with pattern matching and function-level operations
you:Is Code-MCP compatible with Claude API or only Claude Desktop?
you:Does Code-MCP support remote development environments?
you:What safety features does Code-MCP implement?

When to choose this

Choose Code-MCP when you need Claude AI to interact directly with your local or remote development environment through terminal commands and file operations.

When NOT to choose this

Avoid if you need multi-user collaboration features or require more complex workflow automation beyond file operations and command execution.

Tools this server exposes

9 tools extracted from the README
  • run_command

    Execute terminal commands in the project directory

  • git_operation

    Perform git operations with safety confirmations

  • read_file

    Read the content of a file

  • edit_file

    Edit a file with specified changes

  • smart_edit

    Perform smart code editing with pattern matching

  • create_directory

    Create a new directory

  • delete_path

    Delete a file or directory with confirmation

  • list_directory

    List contents of a directory

  • edit_block

    Perform batch operations across multiple files

Comparable tools

shell-mcpfilesystem-mcpgithub-mcp

Installation

Installation

Quick Installation

**macOS / Linux:**

curl -LsSf https://raw.githubusercontent.com/54yyyu/code-mcp/main/install.sh | sh

**Windows:**

powershell -c "Invoke-WebRequest -Uri https://raw.githubusercontent.com/54yyyu/code-mcp/main/install.ps1 -OutFile install.ps1; .\install.ps1"
Claude Desktop Integration
  1. Run the setup helper with your project path:
code-mcp-setup /path/to/your/project
  1. Or manually edit Claude Desktop configuration (claude_desktop_config.json):
{
    "mcpServers": {
        "code": {
            "command": "code-mcp",
            "args": [
                "/path/to/your/project"
            ]
        }
    }
}

FAQ

Is Code-MCP compatible with Claude API or only Claude Desktop?
Code-MCP is primarily designed for Claude Desktop integration through MCP. While it might be possible to integrate with Claude API, the primary use case and documentation focus on Claude Desktop.
Does Code-MCP support remote development environments?
Yes, Code-MCP supports remote connectivity over SSH. You can connect Claude Desktop to a Code-MCP instance running on a remote server using the provided setup scripts and command-line tools.
What safety features does Code-MCP implement?
Code-MCP includes confirmation requirements for destructive operations (delete, overwrite), path safety to prevent operations outside the project directory, and special confirmations for potentially dangerous git commands.

Compare code-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.