# Agent Bridge

> Agent Bridge is an open-source MCP server for developer tools. Browse and reply to your Mac's AI coding sessions from another browser, end-to-end. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Web, macOS, API, CLI, Self-hosted
- **Website:** https://agent-bridge.craftstead.app
- **Repository:** https://github.com/gowinder/agent-bridge
- **MCP Registry name:** io.github.gowinder/agent-bridge
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

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

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

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

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

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

## Alternatives

- [Ganado Bridge](https://ai-powered.com/mcp/ganado-bridge): Ganado Bridge is an open-source MCP server for developer tools.
- [agentcourier](https://ai-powered.com/mcp/agentcourier): agentcourier is an open-source MCP server for developer tools.
- [Actvt](https://ai-powered.com/mcp/actvt): Actvt is a freemium MCP server for developer tools.
- [AgentGo](https://ai-powered.com/mcp/agentgo-2): AgentGo is an open-source MCP server for developer tools.
- [MateMCP](https://ai-powered.com/mcp/matemcp): MateMCP is an MCP server for developer tools.
- [BCD — Bridge Control Delegate](https://ai-powered.com/mcp/bcd-bridge-control-delegate): BCD — Bridge Control Delegate is a freemium MCP server for developer tools.
- [iphone-cli (iph)](https://ai-powered.com/mcp/iphone-cli-iph): iphone-cli (iph) is an open-source MCP server for developer tools.
- [Custom AI View](https://ai-powered.com/mcp/custom-ai-view): Custom AI View is a free MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/agent-bridge
