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 openperfIn 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.
What the consent screen asks
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:
| Permission | Meaning |
|---|---|
| Read telemetry | Projects, errors, traces, logs and releases. |
| Change error status | Resolve, archive, ignore or reopen errors. Marked Write. |
| See your profile | Your name and email address. |
| Stay connected | The 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:
{
"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.
| Tool | Key parameters | Returns |
|---|---|---|
list_projects | — | Projects of the organization |
list_error_groups | message, release, status, level, platform, sort, limit | Error groups with counts and status |
get_error_group | id (required) | One error group with totals and sample stack |
list_error_events | id (required), cursor, limit | Occurrences of an error group, newest first |
list_traces | name, platform, minDurationMs, errorsOnly, cursor, limit | Traces with root span, duration and status |
get_trace | traceId (required), spanLimit, logLimit, errorLimit | One trace with its spans, errors and logs |
list_logs | message, severity, traceId, cursor, limit | Log records, newest first |
list_releases | version, limit, offset | Releases created in the time range |
get_release | id (required), environment | Release health and newly introduced errors |
update_error_group_status | ids (1–200), status (unresolved, resolved, ignored, archived) | Updated groups (requires write access) |
list_audit_events | from, to, actorId, action, source, cursor, limit | Audit 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 aserror_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
429with aRetry-Afterheader. - Turning Enable MCP server off blocks every request with
403and the codeMCP_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.