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
Knowledge Graph Memory MCP: AI Persistent Memory & Entity Mgmt
Knowledge Graph Memory MCP servers empower AI with persistent memory, entity management, and relation tracking through local knowledge graph interaction.
Model Context Protocol (MCP): Open Standard for AI Integration
The Model Context Protocol (MCP) is an open standard enabling AI systems to connect with diverse data sources, tools, and services, eliminating custom integrations for seamless interaction.
Seq MCP Server: Real-time Log Analytics for AI Models
Seq MCP servers empower AI models to interact with Seq, a structured log server, for log ingestion, querying, filtering, and real-time analysis.