Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Sentry

MCP server by getsentry Community

Connects AI assistants to Sentry for error monitoring, issue tracking and debugging. It is built for coding agents such as Claude Code and Codex. It runs as a remote server or as a local stdio command through the Sentry CLI.

  • Score 88
  • 981 stars
  • 251k a week
  • NOASSERTION
  • Updated

Install Sentry

Built from the published package, never by AI.

claude mcp add sentry -- npx -y @sentry/mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Sentry in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sentry block.

About

The Sentry MCP server connects AI assistants to Sentry's error monitoring, issue tracking and debugging data. It acts as middleware to the upstream Sentry API. It is available as a remote server at mcp.sentry.dev, and as a stdio server started with the Sentry CLI's sentry mcp command.

Sentry says the service is primarily designed for human-in-the-loop coding agents, such as Claude Code, Codex and Grok Build, rather than as a general-purpose server for all Sentry functionality. The AI-powered search tools need an LLM provider such as OpenAI, Azure OpenAI, Anthropic or OpenRouter, while other tools work without one. It also supports self-hosted Sentry and can be limited to one organization or project.

Written from the project's README and checked against it.

Tools it gives your assistant

  • search_errorsAI-powered search that translates natural language into Sentry's query syntax for errors.
  • search_tracesAI-powered search that translates natural language into Sentry's query syntax for traces.
  • search_logsAI-powered search that translates natural language into Sentry's query syntax for logs.
  • search_issuesAI-powered search that translates natural language into Sentry's query syntax for issues.

What you need

  • A Sentry account or user auth token
  • Sentry CLI, or npx for the legacy package
  • An LLM provider API key for the AI search tools (OpenAI, Azure OpenAI, Anthropic or OpenRouter)
SettingNeededWhat it is
SENTRY_AUTH_TOKENEnvironment variable, secretOptionalSentry auth token. Optional after `npx -y @sentry/mcp-server auth login`.
SENTRY_HOSTEnvironment variableOptionalSelf-hosted Sentry hostname or URL. Takes precedence over SENTRY_URL. Defaults to sentry.io.
SENTRY_URLEnvironment variableOptionalSelf-hosted Sentry URL, such as https://sentry.example.com. Defaults to sentry.io.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Search Sentry for errors from the checkout service in the last day
  • Find slow traces for the API service from this week
  • Show Sentry issues about database timeouts

Good to know

  • AI-powered search tools are unavailable without a configured LLM provider.
  • Tool calls are subject to Sentry API rate limits, so run them one at a time if rate limited.
  • Seer is not part of self-hosted Sentry, so the seer skill is left out by default on self-hosted hosts.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl https://cli.sentry.dev/install -fsS | bash

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Sentry

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Sentry: common questions

Does the Sentry MCP server work with self-hosted Sentry?

Yes. The source says to log in with sentry auth login --url and set SENTRY_HOST, or use SENTRY_URL for plain HTTP deployments.

Which AI-powered search tools need an LLM provider?

The source names search_errors, search_traces, search_logs and search_issues as requiring an LLM provider such as OpenAI, Azure OpenAI, Anthropic or OpenRouter. All other tools work without one.

Is this a general-purpose server for all Sentry features?

No. The source says the service is primarily designed for human-in-the-loop coding agents, and its tool selection focuses on developer workflows and debugging.

How do I install Sentry?

In Claude Code run claude mcp add sentry -- npx -y @sentry/mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Sentry the official server?

Sentry is a community project by getsentry, not verified by a company domain.

Is Sentry free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is Sentry safe to use?

It scores 88 of 100. Grades: maintenance A, licence F, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to Sentry?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Sentry work with ChatGPT?

Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.

Sentry Install

Add to stack

Loading.