Setup
Create an agent API key and connect Claude Code, Codex, or Gemini CLI to your live Protoboard session over HTTP
Create an API key in Protoboard, drop a short config into your agent, and verify the connection. Any tier can create agent keys.
Fast path: let your agent do the setup
If your agent can fetch URLs (Claude Code, Codex, and Gemini CLI all can), paste this prompt. It reads this page and writes its own config, pausing only for the API key.
Set up the Protoboard MCP server globally for my user account (not
project-scoped) so every session of this agent can use it. The
instructions live at https://docs.protoboard.xyz/agent-bridge/setup.md,
and a plain-text bundle of the whole docs site is at
https://docs.protoboard.xyz/llms-full.txt. Follow the user-scope steps
for whichever agent you are running right now (Claude Code, Codex, or
Gemini CLI). Pause at the API-key step so I can create a key in
Protoboard's Settings > Developer scoped specifically to you (label it
something like "<your agent name>, <this machine>") and paste it back.
Do not reuse an existing key, even if I have one: one key per agent
keeps the audit log clean. Handle the rest yourself, including writing
the config file in the right place. If I ask later for a project-scoped
install instead, switch to the "Project scope alternative" block on
that page.Prefer doing it by hand? The manual steps follow.
Step 1: Create an agent API key
Open Settings > Developer inside Protoboard (profile menu, top right, then the Developer tab).

Click New agent key, give it a label that says where it lives (for example, Claude Code, work laptop), and click Create. Create one key per agent rather than sharing a key, so you can revoke a single agent without disrupting the rest.
Protoboard shows the full key exactly once. Copy it now.

Step 2: Configure your agent
Each tab installs Protoboard at the user level, so it is available in every session of that agent. To share the config with a team through version control instead, see the "Project scope alternative" in each tab.
That writes this block into your user-level Claude Code config:
Verify with /mcp: you should see protoboard as Connected with a tool count. For local Protoboard development, use http://localhost:3000/api/mcp instead.
Add the server to ~/.codex/config.toml:
Newer Codex builds also accept codex mcp add. The token must come from an environment variable rather than a literal flag:
The CLI does not expose a flag for arbitrary headers; for those, use the config.toml block above. Confirm flags with codex mcp add --help and the OpenAI Codex docs.
Add the server to ~/.gemini/settings.json:
Or from the command line:
Verify with /mcp list.
Any MCP client that can call an HTTPS endpoint works. Point it at https://alpha.protoboard.xyz/api/mcp with an Authorization: Bearer pb_agent_YOUR_KEY_HERE header, using the HTTP (Streamable HTTP) transport. Cursor, Windsurf, and Zed follow the standard MCP HTTP config shape used above.
Step 3: Verify the connection
With your agent running and a Protoboard tab open, ask it: "What Protoboard boards do I have open?" You should get back a board name and ID. Within a second or two, a green Agent badge appears next to the board name in the Protoboard header.

Click the badge, or open the Agents tab in the left sidebar, to see each connected agent's key label, last activity, and the tool it is running now.

Working with boards and keys
One board open: the agent auto-connects. Multiple boards: ask your agent to run
list_boards, thenconnect_boardwith the ID you want; every later call targets that board until you switch.Rename or revoke keys from the Developer tab. Revocation takes effect on the next call. Last used updates on every call, so a stale timestamp is a good revocation candidate.
Revoking does not edit your agent config. Update the config to a new key so the agent stops retrying with a dead credential.
Common failures
Related pages
Agent Bridge Overview: what the bridge is and when to reach for it
ProtoBot Overview: the built-in assistant, no setup required
Usage and Energy: how bridge calls count against your energy budget
Last updated

