Reference
Lookup pages for the CLI, the MCP tools, the event catalog and the Hub REST API, generated from source.
The reference pages are generated from the source repositories, not written by hand. Each one says which repository
and commit it was generated from. The source repositories export the data as JSON;
scripts/sync-reference.mjs in this site's repository copies it and scripts/generate-reference.mjs turns it into
these pages.
The reference pages
CLI
Every command of @synap-core/cli, generated from its command definitions.
MCP tools
Every tool a pod exposes over MCP, with its parameters, generated from the tool definitions.
Event catalog
The event types automations can trigger on and webhooks deliver, generated from the event definitions.
Hub REST API
The pod's HTTP API for agents, scripts and integrations, rendered from its OpenAPI description.
Where each one comes from
| Reference | Generated from | Here |
|---|---|---|
CLI (@synap-core/cli) | The command definitions in the synap-cli repository (docs/reference/cli.json) | CLI |
| MCP tools | The tool definitions in the backend repository (docs/reference/mcp-tools.json) | MCP tools |
| Events | packages/events in the backend repository (docs/reference/events.json) | Event catalog |
| Hub REST API | The OpenAPI description every pod serves at /api/hub/openapi.json (docs/reference/hub-openapi.json) | Hub REST API |
Two references are not generated yet:
| Reference | Source of truth | Here |
|---|---|---|
| Pod configuration | deploy/env.schema in the backend repository | Configuration |
Server CLI (synap on a pod host) | synap help and synap <command> --help on the server | Run |