Sentry Integration MCP Server

Enables AI models to query and analyze error reports and events from Sentry.

Local serverstdioTypeScript

What is the Sentry Integration MCP Server?

Enables AI models to query and analyze error reports and events from Sentry.

The short version

This is a Model Context Protocol (MCP) server implemented in TypeScript for connecting to the Sentry error tracking service. This server allows AI models to query and analyze error reports and events on Sentry.

  • Retrieves and analyzes Sentry issues by ID or URL
  • issue_id_or_url (string): Sentry issue ID or URL to analyze
  • Returns: Issue details including:
  • First seen timestamp
  • Last seen timestamp
  • Complete stack trace

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
SENTRY_AUTH_TOKENCredential the server authenticates with.Yes
SENTRY_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Sentry Integration to Input.”
  • “Use Sentry Integration to Returns.”

Frequently asked questions

No, providing the complete Sentry issue URL will automatically extract the necessary project and organization information. You can omit those env variables if the URL contains the details.