sentry-mcp
Provides tools for working with Sentry organizations, projects, and issues, including listing, querying, and retrieving events.
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-mcpshow unresolved issues in project 'my-app' for the last 24 hours"
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
Also available in Russian: README-ru.md
Sentry MCP server provides tools for working with Sentry organizations, projects, and issues directly from Claude Code, Code CLI, and other MCP clients.
Table of Contents
Related MCP server: Sentry MCP Server
Features
List organizations and projects available to the token.
Query issues with filters:
query, multipleenvironment,statsPeriodorsince/until,project, pagination viacursor.Consistent structured responses with
toolSuccess/toolError.
Requirements
Node.js 20+
Environment variables:
SENTRY_URL— Sentry base URLSENTRY_TOKEN— Sentry auth token (Bearer)SENTRY_TIMEZONE— optional, defaults toEurope/MoscowSENTRY_READ_ONLY— optional, defaults totrueSENTRY_HTTP_TIMEOUT_MS— optional request timeout in ms (default10000)
Installation
Using npx (Recommended)
npx -y @vitalyostanin/sentry-mcp@latestManual Installation (Development)
npm ci
npm run buildRunning the server (stdio)
node dist/index.jsConfiguration for Code (Recommended)
Add to ~/.code/config.toml:
[mcp_servers.sentry-mcp]
command = "npx"
args = ["-y", "@vitalyostanin/sentry-mcp@latest"]
[mcp_servers.sentry-mcp.env]
SENTRY_URL = "https://sentry.example.com"
SENTRY_TOKEN = "<token>"Configuration for Claude Code CLI
{
"mcpServers": {
"sentry-mcp": {
"command": "npx",
"args": ["-y", "@vitalyostanin/sentry-mcp@latest"],
"env": {
"SENTRY_URL": "https://sentry.example.com",
"SENTRY_TOKEN": "<token>"
}
}
}
}Configuration for VS Code Cline
Add similar entry to your cline_mcp_settings.json:
{
"mcpServers": {
"sentry-mcp": {
"command": "npx",
"args": ["-y", "@vitalyostanin/sentry-mcp@latest"],
"env": {
"SENTRY_URL": "https://sentry.example.com",
"SENTRY_TOKEN": "<token>"
}
}
}
}MCP Tools
Tool | Description |
| Status information: url, tokenPresent, timezone, readOnly, version. |
| List organizations with pagination (cursor/perPage); brief mode by default. |
| List projects in an organization; supports query, pagination, brief mode. |
| List issues with filters: query, environments, statsPeriod or since/until, project; pagination supported. |
| Get latest event for an issue (brief summary by default). |
| Get latest events for multiple issues with safe concurrency. |
| Get issue details for multiple issues with safe concurrency. |
This server cannot be deployed
Maintenance
Related MCP Connectors
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
- AurentiaOAuthfr.aurentia
Your Aurentia workspace — projects, CRM, tasks, deliverables — in Claude, Cursor or any MCP client.
- platform7nOAuthtech.p7n
Connect Claude to your Platform7n workspaces — chat, links, and tasks. One-click OAuth.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Related MCP Servers
- FlicenseBqualityFmaintenanceA Model Context Protocol server that enables AI assistants to interact with Sentry for error tracking and monitoring, allowing retrieval and analysis of error data, project management, and performance monitoring through the Sentry API.1121-
- FlicenseBqualityDmaintenanceEnables interaction with Sentry's error tracking platform to fetch and manage issue details, events, and project information through the Sentry API.434 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 gradedqualityDmaintenanceEnables AI assistants to retrieve and analyze Sentry issues, including error reports, stacktraces, and debugging information from Sentry.io.7 npm1MIT