claude-bridge-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-bridge-mcpReview the uncommitted changes in the current project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-bridge-mcp
A production-quality Model Context Protocol (MCP) server that lets ChatGPT — or any MCP client — securely delegate coding tasks to a local Claude Code instance.
ChatGPT plans and orchestrates; Claude Code executes inside git-checkpointed, security-guarded project folders; the bridge returns structured results (summary, diff, changed files, test output, usage) so the conversation can continue with full context.
The bridge orchestrates Claude Code — it does not bypass Claude limits, permissions, or billing. When Claude is unavailable, analysis work (reviews) can fail over to other configured providers.
┌────────────────────────────────────────────┐
│ ChatGPT / any MCP client │
│ plans tasks • reads results • iterates │
└─────────────────────┬──────────────────────┘
│ MCP (stdio or Streamable HTTP)
┌─────────────────────▼──────────────────────┐
│ claude-bridge-mcp │
│ ┌──────────┐ ┌─────────┐ ┌─────────────┐ │
│ │ Security │ │ Git │ │ Approvals │ │
│ │ guard │ │workspace│ │ queue │ │
│ └────┬─────┘ └────┬────┘ └──────┬──────┘ │
│ └─────┬──────┴─────────────┘ │
│ ┌──────▼───────┐ ┌───────────────┐ │
│ │ Executor │ │ Dashboard │ │
│ │ router │ │ (localhost) │ │
│ └──────┬───────┘ └───────────────┘ │
└─────────────┼──────────────────────────────┘
┌──────┼──────────┬──────────┐
┌──────▼───┐ ┌▼────────┐ ┌▼───────┐ ┌▼───────┐
│ Claude │ │ OpenAI │ │ Gemini │ │ Ollama │
│ Code CLI │ │ (API) │ │ (API) │ │ (local)│
│ code+rev │ │ fallback│ │fallback│ │fallback│
└──────────┘ └─────────┘ └────────┘ └────────┘Features
delegate_to_claude— run an engineering task with the local Claude Code CLI: validates the project against an allowlist, creates a git checkpoint, executes headless, returns summary + sanitized diff + changed files + exit code + token/cost usage.review_changes— structured code review (quality, bugs, security, performance, architecture) of any diff or of a project's pending changes.run_tests— detects npm/pnpm/yarn/bun/pytest/cargo/go, installs dependencies if needed, runs tests, returns a structured result.status— current project, branch, modified files, latest task, pending approvals, executor health, estimated usage.approve_action/rollback_checkpoint— human approval gate for dangerous operations, and one-call rollback to any pre-task checkpoint.Multi-provider routing — Claude first; OpenAI / Gemini / Ollama as analysis fallbacks when Claude is unavailable or rate-limited.
Security by default — approved-project allowlist, blocked-command policy with single-use approval tokens, secret redaction on every output, no shell-interpolated commands, full audit logging.
Web dashboard — running tasks, logs, token estimates, recent executions, executor health, approval queue with approve/deny buttons.
Related MCP server: cc-agent
Quick start
git clone <this repo> && cd claude-bridge-mcp
npm install && npm run build
cp config.example.yaml config.yaml # then edit approved_projects
npm start # stdio transport by defaultRequirements: Node ≥ 20, git, and the Claude Code CLI installed and authenticated (claude --version must work).
See docs/installation.md for connecting from ChatGPT (Streamable HTTP) and Claude Desktop (stdio).
The tools
Tool | What it does | Dangerous-op gate |
| Execute a coding task via Claude Code | Yes — approval required for rm/sudo/push/deploy/env |
| Structured review of a diff | Read-only |
| Install deps + run project tests | Approved projects only |
| Project/git/task/executor/usage overview | Read-only |
| Human approve/deny for a flagged task | Human-in-the-loop |
| Hard-reset to a pre-task checkpoint | Checkpoint commits only |
Every tool returns a structured JSON envelope: success, reason (on failure), payload fields, and next_steps. Tools never crash the server — errors become structured failures.
Typical flow
ChatGPT calls
delegate_to_claudewith a project path and a task.The bridge validates the path, checks the task against the blocked-operation policy, creates a git checkpoint, and runs Claude Code headless.
The result comes back with a summary, a sanitized diff, and the changed file list.
ChatGPT calls
review_changesandrun_tests, reads the findings, and either iterates (anotherdelegate_to_claude) or asks forrollback_checkpoint.
Documentation
Development
npm test # vitest: unit + integration + security tests
npm run typecheck
npm run buildLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceA local MCP server that lets Claude delegate scoped work to Codex with structured results and guardrails, supporting planning, code review, build, reverse engineering, and long-running background tasks.Last updated11MIT
- AlicenseAqualityBmaintenanceMCP server that spawns autonomous Claude Code agents in GitHub repos, enabling task delegation with persistent state, multi-step workflows, and job monitoring.Last updated473162Apache 2.0
- AlicenseAqualityCmaintenanceMCP server that lets any agent or MCP host delegate tasks to Claude Code running headless, with tools for review, validation, analysis, and autonomous work.Last updated42652MIT
- Flicense-qualityCmaintenanceA local MCP server that connects Claude Code to your work environment through auditable tools for file operations, API calls, and command execution, with safety gates and configuration.Last updated
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/millanrp25-dot/claude-bridge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server