Connect OpenCode to Peerdom
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in Peerdom
A preset of real Peerdom operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Peerdom
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in. opencode mcp add only saves the config. OpenCode connects when it starts — run opencode, or restart a running one.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Tools OpenCode gets
Peerdom
25 toolsGet the organization selected by this API key, including its palette and live map.
List organization maps, including draft and archived metadata.
List a page of active peers, optionally including former peers and custom fields.
Get a peer, optionally including roles, former peers and custom fields.
Create a peer. An email links/provisions an account as a guest; no invitation is sent.
Update supplied peer profile fields. Access permissions are managed in Peerdom's UI.
Delete a peer from this organization.
List roles from the live map or a selected map. A peer filter overrides the group filter.
Get a role from a live or draft map, with optional related data.
Create a role in a selected map and parent circle.
Update supplied fields on a role in a live or draft map.
Delete a role from a live or draft map, excluding archived maps.
Assign an existing role to a peer, optionally setting contribution, focus and election end.
Remove one peer's role assignment.
Get one peer's role assignment details.
Update supplied assignment fields. Peerdom documents percentage as a string for this endpoint.
List groups (circles) in the live or selected map, optionally filtered by peer.
Get one group (circle) with optional custom fields.
Create a group (circle) in a selected map and parent circle.
Update supplied group (circle) fields.
Delete a group from a live or draft map, excluding archived maps.
List projects. With a peer filter Peerdom ignores pagination and returns that peer's projects.
Get one project.
Create a project; requires the Projects app.
Patch only supplied project fields; requires the Projects app. Renaming regenerates the slug.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Peerdom with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Peerdom wired in as tools. Connect your account and run.