API 参考

mcp

该区域中有 19 个端点。每个端点都有自己的页面,其中包含其参数、响应以及您可以运行的请求。

所有开发者文档 →

方法路径功能说明权限
GET/.well-known/oauth-authorization-serverOAuth 2.1 authorization-server metadata for AI apps (RFC 8414).无 API 密钥
GET/.well-known/oauth-authorization-server/v1/mcpThe authorization-server metadata, for clients that append the resource path.无 API 密钥
GET/.well-known/oauth-protected-resourceOAuth 2.1 protected-resource metadata for the MCP server (RFC 9728).无 API 密钥
GET/.well-known/oauth-protected-resource/v1/mcpThe MCP server's protected-resource metadata at its path-qualified URL (RFC 9728 §3.1).无 API 密钥
GET/.well-known/openai-apps-challengeChatGPT app-directory domain-verification token (plain text).无 API 密钥
GET/.well-known/openid-configurationThe authorization-server metadata at the OpenID discovery path.无 API 密钥
POST/v1/mcpThe MCP JSON-RPC 2.0 protocol endpoint.其专属令牌
GET/v1/mcp/connectionsList the organization's MCP connections.mcp.manage
POST/v1/mcp/connectionsCreate an MCP connection (Connect AI tool).mcp.manage
DELETE/v1/mcp/connections/{connectionId}Revoke an MCP connection.mcp.manage
GET/v1/mcp/connections/{connectionId}Get an MCP connection.mcp.manage
GET/v1/mcp/oauth/requests/{requestId}What an AI app asking to connect wants (the consent screen's data).mcp.manage
POST/v1/mcp/oauth/requests/{requestId}/approveApprove an AI app — creates the connection and returns the app's redirect.mcp.manage
POST/v1/mcp/oauth/requests/{requestId}/denyDecline an AI app — returns the app's redirect carrying access_denied.任意 API 密钥
GET/v1/mcp/scopesThe permissions worth granting an AI tool.mcp.manage
GET/v1/oauth/authorizeStart an AI app's sign-in (OAuth 2.1 authorization endpoint).无 API 密钥
POST/v1/oauth/registerRegister an AI app as an OAuth client (RFC 7591 dynamic client registration).无 API 密钥
POST/v1/oauth/revokeRevoke an AI app's access (RFC 7009).无 API 密钥
POST/v1/oauth/tokenExchange a code or refresh token for MCP access tokens (OAuth 2.1 token endpoint).无 API 密钥