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 user

A 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

ToolWhat it does
errors_list, errors_get, errors_eventsIssues, one issue’s details, and the individual events in it
errors_feedback, attachments_listUser feedback and attachments sent with an error
errors_triageResolve, ignore, mute or assign an issue; needs observe:manage
traces_list, traces_getFind traces by agent, model, tool, status, cost, user or release, then read one
traces_groups, traces_groupMembersSimilar traces grouped together
events_searchSearch events and logs
monitors_list, releases_list, metrics_seriesCron monitor status, release health and metric series
telemetry_contentRead 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.

ToolWhat it does
workspaces_describeStart here. A summary of the workspace, the spec format, the roles and the draft operations, with examples
workspaces_catalogEvents your app has actually sent, with counts, attribute keys and which entity uses each
workspaces_draft, workspaces_applyDraftOpsRead the shared draft and apply typed edits; a stale version returns 409 with the current draft
workspaces_draftChangesThe plain-language change list against the active spec
workspaces_activateDraftSave the draft as a revision and rebuild; needs workspaces:manage or owner/admin
workspaces_connectCreate 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_getFind or create a workspace for an application

A typical session:

  1. workspaces_list, or workspaces_create with a blank spec.
  2. workspaces_describe to learn the format.
  3. workspaces_catalog to see what the app already sends.
  4. workspaces_draft, then workspaces_applyDraftOps to declare attributes, entities and event rules. The agent should explain any personal attributes to you.
  5. workspaces_draftChanges, then you review and activate in the dashboard, or approve workspaces_activateDraft in the chat.
  6. 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; pass rotate: true to replace a lost one.
  7. The agent adds observe and identify calls to your app, sends a test event and checks it with workspaces_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

ToolWhat it does
activity_entities, activity_timelineEntities with their profiles, and the events behind them
activity_summary, activity_series, activity_analyticsCounts per state, time series and funnel cohorts
activity_health, activity_incidentsFreshness, 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.