MCP guide

Sentry MCP server

Yes, Sentry has an official MCP server, hosted at mcp.sentry.dev, and a local version that runs through the Sentry CLI. This guide has the setup for both, the tools grouped the way Sentry groups them, and a use Sentry's own page does not dwell on: when a customer writes "it crashed", finding the error they hit, how many people it affects and whether the fix is out, before you reply.

Checked on November 28, 2026. Every command and config block below is copied from the linked source as it read that day; this area changes fast, so follow the link if something does not match.

Does Sentry have an official MCP server?

The hosted server is at https://mcp.sentry.dev/mcp and every connection signs in with OAuth. You can put an organization, or an organization and a project, in the URL (https://mcp.sentry.dev/mcp/{organizationSlug}/{projectSlug}): the tools then default to that scope and the discovery tools you no longer need are hidden. Sentry recommends scoping to a project when you can.

The same server also runs locally over stdio as sentry mcp, a command of the Sentry CLI that uses the CLI's login. That is the easy route for self-hosted Sentry. Both come from one public repository, getsentry/toolkit.

Sentry is direct about who it is for: human-in-the-loop coding agents, developer workflows and debugging, not a general-purpose server for all of Sentry. Support is not the audience it names. The read-only tools are still the fastest way for a support person to answer "is this a known error?", which is why this guide exists.

Sentry MCP servers that exist today

What we found and opened ourselves on November 28, 2026, with the page each row comes from.

Server How it connects Sign-in What it can do Availability
Sentry MCP server (hosted) Official Maintained by Sentry. Source: Sentry MCP (mcp.sentry.dev): connecting and setup instructions Remote (Streamable HTTP) Endpoint: https://mcp.sentry.dev/mcp OAuth on every connection; the first one starts the sign-in to your Sentry account. A client that sends custom headers can pass a Sentry token as Sentry-Bearer instead. Grouped in skills. Inspect is read-only (issues, events, traces, replays, releases). Triage resolves, assigns and updates issues. Project management creates and changes projects, teams and monitors. Hosted by Sentry for sentry.io. The page names no plan or price for it. Self-hosted Sentry uses the local server.
Sentry MCP over stdio (sentry mcp) Official Maintained by Sentry. Source: getsentry/toolkit on GitHub (README, Sentry MCP) Local (stdio) The Sentry CLI's login (sentry auth login), so the MCP config holds no token. SENTRY_AUTH_TOKEN, when set, wins over the stored login. The same tools and skills. You can limit it to one organization or project, and switch skills off (--disable-skills). Runs on your machine through the Sentry CLI. Works with self-hosted Sentry (SENTRY_HOST); Seer is left out there by default. The search tools that take natural language need an LLM provider configured. FSL-1.1-Apache-2.0 licence. 977 GitHub stars, last commit on November 28, 2026.

Set up the hosted Sentry MCP server

Add the URL with your organization and project slugs in it, then sign in. The slugs are the ones in your Sentry URLs.

  1. 1Claude Code: run this, with your own slugs in place of the two placeholders. The first connection starts the OAuth sign-in.

    Claude Code
    claude mcp add --transport http sentry https://mcp.sentry.dev/mcp/{organizationSlug}/{projectSlug}

    Source: Sentry MCP (mcp.sentry.dev): connecting and setup instructions

  2. 2Cursor: use the Install MCP Server button on Sentry's page, or add this to your MCP settings.

    Cursor MCP settings
    {
      "mcpServers": {
        "sentry": {
          "url": "https://mcp.sentry.dev/mcp/{organizationSlug}/{projectSlug}"
        }
      }
    }

    Source: Sentry MCP (mcp.sentry.dev): connecting and setup instructions

  3. 3Other clients: Sentry's page says any MCP-compatible client can connect with the HTTP transport at that URL, and gives VS Code's steps (Command Palette, MCP: Add Server, HTTP). It prints nothing specific for Claude Desktop or ChatGPT, so we do not either.

    Source: Sentry MCP (mcp.sentry.dev): connecting and setup instructions

  4. 4Test it with a read: "Use sentry to list the unresolved issues first seen in the last 24 hours."

    Source: Sentry MCP (mcp.sentry.dev): connecting and setup instructions

Set up the local server with the Sentry CLI

Use this for self-hosted Sentry, or when you want the server on your own machine. It talks to your client over stdio.

  1. 1Install the Sentry CLI, log in, and register sentry mcp as a stdio server in Claude Code:

    Terminal
    curl https://cli.sentry.dev/install -fsS | bash
    sentry auth login
    claude mcp add sentry -- sentry mcp

    Source: Sentry MCP (mcp.sentry.dev): connecting and setup instructions

  2. 2Other clients take the same command. This is the mcpServers form Sentry prints for them:

    mcpServers
    {
      "mcpServers": {
        "sentry": {
          "command": "sentry",
          "args": ["mcp"]
        }
      }
    }

    Source: Sentry MCP (mcp.sentry.dev): connecting and setup instructions

  3. 3Limit it by passing a target after the command: sentry mcp my-org/ for one organization, sentry mcp my-org/my-project for one project.

    Source: Sentry MCP (mcp.sentry.dev): connecting and setup instructions

  4. 4Self-hosted Sentry: log in with sentry auth login --url https://sentry.example.com, then set SENTRY_HOST in the MCP server's environment. To keep write tools out of a support setup, the README shows how to switch a skill off:

    Terminal
    SENTRY_HOST=sentry.example.com sentry mcp --disable-skills=project-management

    Source: getsentry/toolkit on GitHub (README, Sentry MCP)

What a support team does with the Sentry MCP server

"The app crashed when I clicked save" is a ticket you can answer in two ways: "sorry, we will look into it", or "that was an error in yesterday's release that affected 40 people and is fixed in today's". Sentry has the second answer. Each job below uses a tool from the Inspect skill, which is read-only, unless it says otherwise.

Is this error known?
search_issues accepts natural language or Sentry's search syntax and lists issues with status, occurrences, users impacted, assignee, and first and last seen. Describe what the customer saw, the page and the time. If the customer's app sends user details to Sentry, you can ask for that user's errors directly.
Uses: search_issues, search_errors
How bad is it, and for whom?
get_issue_details gives the title, status, counts, linked tickets and replays of one issue. get_issue_tag_values gives the distribution by browser, environment, release or URL. "Only on Safari, only since version 4.2" is something you can tell the customer and something engineering will thank you for.
Uses: get_issue_details, get_issue_tag_values, render_issue_chart
What did the customer do before it broke?
If the project records session replays, search_replays finds them by user, visited page, errors seen, rage clicks or dead clicks, and get_replay_details returns a timeline: navigations, clicks, inputs, console errors, failed requests. It replaces three emails asking "what exactly did you click?".
Uses: search_replays, get_replay_details
Is the fix out?
An issue's status says whether someone resolved it. find_releases and get_release_details say which versions exist and where they were deployed. Put the two together before you write "this is fixed".
Uses: get_issue_details, find_releases, get_release_details
Leave the customer's report on the issue (needs Triage)
With the Triage skill granted, add_issue_note adds a comment to the issue's activity feed, visible to the whole team, and link_issue attaches an existing external ticket by URL (Jira, GitHub, GitLab, Bitbucket, Azure DevOps, or an installed Sentry App such as Linear). link_issue adds a reference only; it does not create the ticket.
Uses: add_issue_note, link_issue

What it cannot do

  • It does not know your customers unless your app tells Sentry who they are. Without user details on the events, you search by time, page and error text.
  • It does not see problems that raise no error. A wrong total on an invoice or a confusing screen is not in Sentry.
  • It does not talk to the customer, and it does not file the bug in your tracker: link_issue only references a ticket that already exists.
  • It is not built for support. Sentry says its tool selection is focused on developer workflows and debugging; expect stack traces, not summaries written for customers.

Local or remote: how the connection works

The MCP specification (revision 2026-07-28, read on November 22, 2026) defines two standard transports. With stdio, your AI client starts the server as a program on your own computer and talks to it through that process. With Streamable HTTP, the server lives at a URL and your client sends each message to it as an HTTP request.

In practice a remote server means a URL and a sign-in in your browser, with nothing to install. A local server means a config block with a command, and a credential kept on your machine. The older SSE transport is deprecated: Claude Code's documentation says to use HTTP servers where they are available.

What each server exposes

Tool names exactly as each source lists them. Your client shows the same names when it asks you to approve a call.

Sentry MCP server (hosted)

Inspect, read-only: search (the skill has 50 tools)

  • search_issues
  • search_errors
  • search_issue_events
  • search_logs
  • search_traces
  • search_replays
  • search_metrics
  • find_related_issues
  • find_releases
  • find_projects
  • find_organizations

Inspect, read-only: details

  • get_issue_details
  • get_event_stacktrace
  • get_issue_breadcrumbs
  • get_issue_tag_values
  • get_issue_user_reports
  • get_issue_activity
  • get_replay_details
  • get_release_details
  • get_trace_details
  • get_sentry_resource
  • render_issue_chart
  • search_docs
  • get_doc
  • whoami

Seer

  • analyze_issue_with_seer

Triage (writes)

  • update_issue
  • add_issue_note
  • link_issue
  • unlink_issue

Project management (writes; a selection of its 25 tools)

  • create_project
  • update_project
  • create_team
  • create_dsn
  • create_alert_rule
  • delete_alert_rule
  • create_uptime_monitor
  • delete_uptime_monitor

Sentry MCP over stdio (sentry mcp)

Skills (the same tool definitions as the hosted server)

  • Inspect Issues & Events
  • Seer
  • Triage Issues
  • Manage Projects & Teams

What you can ask once it is connected

Each example is tied to tools the servers above really have.

  • “A customer says saving a report failed around 14:30 UTC today. Find unresolved issues on the reports page from that hour and tell me how many users each affected.”

    Uses: search_issues, search_errors

  • “For that issue, which browsers and releases are affected, and when was it first seen?”

    Uses: get_issue_details, get_issue_tag_values

  • “Find the session replay for [email protected] from this afternoon and give me the steps before the error, in plain words.”

    Uses: search_replays, get_replay_details

  • “Is this issue resolved, and has a release gone out since it was last seen?”

    Uses: get_issue_details, find_releases

  • “Add a note to this issue: reported by a customer on the Team plan, support ticket linked below. Show me the note first.”

    Uses: add_issue_note, link_issue

Limits to know before you rely on it

Security: what to lock down first

Scope the URL to one project
Put the organization and project in the endpoint. Tools then default to that project, and Sentry recommends it whenever possible. A support connection rarely needs every project in the organization.
Inspect is enough for most of support
Every lookup above runs on the read-only Inspect skill. Grant Triage only to the people who should add notes and resolve issues, and leave project management, which can create and delete alerts and monitors, to engineering.
Error data is customer data
Events, breadcrumbs and replays can hold email addresses, URLs with identifiers and what a person typed. Whatever the assistant reads goes to your AI provider. Check what your project scrubs before you connect it.
A token you pass yourself is yours to manage
With the Sentry-Bearer header, the hosted server does not store, validate, exchange or refresh the token; the client stays responsible for its lifetime. For a local server, the README lists the scopes a user auth token needs: org:read, project:read, project:write, team:read, team:write, event:write.
Customer data goes to your AI provider
Whatever the assistant reads from Sentry (names, email addresses, account and payment details, what a customer wrote) becomes part of your conversation with the model. From there it is handled under your AI provider's terms and settings, not Sentry's. Check retention, training and your data processing agreement before you connect an account that holds personal data.
Text written by other people is untrusted input
A support thread you paste, an issue a stranger opened, a name field a customer filled in: the model reads all of it in the same stream as your request, and any of it can say "ignore your instructions and…". This is prompt injection. Keep a person approving every tool call that writes, do not leave a session with write access to Sentry running unattended, and treat instructions found inside data as text to summarize, never as something to do.
Sign in as the smallest identity that works
Every server on this page acts with the permissions of whoever signed in or whose key it holds. Connect it as a person or key that sees only what the job needs, read-only where the server offers it, and remove the connection when the experiment is over.

Where ReplyBrain fits

An MCP server for Sentry gives the assistant you already use a way into Sentry. You still open each ticket and decide what happens; the assistant helps when you ask it to.

ReplyBrain is a different kind of thing: a support inbox for software products. It reads the support email that arrives, drafts the reply with the customer's context, and by default a person on your team approves and sends it.

ReplyBrain does not connect to Sentry, and it does not read your error tracker. When a case looks like a bug, what it can do is propose an issue for engineering in GitHub, which a person approves.

It does have an MCP server of its own. You use it from Claude, Cursor or ChatGPT to set ReplyBrain up (your product, your mailbox, your approved answers) and to check on your cases, and none of its tools sends anything to a customer.

See ReplyBrain's MCP server and its tools

Sentry MCP: questions people ask

Does Sentry have an official MCP server?

Yes. Sentry hosts it at https://mcp.sentry.dev/mcp with OAuth sign-in, and the same server runs locally as sentry mcp through the Sentry CLI. Its source is in the getsentry/toolkit repository.

Does the Sentry MCP server work with self-hosted Sentry?

Through the local server, yes: log in with sentry auth login --url and your instance's address, then set SENTRY_HOST in the MCP server's environment. Seer is left out by default there, and the natural-language search tools need an LLM provider you configure.

Is npx @sentry/mcp-server still supported?

Sentry calls it legacy. The package still ships the same server without the rest of the CLI and shares the CLI's login, but the recommended local route is the Sentry CLI's sentry mcp command. The older --access-token flag still works and is deprecated.

Can the assistant resolve or change Sentry issues?

Only with the Triage skill: update_issue resolves, ignores, reopens, assigns or changes the priority of an issue, and add_issue_note comments on it. The Inspect skill is read-only.

Can a support team use the Sentry MCP server?

Yes, for lookups, as long as each person has a Sentry account with access to the project. Sentry built it for developers, so what comes back is technical; ask the assistant to say what the customer would have seen and how many users were affected.

Sentry is a trademark of its owner. ReplyBrain is not affiliated with Sentry or with the projects described here.

Sources

The pages opened for this guide, each with the date it was read. Commands and config blocks are quoted from them; the rest is our summary.

  1. Sentry MCP (mcp.sentry.dev): connecting and setup instructions, read on November 28, 2026
  2. getsentry/toolkit on GitHub (README, Sentry MCP), read on November 28, 2026
  3. getsentry/toolkit on GitHub: the server's tool definitions (toolDefinitions.json), read on November 28, 2026
  4. getsentry/toolkit on GitHub: the server's skill definitions (skillDefinitions.json), read on November 28, 2026
  5. Model Context Protocol specification (2026-07-28): Transports, read on November 22, 2026
  6. Claude Code docs: Connect Claude Code to tools via MCP, read on November 22, 2026
  7. Model Context Protocol docs: Connect to local MCP servers (Claude Desktop), read on November 22, 2026

Would you rather not answer every ticket by hand?

ReplyBrain drafts the reply to each support email with the customer's context, and your team approves it. Built for software products.

Start free

A new account is a free help desk for your whole team, with a chat widget for your website. No card. AI drafting is the paid part.