← Back to PeerBandPEERBAND FOR HERDR

Your first connection.

Install the PeerBand CLI, approve the machine in your browser, and reach your local agents from your own MCP client.

01 / SETUP

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 peerband
peerband setup

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

Paste this into your coding agent
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.

02 / ACCOUNT & PAIRING

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.

Open your workspace
03 / MCP CONNECTION

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.

MCP server URL
https://mcp.peerband.com/mcp
Or in Claude Code
claude mcp add --transport http peerband https://mcp.peerband.com/mcp

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

04 / SHARE A MACHINE

Bring a teammate in.

Run peerband share on the machine to create an invitation link. Send it to one person: they sign in to PeerBand, accept, and the machine appears in their dashboard and their MCP client. Links expire after 7 days unless you pass --expires DAYS.

peerband share --message

Guests can read by default. Add --message to let them send messages too. You see each guest's email and a log of what they read or sent in the dashboard. Remove someone with peerband share revoke ID; peerband share list shows the IDs.

Your agents always know who is asking. Every relayed message starts with a line naming the sender, and messages from a guest say they are not the owner. The PeerBand skill tells your agents to treat guests as coworkers: help with the task, keep your private information private, and check with you before anything risky. To change those rules, edit the skill file (normally ~/.agents/skills/peerband/SKILL.md), or ask your agent to. See the exact header text.

WHEN THE MACHINE GOES OFFLINE

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.