Claude Code Server

v1.10.12Coding Agentsstable

A server that allows LLMs to run Claude Code with all permissions bypassed automatically, enabling code execution and file editing without permission interruptions.

agentclaudemcpmodel-context-protocolai
Share:
1,284
Stars
0
Downloads
0
Weekly
0/5

What is Claude Code Server?

Claude Code Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to server that allows llms to run claude code with all permissions bypassed automatically, enabling code execution and file editing without permission interruptions.

A server that allows LLMs to run Claude Code with all permissions bypassed automatically, enabling code execution and file editing without permission interruptions.

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

Features

  • A server that allows LLMs to run Claude Code with all permis

Use Cases

Enable LLMs to run Claude Code without permission interruptions.
Execute code and edit files with all permissions bypassed.
Automate code generation and manipulation tasks.
steipete

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.10.12
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @steipete/claude-code-mcp

Manual Installation

npx -y @steipete/claude-code-mcp

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 Server

The Claude Code MCP Server (@steipete/claude-code-mcp) wraps the Claude Code CLI as an MCP tool, letting any MCP-compatible AI client delegate complex coding tasks — file edits, terminal commands, multi-step git workflows — to a full Claude Code subprocess. It bypasses the interactive permission prompts that normally interrupt automated pipelines, making it ideal for agentic workflows where one LLM orchestrates another to complete programming tasks without human approval gates. The server exposes a single powerful tool called `claude_code` that accepts a natural-language prompt, an optional working directory, and session-continuity options so that conversations with Claude Code can be resumed across calls.

Prerequisites

  • Node.js 18 or later (for npx)
  • Claude Code CLI installed and authenticated: `npm install -g @anthropic-ai/claude-code` and `claude login`
  • An Anthropic account with Claude Code access
  • An MCP-compatible client such as Claude Desktop, Cursor, or another MCP host
1

Install Claude Code CLI

The MCP server is a thin wrapper around the Claude Code CLI binary. Install it globally so the server can locate it at runtime.

npm install -g @anthropic-ai/claude-code
2

Authenticate Claude Code

Run the login command once to store your Anthropic credentials. The MCP server inherits this authentication at runtime.

claude login
3

Add the MCP server to your client

Use npx to run the latest version without a separate install step. Add the following block to your MCP client config file (e.g. claude_desktop_config.json).

{
  "mcpServers": {
    "claude-code-mcp": {
      "command": "npx",
      "args": ["-y", "@steipete/claude-code-mcp@latest"]
    }
  }
}
4

Optional: configure environment variables

Set environment variables to customise timeout, logging, or the CLI path. MCP_CLAUDE_DEBUG enables verbose logs; CLAUDE_CLI_TIMEOUT_SECONDS adjusts the maximum execution time (default 3600 s).

{
  "mcpServers": {
    "claude-code-mcp": {
      "command": "npx",
      "args": ["-y", "@steipete/claude-code-mcp@latest"],
      "env": {
        "MCP_CLAUDE_DEBUG": "false",
        "CLAUDE_CLI_TIMEOUT_SECONDS": "3600",
        "CLAUDE_CLI_PATH": "/usr/local/bin/claude"
      }
    }
  }
}
5

Restart your MCP client and verify the tool appears

After saving the config, restart Claude Desktop (or your chosen client). The `claude_code` tool should appear in the tool list. Test it with a simple prompt such as listing files in a directory.

Claude Code Server Examples

Client configuration

Minimal claude_desktop_config.json that runs the server via npx with debug logging enabled.

{
  "mcpServers": {
    "claude-code-mcp": {
      "command": "npx",
      "args": ["-y", "@steipete/claude-code-mcp@latest"],
      "env": {
        "MCP_CLAUDE_DEBUG": "false",
        "CLAUDE_CLI_TIMEOUT_SECONDS": "3600"
      }
    }
  }
}

Prompts to try

Use the claude_code tool by telling Claude what you want done in the target project folder.

- "Refactor the function fetchUser in src/api.ts to use async/await instead of Promise chains. Work folder: /projects/myapp"
- "Stage all changed files in /projects/myapp, commit with message 'feat: add caching layer', and push to the current branch"
- "Run npm test in /projects/myapp and summarise any failing test cases"
- "Update the version field in package.json to 2.1.0, update CHANGELOG.md with release notes, commit, and tag v2.1.0"

Troubleshooting Claude Code Server

Error: 'claude' command not found at runtime

Set the CLAUDE_CLI_PATH environment variable in the MCP server config to the absolute path of the Claude CLI binary (e.g. /usr/local/bin/claude). Run `which claude` in a terminal to find it.

Requests time out on long-running tasks

Increase CLAUDE_CLI_TIMEOUT_SECONDS in the env block of your MCP config. The default is 3600 seconds; set it higher for large refactoring or build tasks.

Permission denied errors even with bypassPermissions mode

Ensure the Claude Code CLI is authenticated (`claude login`) and that the account has the necessary plan permissions. The MCP server bypasses MCP-level prompts but cannot override Anthropic account or OS file-system permissions.

Frequently Asked Questions about Claude Code Server

What is Claude Code Server?

Claude Code Server is a Model Context Protocol (MCP) server that server that allows llms to run claude code with all permissions bypassed automatically, enabling code execution and file editing without permission interruptions. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Claude Code Server?

Install via npm with the command: npx -y @steipete/claude-code-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Claude Code Server?

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

Is Claude Code Server free to use?

Yes, Claude Code Server 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": { "claude-code-mcp-server": { "command": "npx", "args": ["-y", "@steipete/claude-code-mcp"] } } }

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

Read the full setup guide →

Ready to use Claude Code Server?

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