Claude Code Server
A server that allows LLMs to run Claude Code with all permissions bypassed automatically, enabling code execution and file editing without permission interruptions.
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
Maintainer
Works with
Installation
NPM
npx -y @steipete/claude-code-mcpManual Installation
npx -y @steipete/claude-code-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-codeAuthenticate Claude Code
Run the login command once to store your Anthropic credentials. The MCP server inherits this authentication at runtime.
claude loginAdd 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"]
}
}
}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"
}
}
}
}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.
Claude Code Server Alternatives — Similar Coding Agents Servers
Looking for alternatives to Claude Code Server? Here are other popular coding agents servers you can use with Claude, Cursor, and VS Code.
Dify
★ 142.2kProduction-ready platform for agentic workflow development.
Ruflo
★ 54.0k🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, self-learning swarm intelligence, RAG integrat
Goose
★ 45.7kan open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Antigravity Awesome Skills
★ 38.3kInstallable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.
AgentScope
★ 25.5kBuild and run agents you can see, understand and trust.
Serena
★ 24.5kA coding agent toolkit that provides IDE-like semantic code retrieval and editing tools, enabling LLMs to efficiently navigate and modify codebases using symbol-level operations instead of basic file reading and string replacements.
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.
Set Up Claude Code Server in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.