About MCP servers
The Model Context Protocol (MCP) is an open protocol that creates standardized connections between AI applications and external services, like documentation. Mintlify generates an MCP server from your documentation and OpenAPI specifications, preparing your content for the broader AI ecosystem where any MCP client (like Claude, Cursor, Goose, and others) can connect to your documentation and APIs. Your MCP server exposes tools for AI applications to search your documentation and interact with your APIs.Accessing your MCP server
MCP servers can only be generated for public documentation. Documentation behind end-user authentication cannot be accessed for server generation.
/mcp
path. For example, Mintlify’s MCP server is available at https://mintlify.com/docs/mcp
.
You can see and copy your MCP server URL in your dashboard.
Configuring your MCP server
All MCP servers include thesearch
tool by default, allowing users to query information from your docs in other tools.
If you have a Pro or Enterprise plan, you can expose endpoints from your OpenAPI specification as MCP tools.
To expose endpoints as MCP tools, use the mcp
object within the x-mint
extension at either the file or endpoint level. For example, the Mintlify MCP server includes tools to create assistant chats, get status updates, and trigger updates.
MCP servers follow a security-first approach where API endpoints are not exposed by default. You must explicitly enable endpoints to make them available as MCP tools. Only expose endpoints that are safe for public access through AI tools.
The MCP configuration for the endpoint.
File-level configuration
Enable MCP for all endpoints by default in an OpenAPI specification file and selectively exclude endpoints:Endpoint-level configuration
Enable MCP for specific endpoints:Using your MCP server
Your users must connect your MCP server to their preferred AI tools.- Make your MCP server URL publicly available.
- Users copy your MCP server URL and add it to their tools.
- Users access your documentation and API endpoints through their tools.
Example: Connecting to the Mintlify MCP server
Connect to the Mintlify MCP server to interact with the Mintlify API and search our documentation. This will give you more accurate answers about how to use Mintlify in your local environment and demonstrates how you can help your users connect to your MCP server.Authentication
When you enable an API endpoint for MCP, the server includes the authentication requirements defined in your OpenAPIsecuritySchemes
and securityRequirement
. Any keys are handled directly by the tool and not stored or processed by Mintlify.
If a user asks their AI tool to call a protected endpoint, the tool will request the necessary authentication credentials from the user at that moment.
Monitoring your MCP server
You can view all available MCP tools in the Available tools section of the MCP Server page in your dashboard.

Troubleshooting
MCP server only shows search tool
MCP server only shows search tool
If your MCP server only exposes the search tool despite having an OpenAPI specification:
- Verify your OpenAPI specification is valid and accessible.
- Ensure you’ve explicitly enabled MCP for specific endpoints using
x-mint.mcp.enabled: true
. - Check your deployment logs for OpenAPI processing errors.
Authentication issues
Authentication issues
If users report authentication problems:
- Check that your OpenAPI specification includes proper
securitySchemes
definitions. - Confirm that enabled endpoints work with the specified authentication methods.
Tool descriptions missing or unclear
Tool descriptions missing or unclear
If AI tools aren’t using your API endpoints effectively:
- Add detailed
summary
anddescription
fields to your endpoints. - Ensure parameter names and descriptions are self-explanatory.
- Use the MCP dashboard to verify how your endpoints appear as tools.