JaimeJunr

claude-mcp-bridge

Community JaimeJunr
Updated

Let any AI agent (Cursor, Codex, Gemini/Antigravity) delegate to Claude Code via MCP: adversarial code review, validation & fully autonomous coding tasks — with model + effort control and session follow-up.

claude-mcp-bridge

MCP server that lets any agent or MCP host (Cursor, Codex, Antigravity, another Claude Code,your own app) delegate to Claude Code running headless (claude -p). Claude is the strongestmodel here, so the tool surface is deliberately narrow — reasoning, review and autonomous work.Cheap mechanical work (mapping a repo, scanning files) is intentionally left out: it would burnexpensive tokens, and Claude already explores natively (Explore subagent + LSP/Grep/Glob) insidedelegate. For cheap exploration use a lighter bridge (e.g. cursor-mcp-bridge).

Mirrors the ergonomics of agy-bridge / codex: every tool takes an optional model andeffort, returns a session_id, and supports follow_up to continue without resending context.

Tools

Tool Purpose
delegate Full autonomous task — Claude runs its own loop with tool access in cwd.
adversarial_review Strict review of a diff/plan/files: bugs, security, edge cases. Read-only.
follow_up Continue a prior session by session_id.

Every tool accepts: cwd (project root), model (e.g. opus, sonnet, haiku), effort(low | medium | high).

Requirements

  • Node ≥ 18
  • claude CLI installed and authenticated (claude once to log in).

Install

git clone https://github.com/JaimeJunr/claude-mcp-bridge.git
cd claude-mcp-bridge
npm install
npm run build

Register in an MCP host

Claude Code:

claude mcp add claude-bridge -s user -- node /abs/path/to/claude-mcp-bridge/dist/index.js

Cursor / Codex / any host — add to its mcp.json:

{
  "mcpServers": {
    "claude-bridge": {
      "command": "node",
      "args": ["/abs/path/to/claude-mcp-bridge/dist/index.js"]
    }
  }
}

Configuration (env)

Var Default Meaning
CLAUDE_BIN claude Path to the claude binary.
CLAUDE_BRIDGE_PERMISSION acceptEdits Permission mode: plan | default | acceptEdits | bypassPermissions.
CLAUDE_BRIDGE_TIMEOUT_MS 600000 Per-call timeout.

Security: acceptEdits lets delegated Claude edit files autonomously; bypassPermissionsadditionally allows unrestricted shell. Only raise this for trusted workspaces. The review /analyze / search tools instruct Claude to stay read-only regardless.

Develop

npm test       # vitest — unit tests for arg building / json parsing
npm run dev    # run from source via tsx

License

MIT

MCP Server · Populars

MCP Server · New

    n24q02m

    Better Code Review Graph

    Knowledge graph for token-efficient code reviews -- semantic search and call-graph resolution across your codebase.

    Community n24q02m
    Noveum

    Orbit

    Free, open source, realtime task manager. Issues, boards, sprints, projects and docs that sync instantly. Keyboard-first, self-hostable, with an MCP server for AI agents. No pricing, ever.

    Community Noveum
    feder-cr

    aihawk

    Anti detect browser and web browsing agent: an open-source MCP server for undetected browsing, AI web scraping and computer use agents. No captchas.

    Community feder-cr
    LeandroPG19

    MemoryIndustry

    Persistent memory MCP server for AI agents — Rust, 19 tools, knowledge graph, Hebbian learning, episodic memory, contradiction detection, prospective triggers, Bayesian calibration, zero-config Docker setup.

    Community LeandroPG19
    btsouth

    Toolport

    Local-first MCP gateway. One port for every tool and every AI client: lazy discovery (~90% token savings), tool integrity + quarantine, secrets in the OS keychain.

    Community btsouth