MCP server
Connect Claude Code, Claude Desktop or another MCP client to a Cardinal site.
Each site with Eden on serves the Model Context Protocol at /api/eden/mcp. An MCP client signs in as one user and gets Eve's read tools, plus tools to write records and build automations. Every call runs as that user, with Eden Settings' RecTypes Eve may read and Submittable RecTypes Eve may act on applied.
Get a key
A System Manager opens the user's form and clicks Generate Keys. The secret shows once. The client sends both in every request:
Authorization: Bearer API_KEY:API_SECRETUse https, since the key and secret travel with every request. The server has no OAuth sign-in.
Connect a client
claude mcp add --transport http eden https://HOST/api/eden/mcp \
--header "Authorization: Bearer API_KEY:API_SECRET"Tools
| Tool | What it does |
|---|---|
find_data, search_catalog, describe_rectype, get_record, query_records, global_search, run_report | Eve's read tools |
erp_totals | Invoice totals, on a site with ERP |
write_records | Create, update or delete up to 20 records in one transaction. Draft, submit or cancel a submittable RecType listed in Eden Settings. |
create_rectype | A new site RecType. System Manager only. |
propose_automation, save_automation | Adam builds an automation, then the client saves it enabled, owned by the user |
propose_workflow, save_workflow | Adam builds an approval workflow, then the client saves it. System Manager only. |
show_chart, show_table | A chart or table from a query or report, for clients that support MCP Apps |
The client asks its own user before each write, so write_records shows no card. If one record in a call is refused, none is written.
Tool results come back as text, cut to 24,000 characters. Calls count toward Eden Settings' MCP tool calls per hour. Past the limit the server answers 429 with Retry-After.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or wrong key and secret |
| 403 | Eden is off, or the Origin header names another host |
| 405 | GET or DELETE |
| 429 | The user is over MCP tool calls per hour |