Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions ai/model-context-protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,23 @@
Hosted MCP servers use the `/mcp` path in their URLs. Other navigation elements cannot use the `/mcp` path.
</Note>

### Redirect domains

When your documentation uses [authentication](/deploy/authentication-setup), users connecting to your MCP server must complete an OAuth flow. By default, this OAuth flow only allows redirects to loopback addresses (`localhost`, `127.0.0.1`, or `[::1]`) for local development.

Check warning on line 65 in ai/model-context-protocol.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/model-context-protocol.mdx#L65

Did you really mean 'loopback'?

To allow MCP clients hosted on other domains to complete the OAuth flow, configure allowed redirect domains in your [MCP server settings](https://dashboard.mintlify.com/products/mcp).

<Steps>
<Step title="Navigate to MCP settings.">
In your dashboard, go to [MCP server](https://dashboard.mintlify.com/products/mcp).
</Step>
<Step title="Add redirect domains.">
In the **Redirect domains** section, enter the domain where your MCP client is hosted. For example, `app.example.com`.

Check warning on line 74 in ai/model-context-protocol.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/model-context-protocol.mdx#L74

In general, use active voice instead of passive voice ('is hosted').
</Step>
</Steps>

The OAuth flow validates that redirect URIs use HTTPS and match an allowed domain. Loopback addresses are always permitted.

Check warning on line 78 in ai/model-context-protocol.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/model-context-protocol.mdx#L78

Did you really mean 'URIs'?

Check warning on line 78 in ai/model-context-protocol.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/model-context-protocol.mdx#L78

Did you really mean 'Loopback'?

### Rate limits

To protect availability, Mintlify applies rate limits to MCP servers.
Expand Down