Skip to content
skillcellar
All skills

Sentry MCP

MCP servers

Sentry's hosted MCP server: search issues, errors, traces and logs, and run Seer root-cause analysis from your agent.

Stars985
Forks195
Watchers33
Open issues433
LicenseNOASSERTION
Last pushtoday

Install

install

$ claude mcp add --transport http sentry https://mcp.sentry.dev/mcp

Works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and any other MCP client.

Update

update

$ Nothing to run: Sentry updates the hosted server.

To scope it to one project later, run claude mcp remove sentry, then add it again with /<org>/<project> on the URL.

When to use it

  • A production error has a Sentry issue and you want the agent to read the stack trace and breadcrumbs before it proposes a fix.
  • You want error counts, slow endpoints or log patterns answered in plain language instead of Sentry's query syntax.
  • You are triaging and want the agent to resolve, assign or comment on issues as it works through them.

Commands & flags

https://mcp.sentry.dev/mcp/{organizationSlug}/{projectSlug}
Scope the connection to one organization or project; Sentry recommends project scope when possible.
search_issues
List grouped issues that match a plain-language query.
get_issue_details / get_event_stacktrace
Read one issue, then the full stack trace of one of its events.
analyze_issue_with_seer
Ask Seer for a root-cause analysis with suggested code fixes.
search_errors / search_traces / search_logs
Search error events, spans and log entries for counts, trends and examples.
update_issue
Change an issue's status, assignee or priority.
claude mcp add sentry -- sentry mcp
Local stdio server through the Sentry CLI, for self-hosted Sentry; it uses your CLI login.

How to use it

This is an MCP server. Register Sentry's hosted endpoint:

claude mcp add --transport http sentry https://mcp.sentry.dev/mcp

All connections use OAuth: the first one opens a browser sign-in to your Sentry account. To scope it, add the organization, or the organization and project, to the URL: https://mcp.sentry.dev/mcp/<org>/<project>. A scoped connection defaults every tool to that project and hides the discovery tools. ?experimental=1 turns on forward-looking tool variants.

Sentry also ships a Claude Code plugin that adds a sentry-mcp subagent Claude delegates Sentry questions to: claude plugin marketplace add getsentry/sentry-mcp, then claude plugin install sentry-mcp@sentry-mcp.

For self-hosted Sentry, run the server locally through the Sentry CLI (sentry auth login, then claude mcp add sentry -- sentry mcp). There, the plain-language search tools need an LLM provider key, and Seer is not available.

Why it earns its place

Sentry built it for coding agents with a person in the loop, so the tool set centres on debugging: issues, events, stack traces, traces, logs, replays and Seer. The agent works from what happened in production instead of guessing from the code.

It can also write: update issues, create projects, DSNs, alerts and monitors. Keep tool approval on and scope it to one project. Without a Sentry account it has nothing to read.

Try it

claude

> Using the Sentry MCP, find the most frequent unresolved issue in my web project this week, read its stack trace, and fix the cause in this repo.