🔭 Raygun MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
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
📋 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:
Raygun 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 and the ChatGPT desktop app
This 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 Code
Run /mcp in Claude Code and follow the browser authentication flow.
Cursor
Cursor will prompt you to authenticate when it connects.
VS Code
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:
💬 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.com and 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
- applications_list - List all applications in your Raygun account
- applications_search - Search for applications by name
- application_get_details - Get detailed application information