Gives coding assistants access to Raygun crash reports and real user monitoring data to investigate and resolve errors.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add raygun --env RAYGUN_PAT_TOKEN='<RAYGUN_PAT_TOKEN>' -- npx -y @raygun.io/mcp-server-raygun~/.codex/config.toml
[mcp_servers.raygun]
command = "npx"
args = ["-y", "@raygun.io/mcp-server-raygun"]
env = { RAYGUN_PAT_TOKEN = "<RAYGUN_PAT_TOKEN>" }
# codex mcp add raygun --env RAYGUN_PAT_TOKEN='<RAYGUN_PAT_TOKEN>' -- npx -y @raygun.io/mcp-server-raygun~/.cursor/mcp.json
{
"mcpServers": {
"raygun": {
"command": "npx",
"args": [
"-y",
"@raygun.io/mcp-server-raygun"
],
"env": {
"RAYGUN_PAT_TOKEN": "<RAYGUN_PAT_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"raygun": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@raygun.io/mcp-server-raygun"
],
"env": {
"RAYGUN_PAT_TOKEN": "<RAYGUN_PAT_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"raygun": {
"command": "npx",
"args": [
"-y",
"@raygun.io/mcp-server-raygun"
],
"env": {
"RAYGUN_PAT_TOKEN": "<RAYGUN_PAT_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"raygun": {
"command": "npx",
"args": [
"-y",
"@raygun.io/mcp-server-raygun"
],
"env": {
"RAYGUN_PAT_TOKEN": "<RAYGUN_PAT_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"raygun": {
"command": "npx",
"args": [
"-y",
"@raygun.io/mcp-server-raygun"
],
"env": {
"RAYGUN_PAT_TOKEN": "<RAYGUN_PAT_TOKEN>"
}
}
}
}Remote
claude mcp add --transport http raygun https://api.raygun.com/v3/mcp~/.codex/config.toml
[mcp_servers.raygun]
url = "https://api.raygun.com/v3/mcp"
# codex mcp add raygun --url https://api.raygun.com/v3/mcp~/.cursor/mcp.json
{
"mcpServers": {
"raygun": {
"url": "https://api.raygun.com/v3/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"raygun": {
"type": "http",
"url": "https://api.raygun.com/v3/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"raygun": {
"httpUrl": "https://api.raygun.com/v3/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"raygun": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.raygun.com/v3/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"raygun": {
"url": "https://api.raygun.com/v3/mcp"
}
}
}Environment variables
RAYGUN_PAT_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.