# Raygun MCP for AI Agents AI Agent Connect

> Raygun lets you manage application health and crash reports through your AI agent. Instead of clicking through complex dashboards, you can ask your agent to list your apps, check recent deployments, or pull up specific user sessions. It connects your Raygun account directly to your workflow, making it easy to track errors and monitor real-world performance in real-time.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_QpfOtHUiSame8oggeIDGUEXJk4SI9HG2gUoF0CTJ/ai-agent-connect
- **Tags:** error-tracking, crash-reporting, rum, application-monitoring, deployment-tracking

## Description

Imagine you're in the middle of a high-pressure release and something goes wrong. Usually, you'd have to jump between tabs, hunting for the right application ID, checking deployment logs, and trying to find a specific crash report that matches what your users are seeing. It's a lot of context switching that pulls you away from actually fixing the problem. With this Connector, you just tell your agent what's happening. You can ask it to pull up the latest deployment for a specific app or find every session where a user hit a specific error. It brings the data from your Raygun account directly into your chat or IDE. You'll spend less time digging and more time shipping. Because Vinkius hosts this, you can plug it into your favorite AI client and get these monitoring capabilities instantly. It turns your agent into a first-responder for app stability, letting you query user session data or send manual crash reports without ever opening a browser. You can quickly check the health of different environments or grab the metadata for a specific user journey to see exactly where the friction is. This is about moving from searching for data to getting answers the moment an incident occurs. Instead of being buried in a dashboard, you get a direct line to your app's health, making it much easier to identify bugs, track release progress, and understand how users are navigating your product in real time.

## Tools

### create_legacy_deployment
Create a new deployment using the legacy API for older system compatibility.

### list_applications
Get a full list of all applications currently accessible in your Raygun account.

### list_deployments
View the history of deployments for a specific application to see recent changes.

### rum_authenticate
Handle the authentication process for the legacy RUM API.

### rum_get_session
Pull the specific metadata and details for a single RUM session.

### rum_search_sessions
Search through your RUM sessions to find specific user journeys or locations.

### send_crash_report
Send a manual error payload to Raygun to track a specific crash.

## Prompt Examples

**Prompt:** 
```
List my Raygun apps.
```

**Response:** 
```
I've found 3 applications in your account:

* **Production-Web** (ID: web-01)
* **Mobile-API** (ID: api-02)
* **Staging-Env** (ID: stg-03)

Which one should I check?
```

**Prompt:** 
```
Show me the latest deployments for Production-Web.
```

**Response:** 
```
Here are the 3 most recent deployments for **Production-Web**:

| Version | Date | Deployer |
|---|---|---|
| 2.1.4 | 2 hours ago | CI-Runner |
| 2.1.3 | Yesterday | Jenkins |
| 2.1.2 | 3 days ago | Manual |

Would you like more details on a specific version?
```

**Prompt:** 
```
Find RUM sessions from the UK with session key XYZ.
```

**Response:** 
```
I found 4 sessions from the UK matching that key. The most recent one shows a user on Chrome/Windows who experienced a 3-second delay on the checkout page. 

**Session Details:**
* **User Journey:** Home > Cart > Checkout
* **Latency:** 3.2s
* **Device:** Windows / Chrome

Would you like the full metadata for this session?
```

## Capabilities

### List all active applications
See every app and environment connected to your Raygun account in one go.

### Check recent deployment history
See which versions were pushed and when they went live.

### Send manual crash reports
Push specific error payloads directly to Raygun for tracking.

### Search for user sessions
Find specific user sessions based on location or session keys.

### Inspect session metadata
Get the deep details on a specific user journey to debug issues.

### Track legacy deployments
Create and manage deployments using the older Raygun API for compatibility.

## Use Cases

### Debugging a production crash
A dev finds a bug in production and asks the agent to find RUM sessions from the US to see the crash using rum_search_sessions.

### Correlating a performance spike
An SRE notices a spike and asks the agent to list deployments for the web-app to see what changed using list_deployments.

### Logging a local QA bug
A QA tester wants to log a specific error they found locally using a manual crash report via send_crash_report.

### Analyzing new feature adoption
A product manager asks the agent to summarize the latest user journeys for a new feature using rum_get_session.

## Benefits

- Faster bug reproduction by using rum_search_sessions to find exactly what a user saw without manual filtering. This saves you from scrolling through hundreds of entries to find the one that actually matters.
- Instant deployment visibility with list_deployments so you can correlate performance spikes with specific releases. You'll see exactly what changed and when it happened without leaving your chat window.
- Simplified error tracking by using send_crash_report to push manual payloads during testing or local development. This lets you log issues before they even hit production, making your QA process much tighter.
- Reduced dashboard fatigue by using list_applications to manage multiple environments through a single chat interface. You no longer need to keep twenty tabs open just to see the status of your different app clusters.
- Deeper user insights by using rum_get_session to pull metadata on specific journeys for faster troubleshooting. You get the full context of a user's path through your site, which helps you spot UX hurdles faster.
- Legacy support for older systems via create_legacy_deployment and rum_authenticate ensures you don't lose visibility on older stacks. This keeps your monitoring consistent across your entire infrastructure, no matter how old the tech is.

## How It Works

The bottom line is you get instant, natural language access to your entire Raygun monitoring stack.

1. Subscribe to the Raygun MCP on Vinkius.
2. Provide your Raygun Personal Access Token or API Key.
3. Ask your agent to check app health or pull up RUM sessions.

## Frequently Asked Questions

**How can I use the Raygun MCP to monitor my app?**
You can use the Raygun MCP to check your application status, view recent deployments, and search for user sessions using natural language commands in your AI client.

**Can I send manual crash reports to Raygun using this?**
Yes, you can ask your agent to send a manual crash report. This is great for logging specific errors you encounter during testing before they hit your production environment.

**Does the Raygun MCP support Real User Monitoring (RUM)?**
Yes, it provides full access to RUM data. You can search for sessions based on location or keys and pull up specific metadata to debug user journeys.

**Can I see my deployment history through the Raygun MCP?**
You can ask your agent to list deployments for any specific application. It will return a history of versions, dates, and the users who pushed them.

**How do I connect my Raygun account to my AI agent?**
Simply subscribe to the Raygun MCP on Vinkius and enter your Raygun Personal Access Token or API Key to link your account to your AI client.

**Can I use the Raygun MCP to debug specific user sessions?**
Yes, you can query the Connector to find specific sessions and retrieve detailed metadata, helping you understand exactly where a user encountered a problem.

**Does the Raygun MCP work with my existing Raygun API key?**
Yes, it uses your existing Raygun API key or Personal Access Token to authenticate and interact with your account data securely.

**How can I see a list of all my Raygun applications?**
Use the `list_applications` tool. It will retrieve all applications associated with your Personal Access Token, including their IDs and names.

**Can I manually report an error that happened on a specific machine?**
Yes, use the `send_crash_report` tool. You can specify the machine name, error message, stack trace, and even custom data to be sent to Raygun.

**How do I search for user sessions from a specific country?**
First, authenticate using `rum_authenticate` to get a session key. Then, use `rum_search_sessions` and provide the country code in the parameters.