Claude Code Enhanced
An enhanced Model Context Protocol (MCP) server that allows running Claude Code in one-shot mode with permissions bypassed automatically, featuring advanced task
What is Claude Code Enhanced?
Claude Code Enhanced is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enhanced model context protocol (mcp) server that allows running claude code in one-shot mode with permissions bypassed automatically, featuring advanced task
An enhanced Model Context Protocol (MCP) server that allows running Claude Code in one-shot mode with permissions bypassed automatically, featuring advanced task
This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An enhanced Model Context Protocol (MCP) server that allows
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx claude-code-mcp-enhancedConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Claude Code Enhanced
Claude Code MCP Enhanced is an MCP server that wraps the Claude CLI in one-shot mode with --dangerously-skip-permissions pre-accepted, providing a single claude_code tool that lets orchestrating AI clients delegate complex coding tasks to Claude Code without permission interruptions. It adds a boomerang pattern for breaking work into subtasks, heartbeat mechanisms to prevent timeouts on long operations, automatic retries, health-check endpoints, and hot-reloading of .roomodes configuration. It is best suited for developers building multi-agent pipelines where an outer AI client (Claude Desktop, Cursor, Windsurf) needs to hand off file editing, git operations, or multi-step code changes to an inner Claude Code agent.
Prerequisites
- Node.js v20 or later (use nvm or fnm to manage versions)
- Claude CLI installed globally: npm install -g @anthropic-ai/claude-code
- Claude CLI run once manually with --dangerously-skip-permissions to accept the one-time terms agreement
- An MCP-compatible client (Claude Desktop, Cursor, Windsurf, etc.)
Install the Claude CLI and accept permissions
Install the Claude CLI globally and run it once with --dangerously-skip-permissions. This is a one-time step required before the MCP server can invoke Claude Code non-interactively.
npm install -g @anthropic-ai/claude-code
claude --dangerously-skip-permissionsConfigure MCP client to use the GitHub source (recommended)
The easiest way to use claude-code-mcp-enhanced is via npx pointing at the GitHub repository. This always fetches the latest version.
{
"mcpServers": {
"claude-code-mcp-enhanced": {
"command": "npx",
"args": ["github:grahama1970/claude-code-mcp-enhanced"],
"env": {
"MCP_CLAUDE_DEBUG": "false",
"MCP_HEARTBEAT_INTERVAL_MS": "15000",
"MCP_EXECUTION_TIMEOUT_MS": "1800000"
}
}
}
}Alternative: install from npm
If you prefer a versioned npm install, use the @grahama1970/claude-code-mcp-enhanced package.
{
"mcpServers": {
"claude-code-mcp-enhanced": {
"command": "npx",
"args": ["-y", "@grahama1970/claude-code-mcp-enhanced@latest"],
"env": {
"MCP_CLAUDE_DEBUG": "false",
"MCP_HEARTBEAT_INTERVAL_MS": "15000",
"MCP_EXECUTION_TIMEOUT_MS": "1800000"
}
}
}
}Alternative: run from a local clone
Clone the repository, install dependencies, build, and point the config at the built server file for development or testing.
git clone https://github.com/grahama1970/claude-code-mcp-enhanced.git
cd claude-code-mcp-enhanced
npm install
npm run buildRestart your MCP client and use the claude_code tool
After restarting, the claude_code tool is available. Pass a prompt, and optionally a working directory. For complex workflows use the boomerang pattern to break tasks into named subtasks.
Claude Code Enhanced Examples
Client configuration
Claude Desktop configuration using the npm package with heartbeat and timeout tuning.
{
"mcpServers": {
"claude-code-mcp-enhanced": {
"command": "npx",
"args": ["-y", "@grahama1970/claude-code-mcp-enhanced@latest"],
"env": {
"MCP_CLAUDE_DEBUG": "false",
"MCP_HEARTBEAT_INTERVAL_MS": "15000",
"MCP_EXECUTION_TIMEOUT_MS": "1800000"
}
}
}
}Prompts to try
Example prompts that delegate file editing, git operations, and multi-step tasks to the inner Claude Code agent.
- "Use claude_code to refactor the authentication module in /home/user/myapp/src/auth to use async/await throughout"
- "Ask claude_code to run the test suite in /home/user/myproject, identify failing tests, and fix them"
- "Have claude_code create a new Express.js API endpoint for user profile updates in the existing codebase"
- "Use claude_code to review all TODO comments in the codebase and create a prioritized markdown task list"
- "Ask claude_code to bump all package versions to their latest stable releases and update the lockfile"Troubleshooting Claude Code Enhanced
claude_code tool fails with 'permissions not accepted' error
You must run 'claude --dangerously-skip-permissions' manually once and follow all prompts to accept the terms. macOS may also prompt for folder permissions on the first run; accept them and retry.
Requests time out on long-running tasks
Increase MCP_EXECUTION_TIMEOUT_MS in the env config (default is 1800000ms / 30 minutes). The heartbeat mechanism (MCP_HEARTBEAT_INTERVAL_MS) keeps the connection alive; reduce it to 10000 if your client disconnects frequently.
Server starts but no tools are listed in the client
Check that your client config file path is correct for your editor: Cursor uses ~/.cursor/mcp.json, Windsurf uses ~/.codeium/windsurf/mcp_config.json, and Claude Desktop uses claude_desktop_config.json. Verify the JSON is valid with no trailing commas.
Frequently Asked Questions about Claude Code Enhanced
What is Claude Code Enhanced?
Claude Code Enhanced is a Model Context Protocol (MCP) server that enhanced model context protocol (mcp) server that allows running claude code in one-shot mode with permissions bypassed automatically, featuring advanced task It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Claude Code Enhanced?
Follow the installation instructions on the Claude Code Enhanced GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Claude Code Enhanced?
Claude Code Enhanced works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Claude Code Enhanced free to use?
Yes, Claude Code Enhanced is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Claude Code Enhanced Alternatives — Similar Coding Agents Servers
Looking for alternatives to Claude Code Enhanced? 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 Enhanced 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 Enhanced?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.