Connect your agent
Connect Claude Code, Cursor, Codex, Claude.ai or ChatGPT to your Willo business by signing in from the agent, in about two minutes.
On this page
Willo runs an MCP server for your business. Your agent connects to it by signing in, then reads and changes the business through the same rules Willo's own chat follows. A connection covers one business, the one you pick when you approve. Connecting an agent is in Beta. Setup takes three steps.
1. Add Willo to your agent
The server address is https://api.willo.ai/mcp. Connecting comes with the Builder plan and up; see Pricing.
Settings → AI Agents shows these steps with your business's name in the entry's name, as in willo-my-business, so each business gets an entry of its own.
-
In a terminal, run this command. It adds Willo to Claude Code in every folder.
claude mcp add --transport http --scope user willo-my-business https://api.willo.ai/mcp -
In the same terminal, start
claude, type/mcp, pick willo-my-business and choose Authenticate. This menu is only in Claude Code in a terminal. -
In the browser that opens, sign in and approve (step 2 below).
You sign in once. Every Claude Code session you start after that can use Willo, in Claude Desktop too.
Cursor signs in to one business. For a second business in the same Cursor, use a pasted token with its own entry and variable names.
-
Open Cursor Settings → MCP and add a new MCP server. In the
mcp.jsonfile that opens, paste this. If it already lists servers, add only thewillo-my-businessentry insidemcpServers.{ "mcpServers": { "willo-my-business": { "url": "https://api.willo.ai/mcp" } } } -
Back in Cursor Settings → MCP, click Connect next to willo-my-business.
-
In the browser that opens, sign in and approve (step 2 below).
-
In a terminal, add Willo to Codex:
codex mcp add willo-my-business --url https://api.willo.ai/mcp -
Then sign in:
codex mcp login willo-my-business -
In the browser that opens, sign in and approve (step 2 below).
- Copy the server address:
https://api.willo.ai/mcp. No terminal needed. - Add a custom connector and paste the address as its URL. In Claude.ai it is under Settings → Connectors. In ChatGPT it is under Settings → Apps & Connectors. Then click Connect.
- In the browser that opens, sign in and approve (step 2 below).
2. Sign in and approve
Your agent opens a browser on Willo.
- Sign in if you aren't already. The sign-in link brings you back to the same screen.
- Check the app's name and where it returns to. The screen says when Willo can't verify an app's name, and when the connection goes to an app on your computer. Only continue if you started the connection just now.
- Pick the business. You need editor access or higher on it, and it needs the Builder plan or higher.
- Pick what the agent may do. Make changes is the default: the agent changes the business the way Willo's chat does, and anything risky waits for your approval. Look around only reads.
- Click Approve. The browser hands the connection back to your agent.
The connection appears on Settings → AI Agents as a signed-in row, with when it last made a call. Disconnect on that row signs the agent out of the business. Agent tokens covers how long a connection lasts and what it can never do.
Connect another business
Repeat the steps from the other business's Settings → AI Agents:
- Claude Code and Codex CLI: add a second entry with a different name, such as
willo-second-business, and sign in to it. Both entries keep working side by side. - Cursor: connect the others with a pasted token, each with its own entry and variable names. Cursor signs in to one business.
- Claude.ai and ChatGPT: one connector covers one business. To switch, disconnect the connector, click Disconnect on its row in the first business's Settings → AI Agents, and connect again.
Paste a token instead
For CI, scripts or a client that can't open a browser, create an agent token on Settings → AI Agents and send it as a bearer header. Agent tokens has the setup for each client.
3. Make your first three calls
Ask your agent something like: "Using the willo tools, check the business's status, list the site's files and summarise the business." It should call:
willo_status: where the business stands. Whether a draft is open, the live site's last deploy and the draft preview's last build. Call it first, because it tells the agent whether its reads see the draft or the live site.willo_list_files: the site's code, from thedraftbranch when one exists, otherwise from what is live.willo_business: the business as Willo tracks it. Current phase, active goals and today's activity.
All three are free and read-only. If they work, you are connected. Next, try your first change.
When it doesn't connect
- No browser opens. Your client doesn't support sign-in for remote servers. Update it, or paste a token instead.
- "Willo can't connect this agent". The app didn't register the address it asked to return to, or the request was malformed. Start the connection again from the agent.
- "This sign-in request has expired". A request lasts 15 minutes. Start the connection again from the agent.
- No business to pick, or a business you can't select. You need editor access or higher, and the business needs the Builder plan or higher.
- 403 with
plan_requiredorplan_lapsed. The business's plan is below Builder or has lapsed. The connection isn't removed: it works again once an owner or admin upgrades. Error codes lists every refusal. - The agent doesn't see a tool. A connection that can only look around sees only the read tools. Switch its row to Read + act on Settings → AI Agents, then start a new session in the agent so it lists the new tools. No new sign-in or token is needed.
Questions
Which AI tools can connect to Willo?
Any MCP client that supports remote servers with OAuth sign-in, including Claude Code, Cursor, Codex CLI, Claude.ai and ChatGPT. Clients that can only send a fixed header can use a pasted agent token instead.
Does connecting an agent cost anything?
Connecting an agent comes with the Builder plan and up. On those plans connections cost nothing extra, and reads and changes made through them use no credits. Only willo_task, which runs a full Willo chat turn, bills as one chat turn, and willo_images is charged per call for the images it makes.
Can one agent work on several Willo businesses?
Yes. Each connection covers one business, so add one entry per business, each with its own name, and sign in to each. Claude Code and Codex CLI keep the entries side by side. In Cursor, sign in to one business and use agent tokens for the others. Claude.ai and ChatGPT connect one business per connector.