AgentBridge
Allows AI agents to work on a macOS machine, including reading and writing files in a jailed workspace, executing approved commands such as Xcode builds, and requiring human approval for risky operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AgentBridge
Let your Instinct, Meta Muse, or Cursor cloud agent run Terminal commands and use local files on your Mac - safely. Works with any cloud AI agent that can make HTTPS requests; anything risky waits for your yes.
Quick Start · Two Modes · Security · Docs
What your agent can do on your Mac: run Terminal commands and scripts, read and write local files and folders, even build and run apps in the iOS simulator. Anything risky - deleting files, changing settings, reaching outside your chosen folder - stops and waits for your yes at your own keyboard.
Quick start
One command sets everything up. No Homebrew, no npm, no account - about a minute.
Open Terminal - press Command+Space, type
Terminal, press Return.Paste the command for the version you want (tip: use the copy button at the top-right of the code box), press Return:
SAFE (recommended - everyday work runs freely, anything risky waits for your yes):
curl -fsSL https://github.com/ndpvt-web/agent-bridge/releases/latest/download/install.sh | bashFULL (the agent can do anything, as you - only if you trust it completely):
curl -fsSL https://github.com/ndpvt-web/agent-bridge/releases/latest/download/install.sh | bash -s -- --mode fullDone when you see AGENTBRIDGE INSTALLED. If your shell later says
command not found, runexport PATH="$HOME/.local/bin:$PATH"once and try again.Connect your agent - run
agent-bridge pair. It prints a tunnel URL (a temporary, encrypted address your agent uses to reach your Mac) and a one-time pairing code. Paste both into your agent's chat:Use my AgentBridge to work on my Mac. Tunnel: https://your-words-here.trycloudflare.com Pairing code: 123456 Self-heal link: https://webhook.site/token/your-id/requests?sorting=newest Protocol: https://github.com/ndpvt-web/agent-bridge/blob/main/docs/protocol.mdThe agent connects itself. Approvals always happen on your Mac. If the tunnel ever restarts and gets a new address, the new one shows up at the self-heal link automatically - the agent checks it and reconnects, you never paste again. (The link is a free webhook.site inbox, no account; it carries only the tunnel address, never keys or data.)
Related MCP server: Hands
You approve what matters
Risky actions wait for your decision at the keyboard - nothing else can approve for you:
Two modes
Mode | What the agent can do |
SAFE (default) | Work inside one folder you choose; anything risky waits for your approval. |
FULL | Anything, as you. No jail, no approvals. |
Switch anytime - changing to FULL warns, asks you to confirm, and logs the switch:
agent-bridge mode full
agent-bridge mode safeHow it works
sequenceDiagram
participant A as Your agent (cloud)
participant M as AgentBridge (your Mac)
A->>M: 1. Pair with the one-time code
A->>M: 2. Signed request (Ed25519)
M->>M: 3. Checked against your rules, risky ones wait for you
M-->>A: 4. Approved copy runs once, loggedEveryday commands
agent-bridge status # running? which mode? who is connected
agent-bridge pending # requests waiting for your decision
agent-bridge approve <id> # say yes (shows exactly what runs, first)
agent-bridge deny <id> # say no
agent-bridge agents # who is connected
agent-bridge revoke <name> # cut an agent off
agent-bridge audit # tamper-evident log of everything
agent-bridge trash # browse and restore deleted files
~/agent-bridge/uninstall.sh # remove the bridge (keeps your files)How it stays safe
Every request is Ed25519-signed by a paired agent and checked against a strict allowlist and a filesystem jail. When you approve something, named files are frozen into a private copy and the run executes the copies - the approval works once, expires in 120 seconds, and everything lands in a tamper-evident log. Install downloads are version-pinned and SHA-256-verified. Details: threat model.
Limitations and roadmap
macOS only for now · native mcp.json adapter not built yet (MCP-style JSON-RPC already works) · self-heal link needs the free webhook.site service to be reachable.
Docs
Security policy · Threat model · Protocol for agent developers
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceOpen-source, local macOS MCP server for AI agents. Automate background Safari/Chrome tabs, native apps, files and shell with scoped permissions, optional approvals and delegated coding agents.96MIT
- AlicenseAqualityDmaintenanceA macOS computer-use MCP server that grants AI agents mouse, keyboard, and screen control with a robust security model including permission profiles, app deny-lists, and audit logging.22MIT
- FlicenseNot gradedqualityDmaintenanceTurns a Mac into an MCP host exposing terminal, filesystem, browser automation, and macOS controls to approved AI clients via OpenAI's Secure MCP Tunnel.-
- AlicenseAqualityBmaintenanceEnables an AI agent to safely observe and operate a Mac, starting read-only with optional read-write and admin tools for files, processes, apps, shell, AppleScript, and GUI control behind explicit permissions and human approval.839 npmMIT