Bayanin API
mcp
Tashoshin ƙarshe guda 19 a wannan yanki. Kowane ɗayan yana da shafinsa tare da sigoginsa, martaninsa da kuma buƙatar da za ku iya aiwatarwa.
| Hanya | Hanya | Abin da yake yi | Izini |
|---|---|---|---|
| GET | /.well-known/oauth-authorization-server | OAuth 2.1 authorization-server metadata for AI apps (RFC 8414). | Babu maɓallin API |
| GET | /.well-known/oauth-authorization-server/v1/mcp | The authorization-server metadata, for clients that append the resource path. | Babu maɓallin API |
| GET | /.well-known/oauth-protected-resource | OAuth 2.1 protected-resource metadata for the MCP server (RFC 9728). | Babu maɓallin 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). | Babu maɓallin API |
| GET | /.well-known/openai-apps-challenge | ChatGPT app-directory domain-verification token (plain text). | Babu maɓallin API |
| GET | /.well-known/openid-configuration | The authorization-server metadata at the OpenID discovery path. | Babu maɓallin API |
| POST | /v1/mcp | The MCP JSON-RPC 2.0 protocol endpoint. | Alamarsa ta kansa |
| 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. | Kowane maɓallin API |
| 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). | Babu maɓallin API |
| POST | /v1/oauth/register | Register an AI app as an OAuth client (RFC 7591 dynamic client registration). | Babu maɓallin API |
| POST | /v1/oauth/revoke | Revoke an AI app's access (RFC 7009). | Babu maɓallin API |
| POST | /v1/oauth/token | Exchange a code or refresh token for MCP access tokens (OAuth 2.1 token endpoint). | Babu maɓallin API |