MCP-Claude Code Bridge
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-Claude Code BridgeCreate a simple Express API that returns random quotes from a JSON file"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP-Claude Code Bridge Setup
1. Prerequisites
Docker and Docker Compose installed
Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code)Anthropic API key
Related MCP server: Back-Agent MCP Server
2. Setup Steps
Create project directory:
mkdir mcp-claude-bridge
cd mcp-claude-bridgeCreate the files:
Save all the provided artifacts as files in your project directory:
Dockerfilepackage.jsonserver.jsdocker-compose.yml
Set environment variable:
export ANTHROPIC_API_KEY=your_api_key_hereBuild and run:
docker-compose up --build3. Configure Claude Desktop
Add to your Claude Desktop MCP settings (~/Library/Application Support/Claude/claude_desktop_config.json on Mac):
{
"mcpServers": {
"claude-code-bridge": {
"command": "node",
"args": ["/path/to/your/mcp-claude-bridge/server.js"],
"env": {
"ANTHROPIC_API_KEY": "your_api_key_here"
}
}
}
}4. Test with Cat Facts App
Once connected, tell Claude Desktop:
"Create a simple cat facts app using the claude_code_task tool. The app should fetch facts from catfacts.ninja and display them in a simple web interface."
5. Available Tools
The bridge provides these tools:
claude_code_task: Execute coding tasks via Claude Codecreate_project: Create new project directorieslist_files: List files in projectsread_file: Read file contentsrun_command: Execute shell commands
Example Usage
In Claude Desktop, you can now say:
"Create a new React app that fetches cat facts"
"Build a simple API server in Express"
"Debug this Python script for me"
The MCP server will delegate complex tasks to Claude Code while keeping everything in the Desktop interface!
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAquality-maintenanceBridges Claude Desktop, Claude Code CLI, and Claude Code for VS Code, enabling developers to plan in Desktop, save specs to project directories, and invoke Claude Code CLI with seamless state sharing across interfaces.4
- AlicenseBqualityDmaintenanceExecutes development tasks by bridging Claude Desktop with Claude Code CLI, enabling automated code generation and task completion in specified working directories.82MIT
- Alicense-qualityDmaintenanceConnects Claude Desktop and Claude Code, enabling autonomous exchange of messages, files, and code while keeping their context windows separate.4MIT
- Flicense-qualityDmaintenanceBridges Claude Desktop with a local RAG-powered code agent API, enabling context-aware codebase queries and conversation continuity.
Related MCP Connectors
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Trade Robinhood through natural language in Claude Code.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SobieskiCodes/claude-desktop-mcp-to-claude-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server