From 30a8b710540f096f86e13bc1a340a11a4beb3aa4 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 00:25:39 +0000 Subject: [PATCH] Update client credentials token response to include refresh_token Generated-By: mintlify-agent --- ai/model-context-protocol.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ai/model-context-protocol.mdx b/ai/model-context-protocol.mdx index 7ac5745ee..e7d1924f8 100644 --- a/ai/model-context-protocol.mdx +++ b/ai/model-context-protocol.mdx @@ -135,18 +135,19 @@ Client credentials authenticate against the `/authed/mcp` endpoint and return th ``` - The response includes an access token: + The response includes an access token and a refresh token: ```json { "access_token": "eyJhbGciOi...", "token_type": "Bearer", "expires_in": 1209600, + "refresh_token": "eyJhbGciOi...", "scope": "mcp:search" } ``` - Access tokens expire after 14 days. Request a new token when the current one expires. + Access tokens expire after the number of seconds specified in `expires_in`. Use the `refresh_token` to obtain a new access token when the current one expires. Use the access token as a bearer token when connecting to the `/authed/mcp` endpoint.