Raygun MCP Server
OfficialThe Raygun MCP Server provides comprehensive API V3 access to manage your Raygun account through the Model Context Protocol, including:
Applications: List, view, and regenerate API keys
Error Management: List and manage error groups (resolve, activate, ignore, permanently ignore)
Deployment Management: List, view, update, delete, and reprocess deployment commits
User & Session Management: List customers, user sessions, and view detailed session information
Performance Monitoring: List pages, retrieve time-series and histogram metrics for page performance and errors
Source Maps: List, view, update, delete, upload, or delete all source maps
Team Management: List, send, view, and revoke team invitations
Provides access to Raygun's API V3 endpoints for managing crash reporting and real user monitoring data, including applications, error groups, deployments, user sessions, performance metrics, and source maps.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Raygun MCP Servershow me recent errors in my production app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π Raygun MCP Server
Investigate errors and performance in Raygun with AI assistants
A remote Model Context Protocol (MCP) server that connects AI assistants to Raygun Crash Reporting, Real User Monitoring, and Application Performance Monitoring.
π Setup Guide β’ π Tool Reference β’ π Quick Start
β¨ Key Features
π Error Management - Investigate, resolve, and track application errors and crashes with full stack traces and context
π Deployment Tracking - Monitor releases and correlate 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, behavior patterns, and identify affected users
π€ Team Collaboration - Manage invitations and coordinate error resolution across your team
π Metrics & Analytics - Time-series analysis and distribution histograms for errors and performance
Related MCP server: MCP REST API Server
π Requirements
A Raygun account with an active subscription
An MCP client with OAuth support, or a Raygun Personal Access Token
π Getting Started
The Raygun MCP server is hosted at:
https://api.raygun.com/v3/mcpRaygun hosts and updates the service, so there is no package or local server to install.
OAuth (recommended)
Add the URL as a Streamable HTTP server without an Authorization header. On first connection, your MCP client will open Raygun in your browser so you can sign in, select a plan, review the requested permissions, and authorize access.
You do not need to supply an OAuth client ID or client secret. Raygun supports automatic client registration.
codex mcp add raygun --url https://api.raygun.com/v3/mcp
codex mcp login raygunThis configuration is shared by the Codex CLI, Codex IDE extension, and ChatGPT desktop app on the same Codex host.
In the ChatGPT desktop app, open Settings > MCP servers, select Add server, choose Streamable HTTP, and 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 your local Codex MCP configuration. A separately published Raygun Plugin would be installed from the Plugins catalog.
claude mcp add --transport http raygun https://api.raygun.com/v3/mcpRun /mcp in Claude Code and follow the browser authentication flow.
{
"mcpServers": {
"raygun": {
"url": "https://api.raygun.com/v3/mcp"
}
}
}Cursor will prompt you to authenticate when it connects.
{
"servers": {
"raygun": {
"type": "http",
"url": "https://api.raygun.com/v3/mcp"
}
}
}VS Code will prompt you to authenticate when it connects.
Personal Access Token
PAT authentication remains supported for clients without MCP OAuth support and for automation. The following example uses Cursor's configuration format; other clients use the same Authorization header in their HTTP server configuration:
{
"mcpServers": {
"raygun": {
"url": "https://api.raygun.com/v3/mcp",
"headers": {
"Authorization": "Bearer YOUR_PAT_TOKEN"
}
}
}
}π¬ Your First Prompt
After configuration, try asking your AI assistant:
βFind the errors that first appeared after the latest deployment of my checkout application.β
βInvestigate the most frequently occurring production error and show me a representative stack trace.β
βWhich backend methods or database queries consumed the most time in the last 24 hours?β
βShow me the last session for customer
user@example.comand explain where their experience failed.ββCompare p95 page performance over the last seven days and identify the largest regression.β
π οΈ Tools
The Raygun MCP server provides the following categories of tools:
applications_list- List all applications in your Raygun accountapplications_search- Search for applications by nameapplication_get_details- Get detailed application informationapplication_regenerate_api_key- Generate a new API key for an application
error_groups_list- List error groups within an applicationerror_groups_search- Search occurrences by error, stack trace, URL, version, user, tags, or custom dataerror_group_investigate- Get complete details about a specific error grouperror_group_update_status- Change error group status (resolve, ignore, activate)error_group_add_comment- Add investigation notes to an error grouperror_group_read_comments- Review existing investigation noteserror_group_instances_list- List occurrences in an error grouperror_instance_get- Get the full stack trace and context for an occurrence
deployments_list- List deployments for an applicationdeployment_create- Create a new deployment recorddeployment_get_latest- Get the most recent deployment with error analysisdeployment_investigate- Get comprehensive deployment informationdeployment_manage- Update or delete a deployment
customers_search- Search customers by name, email, or identifiercustomer_investigate- Get customer profile, recent error groups, and sessionssessions_list- List user sessions with environment and device datasession_investigate- Inspect a session's environment, errors, and page views
apm_issues_search- Find recurring backend performance issues and anti-patternsapm_issue_investigate- Inspect an issue's metrics and affected tracesapm_traces_search- Find slow or failing backend requestsapm_trace_investigate- Inspect profiler threads and significant calls in a traceapm_hotspots_search- Rank slow methods, database queries, and external calls
pages_list- List monitored pages in an applicationpage_investigate- Get page details for metrics queriesmetrics_website_performance_analyze- Track performance trends over timemetrics_performance_distribution_analyze- Understand performance variabilitymetrics_error_trends_analyze- Track error rates and patterns
invitations_manage- List and review team invitationsinvitation_send- Send a new team invitationinvitation_revoke- Cancel a pending invitation
For detailed documentation on each tool, see the Tool Reference.
π Authentication
OAuth
Raygun implements the MCP authorization flow for HTTP clients. The server advertises its authorization server through OAuth Protected Resource Metadata, and compatible clients register themselves 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 grants access to one Raygun plan. Add another Raygun MCP configuration and authorize it separately when you need to work with a different plan.
Security and access
OAuth never gives the client more access than the signed-in Raygun user already has.
Read and write access is controlled by the scopes approved during OAuth or assigned to the PAT.
Some tools can change Raygun data, including error statuses, deployments, invitations, comments, and ingestion API keys. Review write actions before approving them in your MCP client.
Application tools can return or rotate ingestion API keys. Treat returned keys as credentials; rotating a key immediately invalidates the previous one.
Tool results may be included in conversations processed by your chosen AI client or model provider. Follow your organization's policies for sharing diagnostic and customer data.
Obtaining a Personal Access Token
PATs remain available when OAuth is not suitable:
Navigate to Raygun Personal Access Tokens
Click Create New Token
Give your token a descriptive name (e.g., "MCP Server Access")
Select the appropriate permissions for your use case
Copy the generated token and send it as
Authorization: Bearer YOUR_PAT_TOKEN
Keep PATs secure and never commit them to version control.
For more details, see the Raygun API documentation.
π About
The Raygun MCP server enables AI assistants to investigate Crash Reporting, RUM, and APM data; track deployments; analyze performance; and manage application monitoring through natural-language conversations.
π Resources
π Raygun Documentation
π Raygun API Reference
π Report Issues
Built with β€οΈ by Raygun
This server cannot be deployed
Maintenance
Related MCP Connectors
A Model Context Protocol (MCP) server for Selise Blocks Cloud integration
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
The official Planning Center MCP server for interacting with your ministry's data.
MCP server for Ably β channel history, presence, occupancy, stats, publish, and app management.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that retrieves and analyzes Sentry.io issues, allowing users to inspect error reports, stacktraces, and debugging information from their Sentry account.222-
- FlicenseNot gradedqualityDmaintenanceA server implementation of the Model Context Protocol (MCP) that provides REST API endpoints for managing and interacting with MCP resources.-
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides Xcode-related tools for integration with AI assistants and other MCP clients.5456,901 npm1MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server for Apple's App Store Connect API. Manage your iOS, macOS, tvOS, and visionOS apps directly from Claude, Cursor, or any MCP-compatible client.5252 npm24MIT