For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/auth/register-o-auth-client.md.
Register an OAuth client
Dynamic client registration (RFC 7591). A remote MCP client — Claude,
Meta Muse, MCP Inspector — calls this itself before starting an
authorization flow; none of them can be handed a client_id out of
band.
Registration is open in mechanism and closed in reach: every
redirect_uri must belong to one known client vendor, and a caller
whose callback belongs to none is refused. Clients registered here are
public, use PKCE with S256, and are marked unverified on the consent
screen because their name is self-asserted.
Errors answer in the OAuth envelope (RFC 6749 5.2), not the usual one.
Rate limit: counts against the OAuth client registration limit, 5 a minute and 50 a day (per ip address, for every caller). See Rate limits.
application/json- body
redirect_uris*array<>Exact callback URLs. Matched byte-for-byte at /oauth/authorize, except for loopback, where the port is ignored (RFC 8252 7.3). Must be https outside loopback, and carry no fragment or userinfo.
1 <= itemsclient_name?stringSelf-asserted; shown on the consent screen as unverified. Refused with a 400 if it contains links, domain names, < or >, or control characters.
length <= 100client_uri?stringuriscope?stringSpace-delimited. Defaults to every supported scope when omitted.
grant_types?array<>response_types?array<>token_endpoint_auth_method?"none"Only public clients are supported.
"none"Client registered
application/json- response
client_id*stringclient_id_issued_at*integerSeconds since the epoch.
int64redirect_uris*array<>client_name?stringclient_uri?stringscope*stringgrant_types*array<string>response_types*array<string>token_endpoint_auth_method*stringcurl -X POST 'https://api.truemarkets.co/v1/auth/oauth/register' \ -H 'Content-Type: application/json' \ -d '{ "redirect_uris": [ "https://claude.ai/api/mcp/auth_callback" ]}'{ "client_id": "string", "client_id_issued_at": 0, "redirect_uris": [ "http://example.com" ], "client_name": "string", "client_uri": "string", "scope": "string", "grant_types": [ "string" ], "response_types": [ "string" ], "token_endpoint_auth_method": "string"}Revoke a connected app DELETE
Withdraws the grant and revokes the refresh tokens minted from it, so the client cannot mint a fresh access token once its current one lapses. An access token already issued stays valid until it expires.
Authorization server metadata GET
RFC 8414 discovery. A remote MCP client fetches this to learn where to register and authorize, having been configured with nothing but the MCP server URL.