Connect OpenCode to Usertour
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 Usertour
A preset of real Usertour operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Usertour
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
Usertour
22 toolsRead the token name and the projects and environments it can access.
List end users in an environment with optional email, company and segment filters.
Retrieve one end user by their external ID.
Create an end user or merge attributes into an existing end user.
Permanently delete the end user with this external ID.
List companies in an environment, optionally in a segment.
Retrieve one company by its external ID.
Create a company or merge attributes into an existing company.
Add an end user to a company or update their membership attributes.
Remove an end user from a company.
List project content such as flows, checklists and banners.
Retrieve onboarding content and optionally expand a version.
Publish a selected version of a piece of content into an environment.
Find draft and published version IDs for a piece of content.
List content sessions with optional user, content and completion filters.
Read a content session, optionally including survey answers or related objects.
Read engagement and completion analytics for a piece of content.
Read aggregate responses to questions within a piece of content.
Record a custom behavior event for an end user.
List project segments used to target onboarding content.
Add a user or company to a manual segment.
Remove a user or company from a manual segment.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Usertour with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Usertour wired in as tools. Connect your account and run.