Sentry MCP Server

Model Context Protocol (MCP) server for Sentry

Remote serverstreamable-http

What is the Sentry MCP server?

If you already use Sentry, the sentry mcp server is the piece that lets your assistant work with it directly. Model Context Protocol (MCP) server for Sentry.

What the server does

A Model Context Protocol (MCP) server for interacting with Sentry. This MCP server provides tools to interact with the Sentry API, allowing AI assistants to retrieve and analyze error data, manage projects, and monitor application performance.

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • list_projects — Lists all accessible Sentry projects for a given organization
  • resolve_short_id — The resolve_short_id tool exposed by this server
  • get_sentry_event — Retrieves and analyzes a specific Sentry event from an issue
  • list_error_events_in_project — The list_error_events_in_project tool exposed by this server
  • create_project — Creates a new project in Sentry and retrieves its client keys
  • list_project_issues — The list_project_issues tool exposed by this server
  • list_issue_events — The list_issue_events tool exposed by this server
  • get_sentry_issue — The get_sentry_issue tool exposed by this server
  • list_organization_replays — The list_organization_replays tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: SENTRY_AUTH, YOUR_AUTH_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js (v14 or higher) - npm or yarn - Sentry account with API access - Sentry authentication token with appropriate permissions

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Sentry.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

This sits in the monitoring and observability group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Sentry's toolset — list_projects, resolve_short_id, get_sentry_event and 6 more — is a fair guide to whether it matches your workflow. It is maintained by getsentry; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Sentry's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
list_projectsLists all accessible Sentry projects for a given organization.
resolve_short_idThe resolve_short_id tool exposed by this server.
get_sentry_eventRetrieves and analyzes a specific Sentry event from an issue.
list_error_events_in_projectThe list_error_events_in_project tool exposed by this server.
create_projectCreates a new project in Sentry and retrieves its client keys.
list_project_issuesThe list_project_issues tool exposed by this server.
list_issue_eventsThe list_issue_events tool exposed by this server.
get_sentry_issueThe get_sentry_issue tool exposed by this server.
list_organization_replaysThe list_organization_replays tool exposed by this server.

How to install the Sentry MCP server

{
  "mcpServers": {
    "sentry-mcp-stdio": {
      "command": "npx",
      "args": ["-y", "ts-node"],
      "env": {
        "SENTRY_AUTH": "your-value",
        "YOUR_AUTH_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js (v14 or higher) - npm or yarn - Sentry account with API access - Sentry authentication token with appropriate permissions
VariableDescriptionRequired
SENTRY_AUTHConfiguration value read at startup.Optional
YOUR_AUTH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Sentry to list projects.
  • Use Sentry to resolve short id.
  • Use Sentry to get sentry event.

Frequently asked questions

This server is a standalone educational version; the remote server (at mcp.sentry.dev) supports more capabilities including authentication and better tooling and is the recommended choice.