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

How to use this endpoint

Registration returns a client_id and no client secret; it does not create an E-File Magic account or grant access to one. The human opens the onboarding email, signs in or creates an account, verifies email ownership, supplies business details, and explicitly accepts the current Terms of Service and agent authorization. No account allowlist is required. Metadata requests are limited to 16 KiB.

cURL request
curl --request POST '<origin from OAuth metadata>/oauth/register' \
  --header 'Content-Type: application/json' \
  --data-binary @request.json

Use the exact endpoint URL from your environment's metadata. Confidential client examples use client_secret_basic; public MCP clients use client_id without a secret.

Create request.json using the documented fields. Field descriptions are not sample values.