← MCP directory

Sentry MCP server

official

Sentry's own MCP server lets an agent search errors, analyse performance and triage issues. It is available as a hosted service with OAuth and locally through the Sentry CLI, sentry mcp, which also works with self-hosted Sentry.

What an agent can do

  • → Search errors and events
  • → Read stack traces and issue details
  • → Update and assign issues
  • → Analyse performance and traces
  • → Scope access to one project

Run locally, the AI-powered search tools need a separate LLM provider, and the server can change issues when the user has write access. Scope the URL to one organisation or project where possible.

About the Sentry MCP server

Sentry MCP is Sentry's own server for letting an AI assistant work with error and performance data. Sentry runs a hosted version, and the same server can run locally through the Sentry command line tool with the command sentry mcp, which also works against a self-hosted Sentry. Sentry writes that it is primarily designed for human-in-the-loop coding agents, not as a general-purpose route to everything in Sentry.

A development team uses it to search errors and events, read the details behind an issue, analyse performance, triage and assign issues, look things up in Sentry's documentation and manage projects. The idea is that the assistant in the code editor can fetch the error, understand it and propose a fix without anyone switching windows. On sentry.io it can also use Seer.

The hosted server uses OAuth against your Sentry account. Access can be narrowed in the URL itself to one organisation or a single project, which Sentry recommends when possible, and skill groups such as project management can be switched off. The server can change issues and create projects if the account is allowed to. Rate-limited requests are retried, and if the limit persists the tool returns a message saying so.

Things to ask

  • Which new errors have appeared in the web project since yesterday's release?
  • Show the stack trace for the most frequent checkout error this week and explain what goes wrong.
  • Assign this issue to the backend team and mark it as resolved.
  • Which pages have the slowest load time right now, and what is taking the time?
  • How do I set up Sentry in a Nuxt app according to the documentation?
GuideHow to set up Sentry MCP →

Part of these packages

Sentry is part of these Walma packages.

Developers

Questions about Sentry MCP

Is Sentry MCP free?+

Sentry does not state a price or plan requirement for the MCP server on its MCP page or in the repository. The code is open and can be run locally. What you need is a Sentry account, or a self-hosted Sentry. According to Sentry, Seer is not part of self-hosted Sentry, and these pages do not state what Seer costs.

What is the Sentry MCP server URL?+

The hosted server is at https://mcp.sentry.dev/mcp. Adding the organisation slug, and optionally the project slug, after /mcp scopes the server to that organisation or project. Tools then default to that choice and unnecessary discovery tools are hidden. Locally the server starts with the command sentry mcp.

How does sign-in work?+

The hosted server uses OAuth: the first connection opens a sign-in to your Sentry account. The local server uses the login from the Sentry command line tool, sentry auth login, so no token is needed in the MCP configuration. The older npm package @sentry/mcp-server still exists, but its access token setting is marked as deprecated.

Is it read-only?+

No. Besides searching and reading it can triage issues and manage projects. The skills are called inspect, seer, triage and project-management. A hosted connection gets all active skills unless you narrow them with ?skills= or ?disable-skills= in the URL. Locally the --skills and --disable-skills flags do the same.

Which AI assistants does Sentry MCP work with?+

Sentry's page has instructions for Claude Code, Cursor and VS Code, and says any MCP client that supports HTTP transport works. In Claude Code the server is added with claude mcp add --transport http sentry followed by the URL. Cursor has an install button, and VS Code uses the command MCP: Add Server.

Does Sentry MCP work with self-hosted Sentry?+

Yes, with the local server. You log in with sentry auth login --url followed by your address and set SENTRY_HOST in the MCP server's environment. Seer is not part of self-hosted Sentry, so that skill is left out of the default set when the host is not sentry.io.

Does Sentry MCP need its own LLM key?+

Only for the AI-powered search tools when you run the server locally, such as search_errors, search_traces, search_logs and search_issues. They need a provider: OpenAI, Azure OpenAI, Anthropic or OpenRouter. Without one those tools are unavailable, but all other tools work. If several provider keys are set, EMBEDDED_AGENT_PROVIDER has to be specified.

Missing a connection?

We build and review MCP servers for teams that need them, and run them behind the same policy and log as the rest of the gateway.