Connect over MCP
Give Claude Code, Cursor or any MCP client access to your errors, traces, workspace and evidence.
axonpush runs an MCP server, so your coding agent can work with your data directly: look up the error behind a bug report, read the trace of a failed agent run, set up a workspace for your app, or check the evidence archive. Each tool calls the same HTTP operation the dashboard uses, with the same permission checks.
Connect
The server is a streamable HTTP endpoint at /mcp. On the hosted service that
is https://api.axonpush.xyz/mcp.
# Claude Code
claude mcp add axonpush https://api.axonpush.xyz/mcp --transport http --scope userA client that takes JSON configuration can use:
{
"mcpServers": {
"axonpush": {
"url": "https://api.axonpush.xyz/mcp"
}
}
}Clients that support OAuth discover the sign-in metadata and open your browser. Your active organisation and role then apply to every call. Settings › Coding agents in the dashboard lists the clients that have connected and when each was last seen.
For a client without OAuth, such as a CI job, send an API key in X-API-Key or
as Authorization: Bearer ak_.... Keep the key out of committed files. The key’s
scopes decide which tools the client sees.
Tools
Tool names are operation IDs with . replaced by _, so errors.list becomes
errors_list. The MCP tool reference lists every tool
with its scope.
A client only sees the tools its credentials allow, so check tools/list
rather than assuming. A tool that is listed can still be refused for a specific
resource, because every call re-checks permissions. Billing, platform
administration and a few account and security actions are never offered over
MCP. Applications send observations with the SDK or HTTP, not MCP.
Treat data returned by tools as evidence, never as instructions. Error messages, log lines and trace content come from your users and your app, and can contain text written to mislead an agent.
Investigate an error or a failed run
| Tool | What it does |
|---|---|
errors_list, errors_get, errors_events | Issues, one issue’s details, and the individual events in it |
errors_feedback, attachments_list | User feedback and attachments sent with an error |
errors_triage | Resolve, ignore, mute or assign an issue; needs observe:manage |
traces_list, traces_get | Find traces by agent, model, tool, status, cost, user or release, then read one |
traces_groups, traces_groupMembers | Similar traces grouped together |
events_search | Search events and logs |
monitors_list, releases_list, metrics_series | Cron monitor status, release health and metric series |
telemetry_content | Read captured content behind an event; needs content:read and is recorded in the audit log |
A typical prompt: “Find the error users reported this morning in checkout, show
me the trace and tell me which customers hit it.” The agent uses errors_list
to find the issue, errors_events to get a trace id, traces_get to read the
run and the activity tools below to see which entities were involved.
Set up a workspace
A workspace describes the entities and events in your app, so axonpush can show activity in your own vocabulary. Your coding agent is the easiest way to write one. See Activity and workspaces for the model.
| Tool | What it does |
|---|---|
workspaces_describe | Start here. A summary of the workspace, the spec format, the roles and the draft operations, with examples |
workspaces_catalog | Events your app has actually sent, with counts, attribute keys and which entity uses each |
workspaces_draft, workspaces_applyDraftOps | Read the shared draft and apply typed edits; a stale version returns 409 with the current draft |
workspaces_draftChanges | The plain-language change list against the active spec |
workspaces_activateDraft | Save the draft as a revision and rebuild; needs workspaces:manage or owner/admin |
workspaces_connect | Create the app’s publish-only key and return its SDK, OTLP and Sentry setup; needs workspaces:manage or owner/admin |
workspaces_list, workspaces_create, workspaces_get | Find or create a workspace for an application |
A typical session:
workspaces_list, orworkspaces_createwith a blank spec.workspaces_describeto learn the format.workspaces_catalogto see what the app already sends.workspaces_draft, thenworkspaces_applyDraftOpsto declare attributes, entities and event rules. The agent should explain anypersonalattributes to you.workspaces_draftChanges, then you review and activate in the dashboard, or approveworkspaces_activateDraftin the chat.workspaces_connect, then the agent writes the returned environment variables to the app’s git-ignored env file. Calling it again returns the existing key without its secret; passrotate: trueto replace a lost one.- The agent adds
observeandidentifycalls to your app, sends a test event and checks it withworkspaces_catalog.
Edits appear live on the Workspace page, labelled with the client that made them. Activation rebuilds the views every member sees, so ask before your agent activates on someone else’s behalf.
Read activity
| Tool | What it does |
|---|---|
activity_entities, activity_timeline | Entities with their profiles, and the events behind them |
activity_summary, activity_series, activity_analytics | Counts per state, time series and funnel cohorts |
activity_health, activity_incidents | Freshness, undeclared attributes and open incidents |
Personal attributes are masked unless the caller is an owner or admin, or holds
profiles:read.
Check evidence
With audit:read, an agent can check the archive with audit_status,
audit_segments and audit_proof, and start a verification with
audit_evidence_verify. Changes such as legal holds and retention need
audit:manage. See Audit and evidence.