E-File Magic

MCP clients

Send an MCP message

Authenticated MCP Streamable HTTP transport.

POST
/mcp
Authentication
OAuth access token for MCP
Required scopes
See authentication requirements
Idempotency key
Not required

Request fields

2 fields
jsonrpcSee descriptionSee description

MCP JSON-RPC envelope for POST. Use tools/list for the currently authorized tool catalog and exact argument schemas.

_rulesSee descriptionSee description

Mutation tool arguments require a stable idempotency_key (16–128 letters, digits, hyphen, underscore, dot or colon); preserve it after an uncertain response. HTTP headers cannot substitute for this argument.

Headers (2)
AuthorizationRequired
OAuth Bearer token for the MCP resource.
AcceptRequired
MCP Streamable HTTP accepted response types, including application/json and text/event-stream.
cURL request
curl --request POST '<origin from OAuth metadata>/mcp' \
  --header 'Authorization: Bearer <access-token>' \
  --header 'Accept: <Accept value>' \
  --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.