Document client credentials for programmatic MCP access#5224
Open
mintlify[bot] wants to merge 1 commit intomainfrom
Open
Document client credentials for programmatic MCP access#5224mintlify[bot] wants to merge 1 commit intomainfrom
mintlify[bot] wants to merge 1 commit intomainfrom
Conversation
Generated-By: mintlify-agent
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
client_credentialsOAuth2 grant, and connect to authenticated MCP servers programmaticallycurlexample and token response formatThis documents the new MCP client credentials feature that enables machine-to-machine access to authenticated MCP servers without interactive OAuth login, intended for backend services, CI/CD pipelines, and automated workflows.
Note
Low Risk
Low risk documentation-only change; no runtime behavior or security logic is modified, though incorrect guidance could confuse integrators.
Overview
Adds a new Client credentials for programmatic access section to the MCP docs, describing how to generate dashboard-issued client credentials and use the OAuth2
client_credentialsflow to fetch an access token.Includes a
curlexample for calling/mcp/oauth/token, an example token response payload, guidance for passing the Bearer token to MCP clients, and a warning to store client secrets securely.Reviewed by Cursor Bugbot for commit 91010d4. Bugbot is set up for automated code reviews on this repo. Configure here.