Skip to content

Document client credentials grant for MCP authentication#5218

Open
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/mcp-client-credentials-1775689977
Open

Document client credentials grant for MCP authentication#5218
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/mcp-client-credentials-1775689977

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify bot commented Apr 8, 2026

Summary

  • Added documentation for the client_credentials OAuth grant type on the MCP authentication page, enabling machine-to-machine access to authenticated MCP servers without interactive browser login.
  • Includes code examples for both form parameter and HTTP Basic authentication methods, a sample token response, and a note about server-side revocation behavior.

What shipped

MCP servers now support the OAuth 2.0 client_credentials grant type alongside the existing authorization_code flow. This lets automated systems, CI/CD pipelines, and backend services authenticate with a client ID and secret to access authenticated MCP servers programmatically. Tokens issued via client credentials are subject to server-side revocation checks for security.


Note

Low Risk
Low risk documentation-only change; no runtime code paths are modified.

Overview
Documents OAuth 2.0 client_credentials authentication for MCP servers, including curl examples for form-encoded and HTTP Basic client auth, a sample token response, and guidance that these tokens are immediately invalidated when the dashboard credential is revoked.

Reviewed by Cursor Bugbot for commit eb0738a. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify-development
Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟡 Building Apr 8, 2026, 11:14 PM

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify bot commented Apr 8, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 8, 2026, 11:17 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants