Claude Desktop MCP To Claude Agent MCP Server

MCP Server that bridges Claude Desktop with Claude Code

Local serverstdioPython

What is the Claude Desktop MCP To Claude Agent MCP Server?

MCP Server that bridges Claude Desktop with Claude Code

What you get

Add to your Claude Desktop MCP settings (~/Library/Application Support/Claude/claude_desktop_config.json on Mac):

Setting it up

Installation goes through your MCP client rather than a global install: point it at @anthropic-ai/claude-code on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What the assistant can call

Once Claude Desktop MCP To Claude Agent is connected, these are the calls the assistant has available:

  • claude_code_task — Execute coding tasks via Claude Code
  • create_project — Create new project directories
  • list_files — List files in projects
  • read_file — Read file contents
  • run_command — Execute shell commands

Configuration and credentials

You will need one environment variable: ANTHROPIC_API_KEY. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Claude Desktop MCP To Claude Agent's toolset — claude_code_task, create_project, list_files and 2 more — is a fair guide to whether it matches your workflow. It is maintained by SobieskiCodes; worth a glance at recent repository activity before you build anything load-bearing on it.

Recorded tools

  • claude_code_task — Execute coding tasks via Claude Code
  • create_project — Create new project directories
  • list_files — List files in projects
  • read_file — Read file contents
  • run_command — Execute shell commands

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
claude_code_taskExecute coding tasks via Claude Code
create_projectCreate new project directories
list_filesList files in projects
read_fileRead file contents
run_commandExecute shell commands

How to install the Claude Desktop MCP To Claude Agent MCP Server

{
  "mcpServers": {
    "claude-code-bridge": {
      "command": "node",
      "args": [
        "/path/to/your/mcp-claude-bridge/server.js"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
ANTHROPIC_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Claude Desktop MCP To Claude Agent to claude code task.”
  • “Use Claude Desktop MCP To Claude Agent to create project.”
  • “Use Claude Desktop MCP To Claude Agent to list files.”

Frequently asked questions

MCP Server that bridges Claude Desktop with Claude Code Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.