IAF Agent Bridge logo

IAF Agent Bridge

Delegates MCP tasks to Cursor Agent, preserves sessions, and provides cancellation and environment diagnostics.

Install IAF Agent Bridge

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "iaf-agent-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "iaf-agent-bridge"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y iaf-agent-bridge

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

IAF Agent Bridge MCP server lets Codex, Claude Code, or another stdio MCP host send work to Cursor Agent over ACP. It returns a session ID so the supervisor can continue the same Cursor conversation, while Cursor performs repository edits and command execution. Use it when an MCP host should supervise a local Cursor Agent session rather than implement the work itself. The bridge requires Node.js 20 or newer, an installed Cursor CLI, and completed Cursor authentication.

Use cases

  • Delegate repository implementation work to Cursor Agent
  • Resume a multi-turn Cursor coding session
  • Cancel an in-progress Cursor turn
  • Check local Cursor CLI and authentication readiness

Key features

  • Cursor Agent delegation over ACP
  • Session continuation with session IDs
  • In-flight turn cancellation
  • Node, CLI, and authentication diagnostics
  • Permission safeguards for destructive operations

Tools3

What IAF Agent Bridge lets your agent do. Expand a tool for its parameters.

Verified live~793 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 47d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Runs commands · 1Can delete or modify data · 2Handles credentials · 1Makes network requests · 1Read-only tools · 1
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age18 days
Maintainers1

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · iaf-agent-bridge (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads289Package downloads in the last 30 days.
Last commit17d agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed3Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How IAF Agent Bridge works

What IAF Agent Bridge MCP server does

IAF Agent Bridge MCP server connects an MCP supervisor to the local Cursor Agent CLI. The supervisor may be Codex, Claude Code, or another stdio-compatible MCP host. Cursor Agent is the executor: it receives the prompt, works in the selected repository, and returns its response through the bridge.

The bridge is designed for work that may require several turns. An initial delegate call returns a session ID, and later calls can provide that ID to continue the same Cursor conversation. This lets a supervisor decide whether to continue, mark the task complete, or report a genuine blocker.

How it works

Communication uses two local stdio links. The MCP host talks to IAF Agent Bridge over MCP, while the bridge talks to Cursor Agent over ACP. A delegate call does not return merely because Cursor has produced a progress message; it waits for the Cursor turn to finish, including internal tools, sub-agents, or follow-up work.

The bridge passes the prompt, session information, and Cursor's result between the two processes. It does not replace the supervisor's decision-making loop. If requested work remains, the supervisor can call delegate again with the returned session ID and a prompt describing what is still missing.

Setup and configuration

Run the bridge with Node.js 20 or later. Install the Cursor CLI as agent, make sure it is available on PATH, and complete authentication with agent login. The published package can be started through npx -y iaf-agent-bridge@1.1.0. A source checkout can instead be built with npm run build and started with node dist/cli.js.

Before connecting an MCP host, run node dist/cli.js doctor from a source checkout, or use the equivalent installed command. The diagnostic checks Node.js, the bridge, the Cursor executable, and authentication. It reports whether authentication is present without printing the account.

The server uses the repository and workspace available to Cursor Agent. No OpenAI API key is needed for the local stdio server. A separate Private mode can be configured for ChatGPT through a Secure MCP Tunnel and restricted runtime key, but that mode requires additional workspace support for MCP write tools and is not hosted by IAF.

Tools and capabilities

IAF Agent Bridge MCP server exposes three tools:

  • delegate sends a prompt to Cursor Agent. Include sessionId to resume an existing Cursor conversation.
  • cancel stops an in-progress turn. The associated session remains available for later continuation.
  • doctor checks the local runtime, bridge, Cursor CLI, and authentication state.

The bridge can be used for ordinary development without approving every individual Cursor tool call. It also supports repositories with a Master Prompt when the expected project files are present; repositories without one continue to work normally.

Limitations and notes

Cursor Agent is the only production executor. Codex and Claude Code act as supervisors, not as the implementation engine. Do not configure the bridge inside Cursor for a repository that Cursor is already editing; the resulting Cursor-to-Cursor delegation loop is refused.

Cursor may edit the named workspace and run commands there. Default protections reject force-pushes, history rewrites, destructive SQL, deletes outside the project, and secret staging. Setting IAF_PERMISSION_MODE=allow-all explicitly changes that behavior, so workspace access and security documentation should be reviewed before use.

The bridge is local and communicates with the local Cursor CLI. The standard OpenAI plugin directory is therefore not applicable, because it reviews hosted HTTPS MCP endpoints.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about IAF Agent Bridge

IAF Agent Bridge is an MCP server that connects Codex, Claude Code, or another stdio MCP host to the local Cursor Agent CLI. Its main tools are delegate for sending and continuing work, cancel for stopping a turn, and doctor for checking Node, the bridge, Cursor CLI, and authentication.

Install it by pointing your MCP host to `npx -y iaf-agent-bridge@1.1.0`. You can also clone the repository, run `npm install` and `npm run build`, then start `node dist/cli.js`. Node.js 20 or newer and the Cursor CLI are required.

Pass the `sessionId` returned by the first `delegate` call to the next `delegate` call. Include a prompt that explains what remains unfinished. The bridge then sends the follow-up to the same Cursor conversation.

Yes, it sends work to the local Cursor Agent CLI, but it should not be installed in Cursor's MCP configuration for a repository that Cursor is already editing. That Cursor-to-Cursor delegation loop is refused.

Run the `doctor` command to check Node.js, the bridge, the Cursor executable, and authentication. If Cursor is missing, install its CLI and open a new shell; if authentication is missing, run `agent login`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewIAF Agent Bridge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/iaf-agent-bridge?style=directory)](https://allmcps.com/mcp/iaf-agent-bridge)
HTML Embed
<a href="https://allmcps.com/mcp/iaf-agent-bridge"><img src="https://allmcps.com/api/badge/iaf-agent-bridge?style=directory" alt="IAF Agent Bridge on AllMCPs" /></a>