Skip to main content
Glama
VitalyOstanin

sentry-mcp

Sentry MCP Server

Also available in Russian: README-ru.md

CI codecov npm version

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, multiple environment, statsPeriod or since/until, project, pagination via cursor.

  • Consistent structured responses with toolSuccess/toolError.

Requirements

  • Node.js 20+

  • Environment variables:

    • SENTRY_URL — Sentry base URL

    • SENTRY_TOKEN — Sentry auth token (Bearer)

    • SENTRY_TIMEZONE — optional, defaults to Europe/Moscow

    • SENTRY_READ_ONLY — optional, defaults to true

    • SENTRY_HTTP_TIMEOUT_MS — optional request timeout in ms (default 10000)

Installation

npx -y @vitalyostanin/sentry-mcp@latest

Manual Installation (Development)

npm ci
npm run build

Running the server (stdio)

node dist/index.js

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

service_info

Status information: url, tokenPresent, timezone, readOnly, version.

sentry_organizations

List organizations with pagination (cursor/perPage); brief mode by default.

sentry_projects

List projects in an organization; supports query, pagination, brief mode.

sentry_issues

List issues with filters: query, environments, statsPeriod or since/until, project; pagination supported.

sentry_issue_latest_event

Get latest event for an issue (brief summary by default).

sentry_issues_latest_events_batch

Get latest events for multiple issues with safe concurrency.

sentry_issues_details_batch

Get issue details for multiple issues with safe concurrency.

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
2moRelease cycle
5Releases (12mo)
Commit activity

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

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