Skip to main content

Mintlify

The Mintlify card with the Official badge connects to Mintlify's admin MCP server at https://mcp.mintlify.com over streamable HTTP. People sign in with their Mintlify account. Each call uses that person's dashboard permissions, including their role on each project.

This server edits, publishes, and manages your docs. The docs MCP on your own site, at /mcp on the site domain, searches that site's published pages. See Mintlify MCP server.

Prerequisites​

  • A Mintlify account with access to the project the agent should edit. Viewers can use read tools. Changing protected settings needs an admin role on the project.
  • A Mintlify admin, to allow Willow's redirect host
  • Write access for the project's GitHub, GitLab, or Bitbucket connection on the deploy branch, when agents should publish. publish opens pull requests through that connection.

Setting up​

The URL is already filled in. Willow registers itself when someone signs in.

Mintlify lets Claude, ChatGPT, and Cursor complete OAuth on their own. A client that redirects to localhost also connects with no extra setup. For any other client, an admin adds the redirect domain first. See Mintlify MCP server and Connectors.

  1. In Willow, go to MCP Servers → + Add MCP server, find the Mintlify card with the Official badge, and click + Use.
  2. Copy Willow's callback URL from the server's Setup tab. In the Mintlify dashboard sidebar, open MCP → Settings. Under Redirect URIs, enter that URL's host in Allowed domains and click Add domain. The same list covers the admin MCP and your site's docs MCP.
    • SaaS: https://{org}.withwillow.ai/{org}/api/auth/callback — the host is {org}.withwillow.ai
    • On-prem: {CONNECT_URL}/{org}/api/auth/callback
  3. In Willow, choose Willow OAuth under Sign-in and sign in. Grant the projects the agent should use, or the whole organization. A connection limited to specific projects can reach only those projects. An organization-wide connection can reach the projects your role allows.

Mintlify can also create a credential under MCP → Credentials for a client that cannot open a browser. A credential can read content. Editing, publishing, and settings changes need the OAuth sign-in above, which is what this card uses.

To keep a connection on search and read, open the server's Settings tab. Under Request → Headers, click Add Header, set the name to x-mintlify-toolset, and set the value to knowledge.

Troubleshooting​

Sign-in fails until the redirect domain is allowed. Add the host from the Setup tab under MCP → Settings → Redirect URIs → Allowed domains, then sign in again.

A tool returns insufficient_scope. The Mintlify role on that project does not include the action. Viewers can read. After a role change, remove the Mintlify server in Willow, add it again, and sign in so the new connection includes the current role.

Sign-in opens Mintlify's troubleshooting page, or the connection reports a stale registration. Remove the server in Willow and add it again. If sign-in still fails, sign out of the Mintlify dashboard, sign back in, and connect again.

Additional Resources​

On this page