Skip to content
Claudekit.ai

Sentry MCP: Debug Production Errors with Claude

Sentry's MCP server lets Claude read issues, stack traces, traces and logs from Sentry. Remote and stdio setup, Claude Code plugin, use cases, pros and cons.

By Claudekit Team Published 1 min read

Type
MCP Server
Pricing
Freemium
Repository
github.com
GitHub stars
944

Sentry MCP is Sentry’s official Model Context Protocol server, now developed in the getsentry/toolkit repository alongside the Sentry CLI. It is a remote server built for human-in-the-loop coding agents, so its tools focus on debugging: issues, events, stack traces, traces, logs and performance data, rather than every corner of the Sentry API.

Who it is for

Developers who use Sentry for error monitoring and want Claude Code to look at the real production error before proposing a fix.

Install

The hosted service lives at mcp.sentry.dev. The repo documents a Claude Code plugin that adds a sentry-mcp subagent Claude delegates to when you ask about errors:

claude plugin marketplace add getsentry/sentry-mcp
claude plugin install sentry-mcp@sentry-mcp

For self-hosted Sentry, run the stdio transport with a user auth token:

npx @sentry/mcp-server@latest --access-token=sentry-user-token

Add --host=sentry.example.com for a self-hosted instance. Remote clients that support headers can pass a token with Authorization: Sentry-Bearer ....

Use cases

  • Fix with evidence: “Look at the latest unresolved issue in the checkout project and find the root cause.”
  • Trace analysis: ask why an endpoint got slow, using trace data.
  • Release checks: list new issues introduced since the last deploy.
  • Triage: summarize the top errors this week by user impact.

Pros

  • Official and focused on real debugging workflows.
  • Remote OAuth for Sentry SaaS, stdio for self-hosted.
  • Plugin route gives you a dedicated subagent, keeping Sentry output out of your main context.

Cons and caveats

  • AI search tools need a configured LLM provider (OpenAI, Azure OpenAI, Anthropic or OpenRouter).
  • FSL license, which restricts competing commercial use.
  • Stack traces and event payloads can be large; ask for summaries first.

Frequently asked questions

Does Sentry MCP work with self-hosted Sentry?

Yes, through the stdio transport. Pass --host with your Sentry hostname and a user auth token with the scopes listed in the README.

Why are some search tools missing?

The AI-powered search tools translate natural language into Sentry query syntax and need an LLM provider configured. Without one, other tools still work.

What license is it under?

The toolkit repository uses Sentry's Functional Source License (FSL-1.1, Apache 2.0 future license), not a classic open-source license.

Tool MCP Server

Apify MCP Server: Run Web Scrapers from Claude

Apify's official MCP server lets Claude find and run Actors from Apify Store to scrape sites, maps and social media. Claude Code plugin, OAuth, caveats.

★ 12,930

Get the weekly Claude digest

New skills, MCP servers, prompts and Claude updates — one short email a week. No spam, unsubscribe anytime.

The newsletter is launching soon. Follow the RSS feed in the meantime.