cursor-bridge
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., "@cursor-bridgeRun a prosecutor/advocate review on my latest changes."
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.
cursor-bridge
π·πΊ Π ΡΡΡΠΊΠ°Ρ Π²Π΅ΡΡΠΈΡ
If you pay for both Claude Code and Cursor, you've probably noticed an awkward thing: Claude does all the work while your Cursor subscription mostly sits there, quietly renewing itself every month.
cursor-bridge fixes that. It's an MCP server that hands Cursor's headless cursor-agent to Claude Code as a second AI workforce β one that Claude can delegate to, argue with, and use as an independent fact-checker. Not a toy integration: every job runs under watchdog timers, git safety gates, and local telemetry, because the whole point is to trust the results.
The idea in one story
Say Claude just reviewed your code and found fifteen suspicious spots. Now what? You could read all fifteen yourself β that's an evening gone. You could trust them blindly β and about a quarter of AI review findings turn out to be wrong, so now you're "fixing" code that was fine.
Or you could do what this project does: hand the findings to a different model family and let two adversarial roles fight over each one. A prosecutor tries to prove each bug is real by tracing the code path to the failure. An advocate tries to prove it's a false alarm by finding the guard clause, the lock, the documented design decision the reviewer missed. When they agree β with code citations the server literally verifies against your files β the case closes automatically. When they disagree, it lands on your desk. You end up reading three contested findings instead of fifteen.
That's the philosophy running through the whole project: automate the labor of verification, never the right to a final verdict.
Related MCP server: claude-cursor-mcp
What's inside
One server, thirteen tools, three mechanisms. Think of it as a toolbox with three drawers.
Drawer one: delegation
The bread and butter. cursor_run starts an async Composer job in any repo β bulk edits, codemods, boilerplate, test scaffolds, the mechanical stuff that eats your day. cursor_ask is for quick questions, cursor_reply continues a conversation with the same agent. Jobs run up to three in parallel, and you can pick a different model per call.
Write access is taken seriously: an editing job either requires a clean git tree or gets its own isolated git worktree. If it goes sideways, your work doesn't.
Drawer two: the detectives
cursor_review runs an adversarial review of any artifact β a spec, a plan, a diff, a module. The trick that makes it work: a review is never a single reviewer. Two or three parallel reviewers with deliberately different temperaments read the same thing without seeing each other. For documents that's broad (external risks and blind spots), strict (internal rigor, the cold examiner), and hygiene (tests that would pass on broken code). For source code it's correctness, security, and tests β always all three.
Different temperaments genuinely find different things; the overlap report shows you where they agree, which is usually where the fire is.
Drawer three: the investigators
cursor_refute is the newest mechanism, the one from the story above. You feed it a pack of findings β up to twelve for one area of code β and the prosecutor/advocate pair goes to work. The server then applies a deliberately asymmetric rule:
Auto-confirm only when both roles say "real" with verified citations.
Auto-close as refuted only when both say "false alarm" with verified citations β and even then the record is kept forever, never deleted. A refuted finding is also a result.
Everything else escalates to you: disagreements, uncertainty, a citation that didn't check out, a role that died or got lazy.
"Verified citation" means exactly that. The quoted code must actually exist in the cited file, within twenty lines of the cited line, must be substantive (a //////// fence proves nothing), must come from a git-tracked file, and must be accompanied by actual reasoning. The server also pins your working tree between start and finish β if HEAD moved or the tree got dirty, all auto-verdicts are off, because a verdict about code that changed underneath it is worth nothing.
Getting started
You'll need three things:
Node.js 26+ β the server runs TypeScript natively, there's no build step at all;
the cursor-agent CLI, installed and signed in (
cursor-agent login), with an active Cursor subscription;Claude Code β or any other MCP client that can talk to stdio servers.
Then it's one command β npx fetches the server straight from GitHub, dependencies and all:
claude mcp add --scope user cursor-bridge -- npx -y github:toxmost/cursor-bridgeThat's the whole install. --scope user makes the tools available in every project.
Prefer a local checkout (say, for hacking on it)? Clone and point Claude at it:
git clone https://github.com/toxmost/cursor-bridge.git && cd cursor-bridge && npm ci --omit=dev
claude mcp add --scope user cursor-bridge -- node "$PWD/src/server.ts"Optional but recommended β the cursor-delegate skill, a playbook that teaches Claude when to reach for which drawer so you don't have to remember tool names. It's a single file:
mkdir -p ~/.claude/skills/cursor-delegate
curl -fsSL https://raw.githubusercontent.com/toxmost/cursor-bridge/main/skills/cursor-delegate.SKILL.md \
-o ~/.claude/skills/cursor-delegate/SKILL.mdTo uninstall: claude mcp remove --scope user cursor-bridge and delete the skill folder.
One thing to remember: already-running Claude Code sessions keep their old toolset. Open a fresh session after installing.
Day-to-day use
You mostly just talk to Claude:
"Delegate to Composer: add JSDoc to every exported function in src/."
"Get me a second opinion on docs/design.md before I build this."
"Here are five bug findings from the review β re-check them against the code."
The skill routes each request to the right mechanism. If you prefer calling tools directly, here's what a verification pack looks like:
// cursor_refute
{
"findings": [{
"id": "B-001",
"title": "bonus spent but order update can fail",
"file": "src/pay.ts", "line": 42, "severity": "S1",
"claim": "spendBonus succeeds, then updateOrders throws β money gone, no discount recorded"
}],
"cwd": "/abs/path/to/repo",
"context": "payments module; pinned read-only worktree",
"domain": "orchestration" // lets you track false-refute rates per domain later
}Poll cursor_refute_result (it supports long-polling via wait_sec) and you get both roles' verdicts per finding, the consensus, and counters for auto-confirmed / auto-refuted / escalated.
Why you can trust it with real work
A few hard-won design decisions, each of them paid for by an actual incident during development:
Three separate watchdog budgets per job β a hard timeout, a "first token" grace period (a model thinking for five minutes before answering is normal for heavy reviews, not a hang), and an inter-token stall detector. The known
cursor-agent -phang-forever bug is contained by design rather than hoped away.Read-only means read-only. Reviews and verification run in ask mode; they physically cannot modify your files.
Every result carries a
verify_notereminding whoever reads it β human or AI β that subagent output is an unverified claim until checked. This sounds preachy until the first time an agent folds a wrong finding into a spec.Everything stays local. Job journals and telemetry live in
jobs/andlogs/inside the repo, both gitignored. Nothing leaves your machine except whatcursor-agentitself sends to Cursor's API.One honest caveat: prompts are visible in local
psoutput, so don't put secrets in briefs.
Project layout
src/ the server: job manager, watchdogs, git safety, review & refute engines, telemetry
skills/ the cursor-delegate skill for Claude Code
tools/audit/ standalone helpers for mapping large repos before a systematic code audit
test/ 285 tests (node:test), including an end-to-end harness with a fake agentDevelopment is refreshingly boring: npm ci, then npm test. No build, no bundler, no config.
License
MIT. Use it, fork it, break it, tell us what you found.
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
- AlicenseAqualityAmaintenanceEnables AI assistants to delegate specific tasks to specialized sub-agents (e.g., test-writer, code-reviewer). Supports both Cursor and Claude Code with custom agent definitions.178294MIT
- Alicense-qualityDmaintenanceEnables Claude.ai to interact with the Cursor editor to read files, write code, get selections, and more.151MIT
- Alicense-qualityCmaintenanceEnables Claude to launch and manage Cursor Cloud Agents on GitHub repos, including polling status, sending follow-ups, and reading conversations/PRs.8MIT
- AlicenseAqualityCmaintenanceEnables Claude to delegate tasks to external coding agents (Codex or Antigravity) for independent reviews, separate quota usage, and async processing.6MIT
Related MCP Connectors
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Coding agents from Claude Code, Cursor and Codex claim jobs and lock files on one shared board.
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
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/toxmost/cursor-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server