Sentry MCP Server
Provides tools for comprehensive Sentry monitoring, including performance analysis, issues tracking, transaction tracing, and bottleneck detection.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sentry MCP ServerWhat are the most common errors in production?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sentry MCP Server
MCP Server for comprehensive Sentry monitoring including:
📊 Performance Analysis
🐛 Issues Tracking
🔍 Transaction Tracing
⚡ Bottleneck Detection
Features
Performance Tools
get_slow_transactions- Get slow API endpoints with detailed statsanalyze_transaction_trace- Deep dive into specific transaction tracesget_performance_overview- Overall performance metricscompare_performance- Compare performance across time periods
Issues Tools
get_recent_issues- Get latest errors and exceptionsget_issue_details- Detailed issue analysis with stack tracesget_issues_by_route- Group issues by API route
Related MCP server: Sentry MCP Server
Installation
cd ~/sentry-mcp
pip install -e .Configuration
Create .env file:
SENTRY_TOKEN=sntryu_your_token_here
SENTRY_ORG=org-name
SENTRY_PROJECT_ID=547
SENTRY_PROJECT_SLUG=project-slug
SENTRY_BASE_URL=https://sentry.your-org.comUsage with Claude Desktop
Add to claude.json:
{
"mcpServers": {
"sentry": {
"command": "python",
"args": ["-m", "sentry_mcp"],
"cwd": "~/sentry-mcp",
"env": {
"SENTRY_TOKEN": "your_token",
"SENTRY_ORG": "org-name",
"SENTRY_PROJECT_ID": "547",
"SENTRY_BASE_URL": "https://sentry.your-org.com"
}
}
}
}Example Queries
"Show me the slowest API endpoints in the last 24 hours"
"Analyze the performance of YOUR_ROUTE"
"What are the most common errors in production?"
"Show me transaction traces for requests over 3 seconds"
This server cannot be deployed
Maintenance
Related MCP Connectors
Investigate errors, track deployments, analyze performance, and manage application monitoring
- HeystackOAuthdev.heystack
Observability for AI apps: investigate traces, logs, LLM usage, replays and crashes; manage alerts.
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates Sentry error monitoring with AI-powered analysis to automatically capture frontend JavaScript errors and provide intelligent repair suggestions through multiple AI models including OpenAI, Claude, and Gemini.-
- FlicenseBqualityDmaintenanceEnables interaction with Sentry's error tracking platform to fetch and manage issue details, events, and project information through the Sentry API.435 npm1-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Sentry's error tracking and monitoring tools through a unified API, allowing natural language access to Sentry services.MIT
- AlicenseNot gradedqualityAmaintenanceEnables interaction with Sentry organizations, projects, and issues directly from MCP clients like Claude Code.28 npmMIT