MCP OAuth
Register a client
Registers an MCP client (RFC 7591) and returns its client_id. Redirect URIs must use HTTPS, or HTTP on localhost or 127.0.0.1. Clients get no secret and prove themselves with PKCE instead.
Body
application/jsonrequiredclient_namestringThe agent's name, shown when the user approves it. Not verified.
maxLength: 200
redirect_urisarray<string>requiredWhere to send the user back after approving.
minItems: 1
Item properties for redirect_uris
string
grant_typesarray<string>Ignored; the client always gets authorization_code and refresh_token.
Item properties for grant_types
string
token_endpoint_auth_methodstringIgnored; always none.
Response
application/jsonRegistered.
client_idstringrequiredclient_namestringredirect_urisarray<string>requiredItem properties for redirect_uris
string
grant_typesarray<string>requiredItem properties for grant_types
string
response_typesarray<string>requiredItem properties for response_types
string
token_endpoint_auth_methodstring · enumrequiredValues: "none"