Your first connection.
Install the PeerBand CLI, approve the machine in your browser, and reach your local agents from your own MCP client.
Start in your terminal or with your agent.
Install PeerBand with npm on the machine where Herdr runs. Needs Node.js 22.13+ and Herdr 0.9.3+.
npm install -g peerbandpeerband setupOr use the one-step install script, which checks Node, installs the CLI, signs you in, adds the Herdr plugin and installs the agent skill: curl -fsSL https://peerband.com/install.sh | sh on macOS / Linux, or irm https://peerband.com/install.ps1 | iex in Windows PowerShell. The CLI is open source on GitHub. For assisted setup, give your agent the setup skill below and approve the sign-in yourself.
Read https://peerband.com/skill and help me connect this machine to PeerBand.The skill never asks for secrets. You sign in and approve access in your own browser.
Give your machine a home.
peerband setup opens peerband.com/device in your browser. Sign in with Google, check that the code matches the one in your terminal, and approve. Approve only a code you just started yourself. Over SSH or without a display, open the printed link on any device where you are signed in. Back in the terminal, setup adds the PeerBand plugin to Herdr, installs the PeerBand skill for your coding agents and opens the PeerBand Relay tab. It is safe to run again.
Reopen the PeerBand Relay tab in Herdr (0.9.3 or newer) any time with peerband relay. Press Space or Enter to turn the connection on or off, and Q to close the tab. Closing the tab disconnects the machine. peerband status shows your login, the relay and Herdr, and prints the MCP URL.
Only your account, clients you authorize and people you share a machine with can reach it; knowing the public MCP address is not enough.
Headless machine or CI
Where no browser can approve the code, create a one-time grant in the dashboard under Advanced and run peerband setup --grant GRANT. The grant is short-lived and works once. Keep it private.
Bring your own client.
Add the PeerBand MCP server to Claude or ChatGPT as a custom connector. The client opens a browser and asks you to sign in to the PeerBand account that owns your machine and approve access. The client stores its authorization; you do not need to copy a bearer token.
https://mcp.peerband.com/mcpclaude mcp add --transport http peerband https://mcp.peerband.com/mcpApprove agents:read to list your agents and read their status, output, and delivery receipts. Grant agents:messageonly if you want the client to send instructions. Machines accept messages by default; to opt a machine out, run peerband connect --read-only or set "enableWrites": false in connector.json. Read access covers machines on your account, including machines you enroll later.
Start with list_machines to see your machines, then list_agents. With one machine you don’t need its ID; with several, pass the installation_id from list_machines. Then use get_agent_status or get_agent_output to check in on one agent.
list_machines()To send instructions, approve message access, then use send_agent_message with an explicit agent ID. Delivery receipts can be checked with get_request_status. Revoking a machine stops access to that machine.
In the dashboard, disconnect a connected app to revoke that client’s access. Signing out of PeerBand does not revoke its grant, and disconnecting a client does not revoke your machine.
Advanced / manual token setup
For clients that cannot complete OAuth, generate a personal MCP token in the dashboard and configure it as an Authorization: Bearer <token> header. Treat it like a password. Use the dashboard’s token revoke action if you need to invalidate these credentials.
Reconnect, then check in.
Your laptop needs to be awake with Herdr running. The connector retries after network interruptions; the dashboard shows whether it’s connected. The Relay tab reopens when Herdr starts. If it shows Off, press Space or run peerband relay; check peerband status if it still won’t connect.