mcp-sentry: A Sentry MCP server
A Model Context Protocol server for retrieving and analyzing issues from Sentry.io
Overview
mcp-sentry is a Model Context Protocol server designed for retrieving and analyzing issues from Sentry.io, providing tools to inspect error reports, stack traces, and other debugging information from your Sentry account.
To use mcp-sentry, you can install it via Smithery, pip, or run it directly using uv. After installation, you can run it as a script or configure it with your Sentry token and project details.
- Retrieve and analyze Sentry issues by ID or URL. - List issues by project slug and organization slug. - Debugging tools available through the MCP inspector.
- Analyzing specific error reports from Sentry.
- Monitoring and managing issues across multiple projects in Sentry.
- Debugging applications by inspecting stack traces and error details.
Add to your AI client
Use these steps to connect mcp-sentry: A Sentry MCP server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-sentry-mcp-100": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-mcp-100"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-sentry-mcp-100": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-mcp-100"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-sentry-mcp-100": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-mcp-100"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-sentry-mcp-100": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-mcp-100"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-sentry-mcp-100": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-mcp-100"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-sentry-mcp-100": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-mcp-100"
]
}
}
}FAQ
Can mcp-sentry analyze all types of issues from Sentry?
Yes! mcp-sentry can retrieve and analyze any issues available in your Sentry account.
Is mcp-sentry free to use?
Yes! mcp-sentry is open-source and free to use under the MIT License.
How do I install mcp-sentry?
You can install mcp-sentry using pip, Smithery, or run it directly with uv.