Claude Code

v1.0.0Coding Agentsstable

An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.

claudeclaude-codemcpmcp-server
Share:
302
Stars
0
Downloads
0
Weekly
0/5

What is Claude Code?

Claude Code is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that implements claude code-like functionality, allowing the ai to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.

An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.

This server falls under the Coding Agents and Developer Tools categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP server that implements Claude Code-like functionality

Use Cases

Analyze and navigate large codebases with context-aware code understanding.
Automatically modify files, execute commands, and manage projects programmatically.
Integrate AI-powered codebase analysis into your development workflows.
SDGLBL

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-claude-code

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Claude Code

MCP Claude Code is a Python-based MCP server that brings Claude Code-style autonomous development capabilities to any MCP-compatible client. It exposes 16 tools covering file reads, writes, edits, shell execution, grep and AST-based search, directory trees, Jupyter notebook manipulation, structured reasoning, task management, and parallel sub-agent dispatch. Teams use it to give their AI assistant the ability to explore, modify, and manage real codebases with fine-grained permission controls over which paths and commands are accessible.

Prerequisites

  • Python 3.10 or higher and uv (or pip) installed
  • uvx available for the recommended one-command install (pip install uv)
  • An MCP client such as Claude Desktop, Cursor, or Claude Code CLI
  • Optional: an Anthropic API key or OpenAI API key if you enable the agent dispatch tool
1

Install mcp-claude-code with uvx

Use the recommended one-command install which installs the package and registers the claudecode entry point.

uvx --from mcp-claude-code claudecode --install
2

Identify the paths you want to allow

Decide which directories on your machine the server may read and write. The --allow-path flag controls this security boundary. Specify each allowed directory explicitly.

3

Add the server to Claude Desktop config

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) and add the server with the --allow-path flag pointing at your project directories.

4

Enable the agent dispatch tool (optional)

To use dispatch_agent for concurrent sub-tasks, add --enable-agent-tool and supply an API key environment variable together with --agent-model.

5

Restart Claude Desktop and verify connection

Restart Claude Desktop. The server should appear as connected in the MCP section. Ask Claude to list files in an allowed directory to verify.

Claude Code Examples

Client configuration

Claude Desktop config block for mcp-claude-code with a single allowed path and optional agent tool enabled.

{
  "mcpServers": {
    "claude-code": {
      "command": "claudecode",
      "args": [
        "--allow-path", "/Users/me/projects",
        "--enable-agent-tool",
        "--agent-model", "anthropic/claude-3-5-sonnet-20241022"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "sk-ant-..."
      }
    }
  }
}

Prompts to try

Ask your AI assistant to perform real development tasks using the exposed tools.

- "Read src/main.py and summarize its structure."
- "Search for all TODO comments across the project using grep."
- "Edit utils/db.py to replace the deprecated connect() call with the new connect_v2() signature."
- "Run the test suite with `pytest tests/` and show me the output."
- "Create a todo list for the refactoring tasks we discussed, then start the first one."

Troubleshooting Claude Code

claudecode command not found after install

Ensure uv and uvx are on your PATH. Run `which uvx` to verify. Alternatively install directly with `pip install mcp-claude-code` and run `python -m mcp_claude_code` instead.

Permission denied when reading or writing a file

The file's directory must be listed under --allow-path in the server args. Add the required directory to the args array in your Claude Desktop config and restart.

dispatch_agent tool fails with authentication error

Set the correct environment variable for your chosen model: ANTHROPIC_API_KEY for Anthropic models or OPENAI_API_KEY for OpenAI models. Also verify the --agent-model format matches provider/model-id (e.g. 'anthropic/claude-3-5-sonnet-20241022').

Frequently Asked Questions about Claude Code

What is Claude Code?

Claude Code is a Model Context Protocol (MCP) server that mcp server that implements claude code-like functionality, allowing the ai to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Claude Code?

Follow the installation instructions on the Claude Code GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Claude Code?

Claude Code works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Claude Code free to use?

Yes, Claude Code is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Coding Agents MCP Servers

Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-claude-code": { "command": "npx", "args": ["-y", "mcp-claude-code"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Claude Code?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides