Skip to content
Skillpedia
βœ“ Official Β· Sentry● Free and open sourceπŸ’»β˜οΈ Local / RemoteπŸ”‘ Needs an API keyCloud and servers

Sentry MCP

Lets your AI agent look up Sentry errors, issues, traces and logs to debug and track down problems.

957 stars on GitHubby SentryLicense NOASSERTIONUpdated 18 days ago

How to install

This MCP has two ways to run: local or remote.

Pick one below. Local runs on your computer; remote runs in the cloud and needs nothing installed.

Paste in the terminal:

claude mcp add sentry -e SENTRY_AUTH_TOKEN="<your value>" -- npx -y @sentry/mcp-server

What to fill in

NameWhat it isRequired
SENTRY_AUTH_TOKENYour Sentry user authentication tokenYes

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Show me the most common unresolved errors in my project this week.
Find the issue behind this stack trace and tell me which release introduced it.

What it is

The Sentry MCP server connects your coding agent to your Sentry account. It is built for developer workflows such as finding errors, reading issues and tracing performance problems. You can use the hosted service at mcp.sentry.dev or run a local version, including against a self-hosted Sentry.

What it can do

  • search_errors: find errors using plain-language queries
  • search_issues: search issues
  • search_traces: search traces
  • search_logs: search logs
  • Skills such as inspect, triage, seer and project-management group the tools
  • A Claude Code plugin adds a sentry-mcp subagent

When to use

  • β€ΊWhen you want your agent to find the cause of a production error
  • β€ΊWhen you want to check recent issues in a project and sort out which need attention
  • β€ΊWhen you want to look at traces to find a slow request

What you need

A Sentry account. Use the hosted server at mcp.sentry.dev with OAuth, or run npx @sentry/mcp-server@latest after signing in or setting SENTRY_AUTH_TOKEN. The AI search tools in the local version also need an LLM provider key (OpenAI, Azure OpenAI, Anthropic or OpenRouter).

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The code is public on GitHub. You need a Sentry account, and pricing for that is not in the readme.

Can I use it with self-hosted Sentry?

Yes. Set SENTRY_HOST to your host. The seer skill is dropped by default on self-hosted installs because Seer is not part of self-hosted Sentry.

Which scopes does the token need?

The readme lists org:read, project:read, project:write, team:read, team:write and event:write.

Why do some search tools not appear?

The AI-powered search tools need an LLM provider configured. Without one they are unavailable, but other tools still work.

Can I use it without OAuth?

Yes. Use a user auth token with SENTRY_AUTH_TOKEN, or send a Sentry-Bearer header to the hosted server.

What about rate limits?

Sentry API limits apply. The server retries, and if you see a Rate Limited message, run Sentry tool calls one at a time.

If it does not work

  • β€ΊRun npx @sentry/mcp-server@latest auth login once to sign in, or set SENTRY_AUTH_TOKEN.
  • β€ΊIf search tools are missing, set EMBEDDED_AGENT_PROVIDER and the matching API key.
  • β€ΊOn a rate limit message, run tool calls one at a time instead of in parallel.

5 new skills a week. 1 minute to read.