MCP MCP Server

MCP server for retrieving issues from sentry.io or self-hosted Sentry instances

Remote serverstreamable-httpPython

What is the MCP MCP server?

MCP server for retrieving issues from sentry.io or self-hosted Sentry instances. Exposed over MCP by the mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

Below is a revised and polished version of the README.md for the mcp-sentry-custom project, formatted properly for clarity, correctness, and professionalism. It adheres to standard Markdown conventions and organizes the content into logical sections.

mcp-sentry-custom is a Model Context Protocol (MCP) server designed to retrieve and analyze issues from Sentry.io or self-hosted Sentry instances. This server provides tools to inspect error reports, stack traces, and other debugging information directly from your Sentry account.

Its toolset

Everything the assistant can do here goes through one of these:

  • Description — Retrieve and analyze a specific Sentry issue by its ID or URL
  • Input — - issue_id_or_url (string): The Sentry issue ID or full URL to analyze
  • Returns — Detailed issue information, including:
  • Title — Issue ID
  • Status — Level
  • Tools — 1. get_sentry_issue - Description: Retrieve and analyze a specific Sentry issue by its ID or URL. - Input: - issue_id_or_url (string)
  • Prompts — 1. sentry-issue - Description: Retrieve formatted issue details from Sentry for use in conversation context. - Input: - issue_id_or_url

Configuration

You will need 3 environment variables: PYTHONPATH, YOUR_SENTRY_TOKEN, YOUR_SENTRY_URL. 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.

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

When to reach for it

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. MCP's toolset — Description, Input, Returns and 4 more — is a fair guide to whether it matches your workflow.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • 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 mcp server does with a few real requests.

Available tools

ToolWhat it does
DescriptionRetrieve and analyze a specific Sentry issue by its ID or URL.
Input- issue_id_or_url (string): The Sentry issue ID or full URL to analyze.
ReturnsDetailed issue information, including:
TitleIssue ID
StatusLevel
Tools1. **get_sentry_issue** - **Description**: Retrieve and analyze a specific Sentry issue by its ID or URL. - **Input**: - issue_id_or_url (string): The Sentry issue ID or full URL to analyze. - **Returns**: Detailed issue
Prompts1. **sentry-issue** - **Description**: Retrieve formatted issue details from Sentry for use in conversation context. - **Input**: - issue_id_or_url (string): The Sentry issue ID or URL. - **Returns**: Formatted issue det

How to install the MCP MCP server

#### Using Docker
```json
{
  "mcpServers": {
    "sentry": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "mcp/sentry",
        "--auth-token", "YOUR_SENTRY_TOKEN",
        "--project-slug", "YOUR_PROJECT_SLUG",
        "--organization-slug", "YOUR_ORGANIZATION_SLUG",
        "--sentry-url", "YOUR_SENTRY_URL"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PYTHONPATHFilesystem location the server is allowed to use.Optional
YOUR_SENTRY_TOKENCredential the server authenticates with.Yes
YOUR_SENTRY_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use MCP to Description.
  • Use MCP to Input.
  • Use MCP to Returns.

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (Description, Input, Returns, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP directly.