Skip to Content
OpenPerf

Automate

MCP server

Let an AI assistant read your errors, traces, logs and releases over MCP.

The MCP server gives an AI assistant access to one organization: its projects, error groups, traces, logs and releases. The assistant can also change the status of error groups if you allow it.

Connect an assistant

Turn the server on

Open Settings → API and turn on Enable MCP server. The server is off until an owner or admin turns it on. The switch applies to one organization.

Add the server to the assistant

Two rows appear under the switch. Server URL is the address to give the assistant; it ends with /mcp. Show instructions opens a dialog with the setup for Claude, Codex and OpenCode, with your server URL filled in and the command that starts the sign-in.

The examples below use https://mcp.example.com/mcp. Replace it with your Server URL.

claude mcp add --transport http openperf https://mcp.example.com/mcp
claude mcp login openperf

In Claude.ai, add the server URL under Settings → Connectors instead.

Sign in and allow access

The assistant opens the browser. Sign in to OpenPerf, pick the organization on Choose an organization, then select Allow. The assistant only sees data from the organization you choose.

To check that it worked, ask the assistant to list your OpenPerf projects.

Any member of the organization can connect an assistant this way. Organizations with the server turned off are marked MCP off and cannot be chosen. The last screen lists what the assistant asked for:

PermissionMeaning
Read telemetryProjects, errors, traces, logs and releases.
Change error statusResolve, archive, ignore or reopen errors. Marked Write.
See your profileYour name and email address.
Stay connectedThe assistant stays signed in and does not ask again. Access ends when the MCP server is turned off or you leave the organization.

Select Deny to stop the connection.

Connect with an API token

Clients that cannot open a browser can send an API token instead. Put it in the Authorization header as a Bearer token. For example, in a .mcp.json file for Claude Code:

.mcp.json
{
  "mcpServers": {
    "openperf": {
      "type": "http",
      "url": "https://mcp.example.com/mcp",
      "headers": {
        "Authorization": "Bearer opt_your_token"
      }
    }
  }
}

A token acts as the organization, not as a person. Keep it out of files you commit.

Tools

The server registers up to eleven tools, all scoped to one organization. Read tools share optional projectIds (up to 50), from / to (ISO 8601, default last 24 hours, max 90 days), environment (up to 20), and cursor or offset pagination.

ToolKey parametersReturns
list_projects—Projects of the organization
list_error_groupsmessage, release, status, level, platform, sort, limitError groups with counts and status
get_error_groupid (required)One error group with totals and sample stack
list_error_eventsid (required), cursor, limitOccurrences of an error group, newest first
list_tracesname, platform, minDurationMs, errorsOnly, cursor, limitTraces with root span, duration and status
get_tracetraceId (required), spanLimit, logLimit, errorLimitOne trace with its spans, errors and logs
list_logsmessage, severity, traceId, cursor, limitLog records, newest first
list_releasesversion, limit, offsetReleases created in the time range
get_releaseid (required), environmentRelease health and newly introduced errors
update_error_group_statusids (1–200), status (unresolved, resolved, ignored, archived)Updated groups (requires write access)
list_audit_eventsfrom, to, actorId, action, source, cursor, limitAudit log up to 90 days (signed-in owner)

update_error_group_status is listed only when the assistant may make changes — with Change error status on sign-in, or with a non-read-only API token. list_audit_events is listed only when an organization owner signs in.

Limits

  • Every tool call is recorded in the audit log as mcp.tool_called, with the tool, the caller and the outcome. Status changes are recorded as error_group.status_changed.
  • A request for a project outside the organization fails.
  • Time ranges default to the last 24 hours and cannot exceed 90 days.
  • Text values longer than 4,000 characters are cut. A result over 200 KB is refused; lower the limits, shorten the time range or add filters.
  • Requests are rate limited per token or signed-in user and per client address. Over the limit the server answers 429 with a Retry-After header.
  • Turning Enable MCP server off blocks every request with 403 and the code MCP_DISABLED, for tokens and for signed-in assistants.
  • An assistant connected by sign-in loses access when that person leaves the organization or is removed from it.

On this page