Tài liệu tham khảo API
mcp
Có 19 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.
| Phương thức | Đường dẫn | Chức năng | Quyền |
|---|---|---|---|
| GET | /.well-known/oauth-authorization-server | OAuth 2.1 authorization-server metadata for AI apps (RFC 8414). | Không có khóa API |
| GET | /.well-known/oauth-authorization-server/v1/mcp | The authorization-server metadata, for clients that append the resource path. | Không có khóa API |
| GET | /.well-known/oauth-protected-resource | OAuth 2.1 protected-resource metadata for the MCP server (RFC 9728). | Không có khóa API |
| GET | /.well-known/oauth-protected-resource/v1/mcp | The MCP server's protected-resource metadata at its path-qualified URL (RFC 9728 §3.1). | Không có khóa API |
| GET | /.well-known/openai-apps-challenge | ChatGPT app-directory domain-verification token (plain text). | Không có khóa API |
| GET | /.well-known/openid-configuration | The authorization-server metadata at the OpenID discovery path. | Không có khóa API |
| POST | /v1/mcp | The MCP JSON-RPC 2.0 protocol endpoint. | Token riêng của nó |
| GET | /v1/mcp/connections | List the organization's MCP connections. | mcp.manage |
| POST | /v1/mcp/connections | Create 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}/approve | Approve an AI app — creates the connection and returns the app's redirect. | mcp.manage |
| POST | /v1/mcp/oauth/requests/{requestId}/deny | Decline an AI app — returns the app's redirect carrying access_denied. | Bất kỳ khóa API nào |
| GET | /v1/mcp/scopes | The permissions worth granting an AI tool. | mcp.manage |
| GET | /v1/oauth/authorize | Start an AI app's sign-in (OAuth 2.1 authorization endpoint). | Không có khóa API |
| POST | /v1/oauth/register | Register an AI app as an OAuth client (RFC 7591 dynamic client registration). | Không có khóa API |
| POST | /v1/oauth/revoke | Revoke an AI app's access (RFC 7009). | Không có khóa API |
| POST | /v1/oauth/token | Exchange a code or refresh token for MCP access tokens (OAuth 2.1 token endpoint). | Không có khóa API |