Skip to content
Documentation
Hevia for developers

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.

ToolModeDescription
list_contactsreadList contacts
upsert_contactwriteCreate or update a contact (matched by e-mail or phone)
list_conversationsreadList conversations
get_conversationreadOne conversation with its messages (internal notes are never included)
list_requestsreadList requests (forms, hand-overs, tickets)
get_requestreadOne request
list_dealsreadList deals
get_dealreadOne deal
create_dealwriteCreate a deal
list_quotesreadList quotes
get_quotereadOne quote with totals
list_tasksreadList tasks
create_taskwriteCreate a task
update_taskwriteChange a task or mark it done
list_objectsreadList custom object records
list_object_typesreadList the custom object types and their fields
get_success_healthreadHealth score of every customer (read only, no snapshot is written)
send_eventwriteSend an event to the automations
list_metricsreadThe metrics this key may ask for (id, area, unit, splits, filters, what is counted)
run_metricreadComputes 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.

Generated from the product's own registries, so the reference matches the API.