Skip to content

Menu

Raygun MCP Server logo

Raygun MCP Server

Published

At a glance

Watch out for
Each OAuth connection is bound to one Raygun plan, so working across plans means adding and authorising a separate server entry per plan.

Raygun publishes this MCP server itself, and the GitHub repo under the MindscapeHQ organisation holds the documentation and tool reference rather than code you run. The server is hosted by Raygun at https://api.raygun.com/v3/mcp and speaks Streamable HTTP, so there is no package to install and nothing to keep updated on your machine.

It connects an AI assistant to the three main parts of Raygun: Crash Reporting, Real User Monitoring and Application Performance Monitoring. An agent can pull error groups and stack traces, look at deployments, inspect customer sessions, rank slow backend calls and chart performance over time.

Authentication is OAuth by default. Your client opens Raygun in the browser, you sign in, pick a plan and approve the requested scopes. A Personal Access Token sent as a bearer header still works for clients without MCP OAuth support and for automation. Which tools show up depends on the scopes you grant.

How it connects

Your AI app

An assistant or agent that supports MCP

Raygun MCP Server

Runs as

  • Remote (HTTP)

Gives the agent

  • Error investigation
  • Error triage
  • Deployments
  • Customers and sessions
  • Backend performance (APM)
  • Frontend metrics
  • Account admin

Raygun

Signs in with

  • OAuth / browser sign-in
  • Token
Your AI app talks to Raygun MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Error investigation
error_groups_list, error_groups_search and error_group_investigate find and explain error groups, while error_instance_get returns the full exception details, request context and breadcrumbs for one occurrence.
Error triage
error_group_update_status activates, resolves or ignores a group, and error_group_add_comment and error_group_read_comments keep investigation notes on it.
Deployments
deployments_list, deployment_get_latest and deployment_investigate tie errors to releases. deployment_create and deployment_manage record, update or delete deployments.
Customers and sessions
customers_search and customer_investigate look up a user's profile and recent errors, and sessions_list and session_investigate show environment, errors and page views for a session.
Backend performance (APM)
apm_hotspots_search ranks slow methods, database queries and external calls. apm_issues_search picks up patterns such as N+1 queries, and apm_traces_search with apm_trace_investigate drills into slow requests.
Frontend metrics
pages_list, page_investigate, metrics_website_performance_analyze, metrics_performance_distribution_analyze and metrics_error_trends_analyze cover page load trends, distributions and error rates.
Account admin
applications_list, applications_search and application_get_details describe apps, application_regenerate_api_key rotates an ingestion key, and invitation_send, invitation_revoke and invitations_manage handle team invites.

Setting it up

You need a Raygun account with an active plan. In Claude Code, run claude mcp add --transport http raygun https://api.raygun.com/v3/mcp, then run /mcp inside Claude Code and finish the browser sign-in. For Cursor, add an entry under mcpServers named raygun with "url": "https://api.raygun.com/v3/mcp"; VS Code uses a servers entry with "type": "http" and the same URL, and both prompt you to authenticate on connect. Codex users run codex mcp add raygun --url https://api.raygun.com/v3/mcp followed by codex mcp login raygun. No OAuth client ID or secret is needed, since Raygun supports automatic client registration. If your client cannot do OAuth, create a token at app.raygun.com/user/tokens with the scopes you need and add a header "Authorization": "Bearer YOUR_PAT_TOKEN" to the server config. For Codex, set RAYGUN_PAT and pass --bearer-token-env-var RAYGUN_PAT to codex mcp add.

Run in a terminal
claude mcp add --transport http raygun https://api.raygun.com/v3/mcp

If the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Find the errors that first appeared after the latest deployment of an application and show a representative stack trace.
  • Work through the most frequent production error, add a comment with findings and mark it resolved once a fix ships.
  • List the backend methods and database queries that used the most time in the last 24 hours.
  • Pull up the last session for a customer who reported a problem and explain where it went wrong.
  • Compare p95 page performance across the past week to spot the biggest regression.

Limitations and things to watch

  • Each OAuth connection is bound to one Raygun plan, so working across plans means adding and authorising a separate server entry per plan.
  • Several tools write data, including error statuses, deployments, comments, invitations and ingestion API keys, so write calls deserve a review before you approve them.
  • application_regenerate_api_key invalidates the previous ingestion key immediately, which can break error reporting from apps still using the old key.
  • Access never exceeds what the signed-in user has, and a call outside the granted OAuth or PAT scopes returns HTTP 403.
  • Tool results, which can include customer and diagnostic data, are passed to whichever AI client and model provider you use.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…