sentry-mcp
Provides tools for working with Sentry organizations, projects, and issues, including listing, querying, and retrieving events.
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/VitalyOstanin/sentry-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server