From ae770a194ad77edc0cb236e8cafddfbad4436089 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 23:40:45 +0000 Subject: [PATCH] Add client credentials documentation for programmatic MCP access Generated-By: mintlify-agent --- ai/model-context-protocol.mdx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ai/model-context-protocol.mdx b/ai/model-context-protocol.mdx index ec93468d2..5a60f2a1e 100644 --- a/ai/model-context-protocol.mdx +++ b/ai/model-context-protocol.mdx @@ -104,6 +104,26 @@ By default, your MCP server is only available for localhost tools. To allow web- +### 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. + + + + 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. + + + Use the `client_credentials` grant type with the client ID and secret to obtain an access token for your MCP server. + + + + + 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. + + ### Rate limits To protect availability, Mintlify applies rate limits to MCP servers.