MCP Sentry Ts MCP Server

A Model Context Protocol (MCP) server for Sentry

Local serverstdio

What is the MCP Sentry Ts MCP server?

MCP Sentry Ts MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server for Sentry.

What you get

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.

What the assistant can call

Once MCP Sentry Ts is connected, these are the calls the assistant has available:

  • 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

Setting it up

ts-node on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration and credentials

You will need 2 environment variables: SENTRY_AUTH, YOUR_AUTH_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

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

Choosing this one

Among the monitoring and observability options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP Sentry Ts'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 codyde; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP Sentry Ts.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp sentry ts mcp server does with a few real requests.

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 MCP Sentry Ts MCP server

{
  "mcpServers": {
    "sentry-ts": {
      "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 MCP Sentry Ts to list projects.
  • Use MCP Sentry Ts to resolve short id.
  • Use MCP Sentry Ts to get sentry event.

Frequently asked questions

It connects MCP Sentry Ts to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (list_projects, resolve_short_id, get_sentry_event, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Sentry Ts directly.