Sentry MCP Server
Sentry MCP servers enable AI models to interact with Sentry's error monitoring and performance tracking platform, providing capabilities for analyzing errors, tracking performance, and assisting in debugging applications.
Overview
The Sentry MCP Server enables AI models to interact directly with Sentry's error monitoring and performance tracking platform through the Model Context Protocol (MCP). It provides a standardized interface for error analysis, performance monitoring, and automated issue management while maintaining security and data privacy.
Official Server:
Developed and maintained by Sentry
Key Features
Error Tracking & Analysis
Access and analyze Sentry issues, errors, and stack traces.
Performance Monitoring
Monitor application performance data and identify bottlenecks.
Issue Management
Manage and resolve issues, including creating projects and DSNs.
AI-Assisted Debugging
Leverage AI for root cause analysis and automated fixes via Seer integration.
Available Tools
Quick Reference
| Tool | Purpose | Category |
|---|---|---|
get_sentry_issue | Retrieve and analyze a Sentry issue by ID or URL | Read |
list_project_issues | List issues from a specific Sentry project | Read |
list_projects | Lists all accessible Sentry projects | Discovery |
create_project | Creates a new project in Sentry | Write |
Detailed Usage
get_sentry_issue▶
Retrieve and analyze a Sentry issue by ID or URL.
use_mcp_tool({
server_name: "sentry",
tool_name: "get_sentry_issue",
arguments: {
issue_id_or_url: "https://sentry.io/organizations/your-org/issues/12345/"
}
});
Returns issue details including title, ID, status, level, timestamps, event count, and full stacktrace.
list_project_issues▶
Lists issues from a specific Sentry project.
use_mcp_tool({
server_name: "sentry",
tool_name: "list_project_issues",
arguments: {
organization_slug: "your-organization-slug",
project_slug: "your-project-slug"
}
});
Returns a list of issues with basic information.
create_project▶
Creates a new project in Sentry.
use_mcp_tool({
server_name: "sentry",
tool_name: "create_project",
arguments: {
organization_slug: "your-organization-slug",
team_slug: "your-team-slug",
name: "New Project Name",
platform: "javascript"
}
});
Returns details of the newly created project, including client keys.
Installation
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": [
"-y",
"@sentry/mcp-server@latest",
"--access-token",
"YOUR_SENTRY_TOKEN"
],
"env": {
"SENTRY_HOST": "your_sentry_host" // Optional, for self-hosted Sentry
}
}
}
}
Sentry Access Token:
Replace YOUR_SENTRY_TOKEN with a Sentry User Auth Token with appropriate scopes (org:read, project:read, project:write, team:read, team:write, event:write).
Sources
Related Articles
Letta MCP Server
Letta MCP servers enable AI models to interact with the Letta platform, providing capabilities for agent management, memory operations, and tool integration.
Setting up MCP Servers in Visual Studio Code
Model Context Protocol (MCP) enables AI models to interact with external tools and services through a unified interface. This guide will walk you through setting up MCP servers in Visual Studio Code to enhance your GitHub Copilot experience.
Vercel MCP Server
Integrate Vercel with your AI assistants using the Model Context Protocol (MCP) for seamless deployment management, project control, and environment configuration.