MCP server
Connect Claude, Cursor or your own agent to one business through the Model Context Protocol.
Endpoint https://hevia.app/api/mcp (Streamable HTTP, one JSON-RPC message per POST; protocol versions 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05). Authenticate with Authorization: Bearer <API key or OAuth access token>.
Note
The business owner has to switch MCP on first (dashboard, page API, tab MCP). It is off by default.
JSON
{ "mcpServers": { "hevia": { "url": "https://hevia.app/api/mcp", "headers": { "Authorization": "Bearer <YOUR_API_KEY>" } } } }Tools
Tools are generated from the API registry and filtered by the scopes of the credential. Writes run through the real API handlers, so validation, idempotency, audit and four-eyes approval apply unchanged.
| Tool | Mode | Description |
|---|---|---|
list_contacts | read | List contacts |
upsert_contact | write | Create or update a contact (matched by e-mail or phone) |
list_conversations | read | List conversations |
get_conversation | read | One conversation with its messages (internal notes are never included) |
list_requests | read | List requests (forms, hand-overs, tickets) |
get_request | read | One request |
list_deals | read | List deals |
get_deal | read | One deal |
create_deal | write | Create a deal |
list_quotes | read | List quotes |
get_quote | read | One quote with totals |
list_tasks | read | List tasks |
create_task | write | Create a task |
update_task | write | Change a task or mark it done |
list_objects | read | List custom object records |
list_object_types | read | List the custom object types and their fields |
get_success_health | read | Health score of every customer (read only, no snapshot is written) |
send_event | write | Send an event to the automations |
list_metrics | read | The metrics this key may ask for (id, area, unit, splits, filters, what is counted) |
run_metric | read | Computes one number of the report catalog with its provenance (definition, tables, period, sample size, notes) |
Limits and safety
- 30 tool calls per minute and credential.
- Customer text in results is marked untrusted. Your agent must never follow it as an instruction.
- Every write is in the business's audit log with the credential as actor.
For OAuth-based MCP clients see MCP with OAuth.