ipIterPrompt
MCP serverDevOps & CloudVerified Last verified 2026-07-24

Sentry MCP Server

by Sentry

Sentry's official MCP server gives an AI agent direct access to your Sentry data: issues, errors, projects, and Seer's root-cause analysis. Sentry hosts it as a remote server (Streamable HTTP with OAuth) at mcp.sentry.dev, and also publishes a local stdio server, so an agent can pull real error context while you debug.

Works with

The Model Context Protocol (MCP).

When to use it

  • Debugging a production error with the real stack trace in context
  • Triaging incoming Sentry issues and proposing fixes
  • Linking an error back to the code path that produced it

When not to

  • When error payloads may contain sensitive user data you don't want in the model's context

What it does

  • Look up issues and errors across projects
  • Retrieve stack traces and event details for a given issue
  • Surface Seer analysis to help root-cause a bug

How to install

Setup steps with copy-paste config. Sources are cited under each method.

Remote server (OAuth)

Requires: An MCP host that supports remote servers · A Sentry account

  1. Add the hosted endpoint

    Point your host at Sentry's remote MCP endpoint and authorize over OAuth — nothing to install.

    url
    https://mcp.sentry.dev/mcp
  2. Authorize

    Complete the OAuth flow and grant access to the org/projects the agent should read.

Local server (stdio)

Requires: Node.js · A Sentry auth token

  1. Add to your MCP config

    Run the local stdio server with a Sentry access token scoped to the projects you want to expose.

    json
    {
      "mcpServers": {
        "sentry": {
          "command": "npx",
          "args": ["-y", "@sentry/mcp-server@latest"],
          "env": { "SENTRY_ACCESS_TOKEN": "<your-token>" }
        }
      }
    }

How to prompt it

Copy-paste prompts written to exercise this plugin, with what to expect.

Root-cause a top error

A new error spiked after a deploy.

Find the most frequent unresolved issue in my project from the last 24 hours, show its stack trace, and tell me the likely cause and which file to look at.

What to expect: The agent pulls the real issue and stack trace from Sentry and points you at the probable code path instead of guessing.

  • Ask it to check Seer analysis if available for a faster root-cause hypothesis.

Tips for getting the most out of it

  • Scope the token/OAuth grant to the specific projects the agent needs.
  • Pair it with a code MCP server so the agent can jump from the error to the source.

Prompts to pair with it

Real prompts from the IterPrompt library you can copy or run.

Incident Response Debugger Agent

Performs deep root cause analysis through code path tracing, git bisect automation, dependency analysis, and systematic hypothesis testing for production bugs.

4,093 copiesOpen ↗

Incident Response Error Detective Agent

Analyzes error traces, logs, and observability data to identify error signatures, reproduction steps, user impact, and timeline context for production issues.

314 copiesOpen ↗
4.5

Fastapi Templates

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backe

2,009 copiesOpen ↗
4.4

Nodejs Backend Patterns

Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best pr

5,123 copiesOpen ↗

Prod Logs Health Check Agent

Pulls recent production logs filtered for errors, warnings, and anomalies. Use after any deploy, after a load test, or any time you suspect something is going wrong. Treats logs as

1,902 copiesOpen ↗

Root-Cause Debugger

Stop guessing at fixes — isolate the actual cause of a bug step by step.

4,120 copiesOpen ↗
See more prompts in the library

Frequently asked questions

Is there anything to install for the remote server?+

No — the remote server at mcp.sentry.dev uses Streamable HTTP with OAuth, so you just add the URL and authorize. A local stdio server is available if you prefer.

Pairs well with

Related guides

Sources & verification

The facts on this page and where they come from. Anything unverified is labeled — we'd rather say "unknown" than guess.

Install steps, pricing, and availability change often. Always confirm on the official page before relying on setup details.