diff --git a/ai/model-context-protocol.mdx b/ai/model-context-protocol.mdx index 589877571..e2fb08ebe 100644 --- a/ai/model-context-protocol.mdx +++ b/ai/model-context-protocol.mdx @@ -60,6 +60,26 @@ View and copy your MCP server URL on the [MCP server page](https://dashboard.min Hosted MCP servers use the `/mcp` path in their URLs. Other navigation elements cannot use the `/mcp` path. +### MCP with authenticated documentation + +When your documentation uses [authentication](/deploy/authentication-setup), you have additional controls for your MCP server. + +#### Enable or disable your MCP server + +If your documentation has authentication enabled, you can toggle your MCP server on or off from the [MCP server page](https://dashboard.mintlify.com/products/mcp) in your dashboard. When disabled, AI applications cannot connect to your documentation through MCP. + +#### Configure allowed redirect domains + +When authentication is enabled, your MCP server uses OAuth to authenticate AI applications. You can restrict which domains can receive OAuth callbacks by configuring allowed redirect domains. + +To configure redirect domains: + +1. Navigate to the [MCP server page](https://dashboard.mintlify.com/products/mcp) in your dashboard. +2. In the **Redirect domains** section, enter a domain (for example, `example.com`). +3. Click **Add domain**. + +Only OAuth callbacks to the configured domains are allowed. This prevents unauthorized applications from completing the OAuth flow with your MCP server. + ### Rate limits To protect availability, Mintlify applies rate limits to MCP servers.