Connect OpenCode to Gusto
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 Gusto
A preset of real Gusto operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Gusto
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
Gusto
18 toolsGet info about the current access token. Required token scopes: public (any valid token).
Get a company. Required token scopes: companies:read.
Update a company. Required token scopes: companies:write.
Get all company locations. Required token scopes: companies:read.
Get employees of a company. Required token scopes: employees:read.
Get an employee. Required token scopes: employees:read.
Create an employee. Required token scopes: employees:manage.
Update an employee.. Required token scopes: employees:write.
Delete an onboarding employee. Required token scopes: employees:manage.
Get all payrolls for a company. Required token scopes: payrolls:read.
Get a single payroll. Required token scopes: payrolls:read.
Update a payroll by ID. Required token scopes: payrolls:write.
Prepare a payroll for update. Required token scopes: payrolls:write, employees:read.
Get all time off policies for a company. Required token scopes: time_off_policies:read.
Get a time off policy. Required token scopes: time_off_policies:read.
Add employees to a time off policy. Required token scopes: time_off_policies:write.
Get time off requests for a company. Required token scopes: time_off_requests:read.
Get employee time off activities. Required token scopes: employee_time_off_activities:read.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Gusto with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Gusto wired in as tools. Connect your account and run.