v9

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01391555.5 KB
MCP OAuth

Register a public MCP OAuth client.

Dynamic Client Registration for public clients. Redirect URIs must be safe loopback URIs or explicitly allowlisted HTTPS origins.

post/mcp/oauth/register

Request body

client_namestring
redirect_urisstring[] required
grant_typesstring[]
response_typesstring[]
scopestring

Space-separated OAuth scopes.

token_endpoint_auth_method'none'

Example request

{
  "client_name": "Codex",
  "redirect_uris": [
    "http://localhost:1455/callback"
  ],
  "scope": "workspace:read leads:read agent:read"
}

Response

Registered public client metadata.

client_idstring required
client_namestring required
redirect_urisstring[] required
grant_typesstring[] required
response_typesstring[] required
token_endpoint_auth_method'none' required
scopestring required

Example response

{
  "client_id": "mcp_abc123",
  "client_name": "Codex",
  "scope": "workspace:read leads:read analytics:read agent:read"
}