Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions es/ai/model-context-protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,19 @@ Las credenciales de cliente se autentican contra el endpoint `/authed/mcp` y dev
```
</CodeGroup>

La respuesta incluye un token de acceso:
La respuesta incluye un token de acceso y un token de actualización:

```json
{
"access_token": "eyJhbGciOi...",
"token_type": "Bearer",
"expires_in": 1209600,
"refresh_token": "eyJhbGciOi...",
"scope": "mcp:search"
}
```

Los tokens de acceso expiran después de 14 días. Solicita un nuevo token cuando el actual expire.
Los tokens de acceso expiran después del número de segundos especificado en `expires_in`. Usa el `refresh_token` para obtener un nuevo token de acceso cuando el actual expire.
</Step>
<Step title="Conectarse al servidor MCP">
Usa el token de acceso como bearer token al conectarte al endpoint `/authed/mcp`.
Expand Down
5 changes: 3 additions & 2 deletions fr/ai/model-context-protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,19 @@ Les identifiants client s'authentifient auprès de l'endpoint `/authed/mcp` et r
```
</CodeGroup>

La réponse inclut un jeton d'accès :
La réponse inclut un jeton d'accès et un jeton de rafraîchissement :

```json
{
"access_token": "eyJhbGciOi...",
"token_type": "Bearer",
"expires_in": 1209600,
"refresh_token": "eyJhbGciOi...",
"scope": "mcp:search"
}
```

Les jetons d'accès expirent au bout de 14 jours. Demandez un nouveau jeton lorsque le jeton actuel expire.
Les jetons d'accès expirent au bout du nombre de secondes spécifié dans `expires_in`. Utilisez le `refresh_token` pour obtenir un nouveau jeton d'accès lorsque le jeton actuel expire.
</Step>
<Step title="Se connecter au serveur MCP">
Utilisez le jeton d'accès comme bearer token lors de la connexion à l'endpoint `/authed/mcp`.
Expand Down
5 changes: 3 additions & 2 deletions zh/ai/model-context-protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,19 @@ Mintlify 会为你的文档生成一个 MCP 服务器,并将其托管在你的
```
</CodeGroup>

响应中包含一个访问令牌
响应中包含一个访问令牌和一个刷新令牌

```json
{
"access_token": "eyJhbGciOi...",
"token_type": "Bearer",
"expires_in": 1209600,
"refresh_token": "eyJhbGciOi...",
"scope": "mcp:search"
}
```

访问令牌在 14 天后过期。当前令牌过期后,请重新请求新的令牌
访问令牌在 `expires_in` 指定的秒数后过期。当前令牌过期后,请使用 `refresh_token` 获取新的访问令牌
</Step>
<Step title="连接到 MCP 服务器">
连接到 `/authed/mcp` 端点时,将访问令牌用作 bearer token。
Expand Down
Loading