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
20 changes: 20 additions & 0 deletions ai/model-context-protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
The MCP search tool supports optional parameters that AI applications use to control and refine search results.

- **`pageSize`**: Number of results to return, between 1 and 50. Defaults to 10.
- **`scoreThreshold`**: Minimum relevance score between 0 and 1. Only returns results at or above this threshold. Use this to filter out low-relevance matches.

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

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/model-context-protocol.mdx#L41

Use 'preceding' instead of 'above'.
- **`version`**: Filter results to a specific documentation version. For example, `'v0.7'`. Only returns content tagged with the specified version or content available across all versions.
- **`language`**: Filter results to a specific language code. For example, `'en'`, `'zh'`, or `'es'`. Only returns content in the specified language or content available across all languages.

Expand Down Expand Up @@ -104,6 +104,26 @@
</Step>
</Steps>

### Client credentials for programmatic access

If you need to connect to your authenticated MCP server from a backend service or automation (machine-to-machine), you can generate client credentials instead of using the interactive OAuth flow.

<Steps>
<Step title="Generate credentials">
1. Navigate to the [MCP server page](https://dashboard.mintlify.com/products/mcp) in your dashboard.
2. In the **Client credentials** section, click **Generate credentials**.
3. Enter a label to identify the credential (for example, `Production server`).
4. Copy the **Client ID** and **Client secret**. The secret is only shown once and cannot be retrieved later.

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

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/model-context-protocol.mdx#L116

In general, use active voice instead of passive voice ('be retrieved').
</Step>
<Step title="Use the credentials">
Use the `client_credentials` grant type with the client ID and secret to obtain an access token for your MCP server.
</Step>
</Steps>

<Warning>
Store the client secret securely. It is only displayed once when you generate the credential. If you lose it, delete the credential and generate a new one.
</Warning>

### Rate limits

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