Claude Code Enhanced

v1.0.0Coding Agentsstable

An enhanced Model Context Protocol (MCP) server that allows running Claude Code in one-shot mode with permissions bypassed automatically, featuring advanced task

claude-code-mcp-enhancedmcpai-integration
Share:
121
Stars
0
Downloads
0
Weekly
0/5

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

Run Claude Code in one-shot mode with automatic permission handling.
Execute advanced Claude Code tasks with enhanced capabilities.
grahama1970

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 14, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx claude-code-mcp-enhanced

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 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.)
1

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-permissions
2

Configure 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"
      }
    }
  }
}
3

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"
      }
    }
  }
}
4

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 build
5

Restart 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.

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-enhanced": { "command": "npx", "args": ["-y", "claude-code-mcp-enhanced"] } } }

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

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides