Для AI-агентов: markdown этой страницы — /docs/mcp-credentials.mdиндекс документации — /llms.txt
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".
issue_api_key
Request issuance of a new API key with the given scopes — only scopes your own rights cover (a team member never gets team scopes). Returns {status:"pending_approval", action_id} immediately — you confirm in Telegram; then poll check_approval(action_id) for the secret.
Scopes (ALL): ["credentials:write"]. Risk: "write".
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".
request_access_link
Request approval for a named desktop client and the MCP scopes it needs — only scopes your own rights cover. Returns {status:"pending_approval", action_id}; poll check_approval(action_id) after you decide in Telegram.
Scopes (ALL): ["credentials:write"]. Risk: "write".
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".
scope_change
Request a scope change for an existing API key (credential_id) — only scopes your own rights cover. Returns {status:"pending_approval", action_id} immediately; you confirm 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".