mcp-sentry: A Sentry MCP Server
MCP server for interacting with Sentry
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, install it via npm or npx, and run it with your Sentry authentication token. You can retrieve issue details by providing the issue ID or URL.
- Retrieve and analyze Sentry issues by ID or URL. - Provides detailed information about errors, including title, status, and stack trace. - Supports integration with AI assistants for enhanced debugging.
- Analyzing application errors reported in Sentry.
- Debugging issues by inspecting stack traces and error details.
- Integrating with development tools for automated error handling.
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-elliottlawson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-elliottlawson"
]
}
}
}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-elliottlawson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-elliottlawson"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-sentry-elliottlawson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-elliottlawson"
]
}
}
}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-elliottlawson": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-elliottlawson"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-sentry-elliottlawson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-elliottlawson"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-sentry-elliottlawson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sentry-elliottlawson"
]
}
}
}FAQ
What is required to run mcp-sentry?
You need Node.js 14 or later and a Sentry account with an authentication token.
Can I run mcp-sentry without installation?
Yes! You can use npx to run it directly without installation.
Is mcp-sentry open source?
Yes, mcp-sentry is licensed under the MIT License, allowing free use and modification.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3037,"uuid":"595c0632-1345-495e-aa8a-13e7b9220668","name":"mcp-sentry","title":"mcp-sentry: A Sentry MCP Server","description":"MCP server for interacting with Sentry","avatar_url":"https://avatars.githubusercontent.com/u/3441829?v=4","created_at":"2025-03-17T02:36:35.734Z","updated_at":"2025-03-17T02:49:49.040Z","status":"created","author_name":"elliottlawson","author_avatar_url":"https://avatars.githubusercontent.com/u/3441829?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/elliottlawson/mcp-sentry","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-18 19:27:12\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]