# MCP: credentials

Source: <https://telegafirst.com/docs/mcp-credentials>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: 01118e78155e99aee91246fbb5f196acad2bc249befa6985bf17a7bee39f07fa
Version: 9

# MCP: credentials

Определения инструментов. Обновляйте tools/list после изменения прав. required\_scopes: ALL.

## check\_approval

Poll the decision on an issue\_api\_key / scope\_change request by action\_id. On approval the credential is minted and its secret returned ONCE ({status:"approved", credential\_id, secret, token\_prefix}); a re-poll returns {status:"approved"} without the secret. Also returns pending\_approval / denied / expired.

Scopes (ALL): \["credentials:read"]. Risk: "read".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-check-approval)

## issue\_api\_key

Request issuance of a new API key with the given scopes. Owner-only. Returns {status:"pending\_approval", action\_id} immediately — the owner confirms in Telegram; then poll check\_approval(action\_id) for the secret.

Scopes (ALL): \["credentials:write"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-issue-api-key)

## list\_connections

List this owner session’s MCP connections with their known host, last use, active bot title, Agent Kit freshness, and display token prefix.

Scopes (ALL): \["credentials:read"]. Risk: "read".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-list-connections)

## request\_access\_link

Request owner approval for a named desktop client and its owner-mintable MCP scopes. Returns {status:"pending\_approval", action\_id}; poll check\_approval(action\_id) after the owner decides.

Scopes (ALL): \["credentials:write"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-request-access-link)

## revoke\_connection

Revoke one MCP connection by its display token prefix. Owner-only; it revokes immediately and does not require a second-factor approval.

Scopes (ALL): \["credentials:write"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-revoke-connection)

## scope\_change

Request a scope change for an existing API key (credential\_id). Owner-only. Returns {status:"pending\_approval", action\_id} immediately; the owner confirms in Telegram, then poll check\_approval(action\_id) — on approval the key is re-scoped IN-PLACE (its secret is unchanged).

Scopes (ALL): \["credentials:write"]. Risk: "write".

[Вход, результат и права](https://telegafirst.com/docs/mcp-tool-scope-change)
