Sentry MCP server
mcp-server-sentry: A Sentry MCP server
Overview
A Model Context Protocol server for retrieving and analyzing issues from Sentry.io. This server provides tools to inspect error reports, stacktraces, and other debugging information from your Sentry account.
Tools
get_sentry_issue
- Retrieve and analyze a Sentry issue by ID or URL
- Input:
issue_id_or_url
(string): Sentry issue ID or URL to analyze
- Returns: Issue details including:
- Title
- Issue ID
- Status
- Level
- First seen timestamp
- Last seen timestamp
- Event count
- Full stacktrace
Prompts
sentry-issue
- Retrieve issue details from Sentry
- Input:
issue_id_or_url
(string): Sentry issue ID or URL
- Returns: Formatted issue details as conversation context
Installation
Using uv (recommended)
When using uv
no specific installation is needed. We will
use uvx
to directly run mcp-server-sentry.
Using PIP
Alternatively you can install mcp-server-sentry
via pip:
After installation, you can run it as a script using:
Configuration
Usage with Claude Desktop
Add this to your claude_desktop_config.json
:
Usage with Zed
Add to your Zed settings.json:
<details> <summary>Using uvx</summary>Debugging
You can use the MCP inspector to debug the server. For uvx installations:
Or if you've installed the package in a specific directory or are developing on it:
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
This server provides tools to inspect error reports, stacktraces, and other debugging information from your Sentry account.