Connect OpenCode to Humanitix
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 Humanitix
A preset of real Humanitix operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Humanitix
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
Humanitix
13 toolsReturns an array of events.
Returns an event for the given eventId.
Returns a check in count object for a given eventId and eventDateId for all tickets that have had sales (this endpoint is in Beta and is subject to change).
Returns all orders for a given event and eventDateId.
Returns an order for the given eventId.
Returns all tickets for an event.
Returns a ticket for the given eventId and ticketId.
Update the ticket to check it in
Update the ticket to check it out
Returns all tags for a user.
Returns a tag for the given tagId.
Returns an array of events from across the platform. Requires special user permission to use this endpoint, activated by Humanitix.
Returns an array of individual event dates from across the platform, with public offer status annotated on every ticket type and packaged ticket. Each event date appears as a separate root-level object (events with multiple dates produce multiple rows). Requires special user permission to use this endpoint, activated by Humanitix.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Humanitix with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Humanitix wired in as tools. Connect your account and run.