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.
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:
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 READMErun_commandExecute terminal commands in the project directory
git_operationPerform git operations with safety confirmations
read_fileRead the content of a file
edit_fileEdit a file with specified changes
smart_editPerform smart code editing with pattern matching
create_directoryCreate a new directory
delete_pathDelete a file or directory with confirmation
list_directoryList contents of a directory
edit_blockPerform batch operations across multiple files
Comparable tools
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
- Run the setup helper with your project path:
code-mcp-setup /path/to/your/project- 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
Last updated · Auto-generated from public README + GitHub signals.