mcp-server-raygun is a remote Model Context Protocol (MCP) server used to connect AI assistants to Raygun's Crash Reporting, Real User Monitoring (RUM), and Application Performance Monitoring (APM) services. Its goal is to enable AI programming assistants to investigate errors and performance issues, helping users explain and resolve failures in applications.
Main Capabilities
The server provides the following categories of tools:
- Error management: Investigate, resolve, and track application errors and crashes, including complete stack traces and context.
- Deployment tracking: Monitor releases and associate errors with deployments to identify problematic changes.
- Performance insights: Analyze page load times, user metrics, and performance trends over time.
- APM investigation: Find backend hotspots, recurring performance issues, and slow traces.
- User monitoring: Track customer sessions and behavior patterns, and identify affected users.
- Team collaboration: Manage invitations and coordinate error resolution within teams.
- Metrics and analytics: Perform time series analysis and distribution histograms on errors and performance.
Specific tools include: applications_list, applications_search, application_get_details, application_regenerate_api_key, error_groups_list, error_groups_search, error_group_investigate, error_group_update_status, error_group_add_comment, error_group_read_comments, error_group_instances_list, error_instance_get, deployments_list, deployment_create, deployment_get_latest, deployment_investigate, deployment_manage, customers_search, customer_investigate, sessions_list, session_investigate, apm_issues_search, apm_issue_investigate, apm_traces_search, apm_trace_investigate, apm_hotspots_search, pages_list, page_investigate, metrics_website_performance_analyze, metrics_performance_distribution_analyze, metrics_error_trends_analyze, invitations_manage, invitation_send, invitation_revoke. For detailed documentation, see Tool Reference.
How to Use
The Raygun MCP server is hosted at Raygun's remote address and is hosted and updated by Raygun, so there is no need to install packages or a local server. Prerequisites are a Raygun account with an active subscription, and an MCP client that supports OAuth, or a Raygun Personal Access Token.
OAuth (Recommended)
Add the URL as a Streamable HTTP server, without setting an Authorization header. On the first connection, the MCP client will open a Raygun page in the browser, letting you log in, select a plan, review the requested permissions, and authorize access. There is no need to provide an OAuth client ID or client secret; Raygun supports automatic client registration. This configuration is shared across Codex CLI, the Codex IDE extension, and the ChatGPT desktop app on the same Codex host. In the ChatGPT desktop app, open Settings > MCP servers, select Add server, select Streamable HTTP, enter the Raygun endpoint, save and restart the app, then select Authenticate for Raygun. ChatGPT on the web uses remote MCP tools through Plugins and does not read the local Codex MCP configuration; you need to install the separately published Raygun Plugin from the Plugins directory. In Claude Code, run /mcp and follow the browser authentication flow. Cursor and VS Code will prompt for authentication when connecting.
Personal Access Token
PAT authentication is still supported for clients without MCP OAuth support and for automation scenarios. The following example uses Cursor's configuration format; other clients use the same Authorization header in their HTTP server configuration. Steps to obtain a PAT: navigate to Raygun Personal Access Tokens, click Create New Token, give the token a descriptive name (for example "MCP Server Access"), select the permissions appropriate for the use case, copy the generated token and send it as Authorization: Bearer YOUR_PAT_TOKEN. Keep the PAT safe and never commit it to version control. For more details, see the Raygun API documentation.
When to Use
Once configured, you can ask the AI assistant questions such as:
- "Find errors that first appeared after the latest deployment of my checkout app."
- "Investigate the most frequent production errors and show a representative stack trace."
- "Which backend methods or database queries took the most time in the past 24 hours?"
- "Show the last session for customer user@example.com and explain where their experience failed."
- "Compare p95 page performance over the past seven days and identify the largest performance regressions."
Authentication and Security
Raygun implements the MCP authorization flow for HTTP clients. The server publishes its authorization server via OAuth Protected Resource Metadata, and compatible clients register automatically using Client ID Metadata Documents or Dynamic Client Registration. Access is tied to the Raygun user, plan, and scopes approved on the consent screen. Compatible clients securely store and refresh their own tokens. Each OAuth connection authorizes access to one Raygun plan; to work with other plans, add another Raygun MCP configuration and authorize it separately.
Regarding security and access: OAuth does not give the client more access than the logged-in Raygun user already has. Read and write access is determined by the scopes approved during OAuth orScope controls assigned to the PAT. Some tools can change Raygun data, including error status, deployments, invitations, comments, and ingestion API keys; review before approving write operations in the MCP client. App tools can return or rotate ingestion API keys; treat returned keys as credentials, and rotating a key immediately invalidates the previous key. Tool results may be included in conversations processed by the selected AI client or model provider; follow your organization's policies on sharing diagnostic and customer data.
Limitations
Using this server requires a Raygun account with an active subscription and an OAuth-capable MCP client or a Raygun Personal Access Token. This server is remotely hosted, managed, and updated by Raygun, so there is no local package or server to install. Specific pricing, billing methods, or free tier information is not provided in the materials and is not available at this time.