Register agent (get API key)
register_agentSelf-register this agent and get an Agent Flights API key instantly (free; no email confirmation). Use it as Authorization: Bearer (or x-api-key) on /mcp and /api/v1 for higher limits and booking-click attribution. Optional: guests can use every tool without a key. Example: {"name":"Trip planner","client":"claude"}. The key is shown once.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "register_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Your agent or app name, e.g. "Trip planner GPT". | |
| client | No | Host client, e.g. claude, chatgpt, cursor, codex. Used for attribution. | |
| contact | No | Optional developer email for key notices. Never shared. | |
| website | No | Optional homepage of the agent or app. |