Connect OpenCode to NationBuilder
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 NationBuilder
A preset of real NationBuilder operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect NationBuilder
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
NationBuilder
22 toolsRead the signup assigned to the protected v2 token.
Read minimal CRM signup metadata; no sensitive attributes or sideloads.
Read a signup by its explicit nation-local identifier.
Create an ordinary CRM signup, without subscriptions or sideposting.
Update only the supplied basic CRM fields; unspecified fields are omitted.
Read nation-local signup tag metadata.
Read one signup tag.
Create an ordinary signup tag; configured provider automations may react.
Rename a signup tag.
Permanently delete a selected tag, not its signup records.
Read custom list metadata.
Read one custom list.
Create a custom list without widening sharing permissions.
Update the selected custom list's ordinary name and description.
Permanently delete a list; this is a record mutation.
Read minimal signup metadata under a verified custom list.
Read tagging associations, optionally scoped to a verified signup.
Associate an existing signup and tag after checking both parents.
Delete only a tagging whose signup and tag match the selected parents.
Start an asynchronous addition to a custom list; no message is sent here.
Start an asynchronous removal from a custom list.
Read the status of the process identifier returned by membership changes.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use NationBuilder with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with NationBuilder wired in as tools. Connect your account and run.