Retool
Retool's official MCP server lets agents work in your Retool organization as the person who signs in. The endpoint is https://<host>/mcp over HTTP. It is the Retool card with the Official badge.
Willow registers itself with Retool. Retool does not issue a client secret, so there is no OAuth app to create. See Use Retool's MCP server.
Retool Cloud
Retool hosts the Cloud server at https://mcp.retool.com/mcp. Replace the card's Retool host placeholder, YOUR_ORG.retool.com, with mcp.retool.com.
- In Willow, go to MCP Servers → + Add MCP server and find the Retool card with the Official badge.
- Click + Use. Set Retool host to
mcp.retool.com. Enter the hostname only. Willow callshttps://<host>/mcp. - Sign in. On Retool's page, enter your organization URL and continue, or choose an organization you are already signed into. Select the scopes to allow, then authorize.
A person can only authorize scopes their Retool role allows. The scopes are mcp:read, mcp:write, and mcp:admin. Only an admin can authorize mcp:admin.
Self-hosted Retool
On a self-hosted instance, an administrator enables the MCP service before anyone connects. Use Retool 4.0.0 or later. The server runs as its own service at https://<your-domain>/mcp, on the same public HTTPS origin as the Retool instance. Kubernetes with Helm is the supported production deployment. Follow Enable the MCP server.
Set the public origin (Helm mcp.config.mcpServiceExternalUrl) to the HTTPS URL people already use, without /mcp. OAuth metadata and /api/oauth2/* stay on that same origin. The Helm chart can add the public routes. On Retool 4.0.7 and later, backendRelay mode sends public /mcp traffic through the main Retool service. If you manage routes yourself, send /mcp to the MCP service, and leave /.well-known/oauth-authorization-server and /api/oauth2/* on the main Retool service. Preserve the public Host header and allow long-lived responses on /mcp.
If an SSO gateway protects the origin, let MCP clients through without a browser login. Allow /mcp, /.well-known/oauth-protected-resource, /.well-known/oauth-authorization-server, POST /api/oauth2/token, and POST /api/oauth2/register without a login redirect. For full client and tool coverage, also allow POST /api/oauth2/revoke, GET /.well-known/oauth-protected-resource/mcp, and PUT /mcp/sandbox/:sandboxId/upload. The browser consent pages, GET /auth/oauth2/authorize and POST /api/oauth2/authorize, can stay behind SSO. Calls from the MCP service to the Retool backend use the private backend URL.
App-generation tools appear when the app builder's supporting services are running: the agent sandbox, an orchestration backend (pg-boss or Temporal), and a code executor or JS executor. The other tools are available without those services.
- In Willow, add the Retool card and set Retool host to the public hostname only, such as
retool.example.com. - Sign in. The page asks for the scopes to allow.
Troubleshooting
- The connection fails after you enter a URL. Retool host is the hostname only. For Cloud, use
mcp.retool.com. For self-hosted, use the public hostname from the Retool origin. - Sign-in never starts, or
/mcpreturns a login page or HTML. On a self-hosted instance, enable the MCP service and check the public routes and SSO gateway. An unauthenticated request to/mcpreturns401with aWWW-Authenticate: Bearerheader. Both/.well-known/oauth-protected-resourceand/.well-known/oauth-authorization-serverreturn JSON. - Discovery works, but OAuth fails. Allow
POST /api/oauth2/tokenandPOST /api/oauth2/registerthrough the SSO gateway without a browser login. - Sign-in succeeds, but tool calls fail. On a self-hosted instance, the MCP service and the Retool backend need the same private backend URL and the same introspection token.
- App-generation tools are missing. Start the app builder supporting services. The other tools still connect.