E-File Magic

MCP clients

Register an MCP client

Register public MCP client metadata only after an authorized operator enables MCP for the environment. A missing, invalid, or disabled MCP policy fails closed independently of private API rollout. Registration grants no account access.

POST
/oauth/register
Authentication
No access token required
Required scopes
See authentication requirements
Idempotency key
Not required

Successful outcomes: ok.

Structure · HTTP 201
{
  "client_id": "Registered public client ID",
  "client_name": "Example client",
  "redirect_uris": [
    "https://client.example/callback"
  ],
  "token_endpoint_auth_method": "none",
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "response_types": [
    "code"
  ],
  "scope": "Granted registration scopes"
}