Docs
DevelopersReferenceM C P

API: MCP Endpoint

POST
/mcp

The Model Context Protocol endpoint (JSON-RPC 2.0 over HTTP, POST only). Connect an MCP client to https://api.travelyfe.com/mcp; it discovers OAuth from https://api.travelyfe.com/.well-known/oauth-protected-resource/mcp. The tools are listed with the tools/list method and described in the MCP guides.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/mcp" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "string"  }'
Empty