Skip to content
MCP server

Agent Bridge

Browse and reply to your Mac's AI coding sessions from another browser, end-to-end

Runs locally

Agent Bridge is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
Web, macOS, API
Runs
Locally
Version
0.1.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add agent-bridge -- npx -y @craftstead/agent-bridge-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "agent-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@craftstead/agent-bridge-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agent-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@craftstead/agent-bridge-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agent-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@craftstead/agent-bridge-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "agent-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@craftstead/agent-bridge-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add agent-bridge -- npx -y @craftstead/agent-bridge-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.agent-bridge]
command = "npx"
args = ["-y", "@craftstead/agent-bridge-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agent-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "@craftstead/agent-bridge-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "agent-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "@craftstead/agent-bridge-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user agent-bridge npx -- -y @craftstead/agent-bridge-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "agent-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "@craftstead/agent-bridge-mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "agent-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "@craftstead/agent-bridge-mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "agent-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "@craftstead/agent-bridge-mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "agent-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "@craftstead/agent-bridge-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "agent-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "@craftstead/agent-bridge-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "agent-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "@craftstead/agent-bridge-mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "agent-bridge": {
          "command": "npx",
          "args": [
            "-y",
            "@craftstead/agent-bridge-mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Agent Bridge

Agent Bridge runs a small daemon and menu bar app on a Mac so you can open the coding-agent sessions already running there from a phone or another browser. It reads transcripts, sends replies, answers approval prompts and can start new Claude Code sessions that the Mac hosts itself.

The Mac connects outward to a Cloudflare relay rather than listening on an inbound port, so no tunnel or firewall change is needed. Traffic between the browser and the Mac is encrypted with Noise, and the relay only handles ciphertext and routing data. Devices pair with a single-use invite and a six-digit code check.

It suits developers who start long agent tasks at a desk and want to follow or steer them from elsewhere. Access is limited to directories the Mac owner allowlists, and file browsing and shell access are separate switches that stay off by default.

What it does

Cross-device session access
Lists sessions from several desktop and CLI agents on the Mac and lets a browser read them.
End-to-end encryption
Noise handshakes protect traffic so the relay never sees message contents.
No inbound ports
The Mac makes an outbound WebSocket connection, so no port forwarding or tunnel is required.
Hosted Claude Code sessions
Starts new Claude Code processes on the Mac with permission prompts shown as Allow or Deny buttons in the chat.
Device pairing and revocation
Pairs devices with one-time invites and a six-digit confirmation, and revokes them locally.
Opt-in remote devtools
Read-only project file browsing and single-command shell execution, each off by default with a time limit.

Good for

  • Check on a long-running coding agent from a phone while away from the desk
  • Reply to an agent session on the Mac from another machine
  • Approve tool-permission prompts for a hosted Claude Code session remotely
  • Drive Mac-hosted pi or Claude Code sessions from an MCP-capable agent on another machine

Pricing

Open source

MIT-licensed and free to use.

Prices change. Check agent-bridge.craftstead.app before you buy.

Agent Bridge FAQ

Does the relay see my messages?

No. Messages are end-to-end encrypted with Noise, and the relay only forwards ciphertext and routing metadata.

Do I need to open a port on my Mac?

No. The Mac opens an outbound WebSocket to the relay and no listener, tunnel or firewall rule is needed.

Which operating systems are supported?

The menu bar app requires macOS 13 or newer and ships as a universal build for Apple Silicon and Intel.

Is Agent Bridge free?

Yes. Agent Bridge is open source, so you can use and self-host it for free.

How do I add Agent Bridge to Claude Code?

Run this command in your terminal: claude mcp add agent-bridge -- npx -y @craftstead/agent-bridge-mcp

What are the best alternatives to Agent Bridge?

The closest alternatives to Agent Bridge are Ganado Bridge, agentcourier, Actvt, AgentGo and MateMCP.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers