Skip to content

Register Oauth Client

POST /oauth/register

RFC 7591. Refused unless MCP_DYNAMIC_REGISTRATION is on — see the service.

Request body — ClientRegistrationRequest

Section titled “Request body — ClientRegistrationRequest”
FieldTypeNotes
redirect_urisstring[]required—
client_namestring | nulloptionalmax length 200
token_endpoint_auth_methodstring | nulloptionalmax length 40
scopestring | nulloptionalmax length 400
grant_typesstring[] | nulloptional—
response_typesstring[] | nulloptional—
StatusDescriptionBody
201Successful Response—
422Validation ErrorHTTPValidationError

The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.

Terminal window
curl -X POST https://your-deployment.example.com/oauth/register \
-H "Content-Type: application/json" \
-d '{
"redirect_uris": [
"string"
]
}'