# Sentry MCP server: URL, setup, skills, tools and fixes

> Sentry's MCP server at mcp.sentry.dev: setup in Claude Code, Cursor and Codex, the skills you pick at sign-in, org and project URLs, its tools, Seer, and fixes.

Updated 2026-11-28 · https://upsy.ai/guides/sentry-mcp-server

## Short answer

Sentry runs an official MCP server (a connector that lets an AI agent use your Sentry) at `https://mcp.sentry.dev/mcp`. Add it to your client, sign in with Sentry, and tick the skills the agent may use: reading issues and events, Seer, triage, and managing projects. Sentry recommends scoping it to one project with the address. In Claude Code:

```
claude mcp add --transport http sentry https://mcp.sentry.dev/mcp/my-org/my-project
```

Then run `/mcp` to sign in. It needs no token. For self-hosted Sentry, run it locally with the Sentry CLI instead. Add Sentry through Upsy if you want a different level per agent, Sentry next to your other apps, and one history of what each agent did.

## Sentry's MCP server

| | |
|---|---|
| Address | `https://mcp.sentry.dev/mcp` (Streamable HTTP). The old `/sse` address returns `410 Gone` |
| One org | `https://mcp.sentry.dev/mcp/my-org` |
| One project | `https://mcp.sentry.dev/mcp/my-org/my-project` |
| Sign-in | OAuth with Sentry, after a consent page where you pick skills |
| Regions | US and EU (`de.sentry.io`) organizations; tools find each org's region |
| Self-hosted Sentry | Local server only |
| Docs | [mcp.sentry.dev](https://mcp.sentry.dev), which replaced Sentry's old docs page. The code is [getsentry/toolkit](https://github.com/getsentry/toolkit), formerly getsentry/sentry-mcp |

With an org or project in the address, tools default to it and the discovery tools (finding organizations and projects) are hidden. `?experimental=1` turns on newer tool variants and works with either.

### Skills you pick at sign-in

Before Sentry's own sign-in, the MCP server shows a page with one checkbox per skill. All four are ticked on your first sign-in, and the page remembers your choice for that client.

| Skill | What it allows |
|---|---|
| **Inspect Issues & Events** | Read-only: issues, events, traces, logs, replays, releases, dashboards, monitors and docs |
| **Seer** | Sentry's AI debugger: root causes and suggested fixes |
| **Triage Issues** | Resolve, assign, update, annotate and link issues |
| **Manage Projects & Teams** | Create and change projects, teams, DSNs, monitors and alert rules |

Inspect needs only read permissions. Triage adds `event:write`, and Manage adds `project:write`, `team:write` and `alerts:write`. Untick everything but Inspect for an agent that should only read.

### Connect it to your client

**Claude Code.** Run the command above, then `/mcp`. There's also a plugin: `claude plugin marketplace add getsentry/sentry-mcp`, then `claude plugin install sentry-mcp@sentry-mcp`.

**Cursor.** Use the install button on [mcp.sentry.dev](https://mcp.sentry.dev), or add `{"mcpServers":{"sentry":{"url":"https://mcp.sentry.dev/mcp"}}}` to `~/.cursor/mcp.json`.

**Codex.** `codex mcp add sentry --url https://mcp.sentry.dev/mcp`. The sign-in opens on its own.

**VS Code.** **MCP: Add Server**, choose **HTTP** and paste the address. It needs VS Code 1.99 or later.

**Zed.** Add `"context_servers": {"sentry": {"url": "https://mcp.sentry.dev/mcp"}}` to your settings.

**Claude.** Sentry is in Claude's connector directory, made by Sentry. Its listing still shows old tool names; the tools you get are the current ones.

**ChatGPT.** Add it as a custom MCP server with OAuth ([how](/guides/chatgpt/custom-connector)). Sentry fixed ChatGPT's sign-in in September 2026.

Sentry also lists Amp, Gemini CLI, OpenCode, Warp and others. It dropped its Windsurf steps in September and calls Claude.ai "best effort".

### Its tools

Sentry's server has 77 tools, and since November 3, 2026 it lists them all directly. Which ones you see depends on your skills, and with a project in the address, on what data that project has (profiles, replays, traces).

| Skill | Tools |
|---|---|
| Inspect | `search_issues`, `get_issue_details`, `get_issue_breadcrumbs`, `get_event_stacktrace`, `search_errors`, `search_logs`, `search_traces`, `search_metrics`, `search_replays`, `search_profiles`, `get_trace_details`, `get_replay_details`, `find_releases`, `find_dashboards`, `find_monitors`, `get_sentry_resource`, `search_docs`, `whoami` and about 30 more, all read-only |
| Seer | `analyze_issue_with_seer`, plus shared read tools |
| Triage | `update_issue`, `add_issue_note`, `link_issue`, `unlink_issue` |
| Manage | `create_project`, `update_project`, `create_team`, `create_dsn`, `update_dsn`, `create_alert_rule`, `update_alert_rule`, `delete_alert_rule`, `create_monitor`, `create_uptime_monitor`, `delete_uptime_monitor`, `add_team_to_project`, `remove_team_from_project` and more |

- **`search_events` is gone.** In October 2026 it was split into `search_errors`, `search_logs`, `search_traces`, `search_metrics`, `search_profiles` and `search_replays`. Old prompts and guides that name it are out of date.
- **Agent mode is gone too.** `?agent=1` and the `use_sentry` tool were removed in July 2026.
- **`update_issue` is marked destructive,** like every update and delete. Resolving or ignoring an issue counts.

### Plain-English search and Seer

- **The search tools take plain English.** "errors in checkout since yesterday" is turned into Sentry search syntax by Seer or by an LLM Sentry runs on the hosted server. Sentry's own query syntax works without either.
- **Locally, you bring the LLM.** Set `EMBEDDED_AGENT_PROVIDER` (openai, azure-openai, anthropic or openrouter) and that provider's key. Without one, a plain-English query is sent as written and the result says it "was not translated".
- **Seer is a paid add-on** for Team and Business plans, $40 per active contributor a month. From December 8, 2026, it moves to usage-based credits with a daily spend limit, and `analyze_issue_with_seer` returns an error when credits run out.

### Where Sentry's server stops

- **Skills are per sign-in.** Every agent using that connection gets the same skills; another level means another sign-in.
- **Triage is broad.** The Triage skill allows `update_issue`, which can resolve, ignore or reassign any issue the agent finds.
- **Self-hosted Sentry** can't use the hosted server.
- **Each client keeps its own record.**

For one project in one or two clients, Sentry's server with a scoped address and the right skills is enough.

## Running it locally

- **Sentry CLI (recommended):** `curl https://cli.sentry.dev/install -fsS | bash`, `sentry auth login`, then `claude mcp add sentry -- sentry mcp`. Other clients run `sentry mcp` as a stdio command. Scope it with `sentry mcp my-org/` or `sentry mcp my-org/my-project`.
- **Self-hosted Sentry:** `sentry auth login --url https://sentry.example.com`, then set `SENTRY_HOST`. Seer is off by default there. Event searches fail on self-hosted versions older than 26.6.0.
- **`@sentry/mcp-server`** is now the legacy route: `npx @sentry/mcp-server@latest auth login`, or a token in `SENTRY_AUTH_TOKEN`. `--access-token` and `--host` still work but print deprecation warnings.
- **Token scopes:** `org:read`, `project:read`, `project:write`, `team:read`, `team:write` and `event:write`. Internal integration tokens aren't supported.

## Sentry MCP servers compared

| | Hosted server | `sentry mcp` (local) | Upsy |
|---|---|---|---|
| Who runs it | Sentry | You, through the Sentry CLI | Upsy, on top of Sentry's hosted server |
| Sign-in | OAuth, skills picked at consent | CLI login or a token | OAuth to Upsy; Upsy signs in to Sentry |
| Self-hosted Sentry | No | Yes | No |
| Plain-English search | Sentry's LLM or Seer | Your own LLM key | Sentry's LLM or Seer |
| Limits | Skills per sign-in, org or project in the address | Skills flags, scoping argument | Skills at Sentry, plus Read-only or picked tools per agent |
| Record | In each client | In each client | Upsy's History |

## Upsy's Sentry MCP server

Upsy connects to Sentry's hosted server with your Sentry sign-in, at the same address as Upsy's other apps, `https://upsy.ai/connect`. When you connect, Sentry shows its skills page, so the skills you tick there are the ceiling for every agent.

What it adds:

- **A level per agent, below the skills.** Claude Code can triage while Grok only reads, from one Sentry sign-in. **Read-only** keeps to tools Sentry marks read-only, which leaves out `update_issue` and `analyze_issue_with_seer`.
- **No surprise Seer runs.** Leave `analyze_issue_with_seer` out of an agent's picks, and it can't spend Seer credits.
- **Sentry next to your other apps.** One server holds Sentry, GitHub, Linear and Slack, so an agent can read an error, find the commit, and open a Linear issue with both.
- **Every client,** including ChatGPT, Grok and Muse.
- **History and alerts:** every Sentry tool an agent runs, under that agent.

Upsy uses the unscoped address, so agents find your organization and its region with Sentry's discovery tools first.

### Connect Sentry to Upsy

1. Go to [upsy.ai](https://upsy.ai) and click **Set up Upsy**.
2. Open **Apps**, click **Connect an app** and pick **Sentry**. On Sentry's page, tick the skills you want any agent to have, then approve. For another Sentry account, click **Add account** next to Sentry.
3. On the **Assistants** page, click **Add assistant** and choose your client under **Which assistant?**. In Claude Code: `claude mcp add --transport http --scope user upsy https://upsy.ai/connect`, then `/mcp`. Cursor and Codex take the same address; in Claude and ChatGPT, add it as a custom connector ([Claude](/guides/claude/custom-connector), [ChatGPT](/guides/chatgpt/custom-connector)). Grok and Muse take the setup prompt Upsy shows.

### Check that it works

> Using Upsy, what are the five newest unresolved Sentry issues in my-project, and which release introduced each?

The agent should call `search_issues`, then `get_issue_details` or `find_releases`. The calls show in Upsy's **History** under that agent.

### Picking Sentry tools

With **Pick actions**, start a coding agent with the Inspect tools plus `add_issue_note`, so it can read errors and leave notes but not resolve anything. Add `update_issue` for an agent you trust to triage, and `analyze_issue_with_seer` only if you pay for Seer and want it used. Keep the Manage tools off unless an agent sets up projects or alerts.

## Troubleshooting

### `invalid_target: The resource parameter does not match this authorization server`

Sentry's Claude Code plugin adds `?utm_source=plugin` to the address ([issue #1247](https://github.com/getsentry/toolkit/issues/1247)). Sentry fixed the server in November; if it still fails, add the server by hand with the plain address.

### `/sse` returns "SSE transport has been removed"

Change the address to `https://mcp.sentry.dev/mcp`.

### `Organization 'my-org' not found`, or "Project '…' not found in organization '…'"

The slug in the address is wrong. Use the slugs from your Sentry URLs, not the display names.

### Searches return nothing for plain-English queries

On the local server, set `EMBEDDED_AGENT_PROVIDER` and that provider's key, or ask in Sentry's search syntax (`is:unresolved level:error`).

### Codex: `Missing SENTRY_AUTH_TOKEN env var.`

The OpenAI-curated Sentry plugin has no server settings ([issue #44296](https://github.com/openai/codex/issues/44296)). Remove it and run `codex mcp add sentry --url https://mcp.sentry.dev/mcp`.

### "Your authorization has expired. Please re-authorize to continue using Sentry MCP."

Sentry's own token behind the connection stopped working. Sign in again: `/mcp` in Claude Code, or reconnect Sentry in Upsy.

### "Your organization does not have enough credits to start an Autofix run"

Seer is out of credits or past its daily limit. Raise the Seer budget in Sentry, or ask without Seer.

### Event searches fail with `API error (404)` on self-hosted Sentry

Your Sentry is older than 26.6.0. Upgrade it, or pin `@sentry/mcp-server` 0.36.0.

### "The user hasn't allowed you to use Sentry's "update_issue""

That's Upsy refusing a tool outside the agent's level. Change Sentry's level on the agent's page in Upsy.

## Security and privacy

- **It acts as you,** in every organization your Sentry login reaches. Scope the address to one org or project where you can.
- **Fewer skills, less risk.** Inspect alone can't change anything. Add Triage and Manage only where an agent needs them.
- **Error data can carry instructions.** Messages, breadcrumbs and user feedback come from your users and their browsers. Keep write skills away from agents that read them unattended.
- **Seer costs money.** Keep `analyze_issue_with_seer` behind your client's approval, or off.
- **Through Upsy,** agents never get your Sentry token: they call Upsy, and Upsy calls Sentry. Upsy emails you when one agent reads 100 or more times or deletes 50 or more items in 10 minutes, and when a new agent or app connects.

## FAQ

### What is the Sentry MCP server URL?

`https://mcp.sentry.dev/mcp`. Add `/my-org` or `/my-org/my-project` to scope it.

### Is there an official Sentry MCP server?

Yes. Sentry runs it and publishes the code as getsentry/toolkit, with the CLI's local server alongside.

### Is the Sentry MCP server free?

Sentry lists no separate price or plan for it. What the tools can reach depends on your Sentry plan, and Seer is a paid add-on.

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

Only locally: log in with `sentry auth login --url <your Sentry>` and run `sentry mcp`.

### Can I make it read-only?

Yes. Tick only Inspect Issues & Events at sign-in, or set Sentry to Read-only for the agent in Upsy.

### What happened to search_events?

It was split into six tools in October 2026: `search_errors`, `search_logs`, `search_traces`, `search_metrics`, `search_profiles` and `search_replays`.

### Do I still need an OpenAI key for Sentry MCP?

Not on the hosted server. Locally, you need an LLM provider key for plain-English searches.

---

Upsy connects personal AI assistants (Muse, Grok, ChatGPT, Claude, Gemini, Cursor, Antigravity, Claude Code, Codex, OpenClaw, Devin) to your Gmail, Google Calendar, Google Drive, Slack, Notion and other apps through one MCP server, with a shared memory, files and a cloud browser signed in to your sites. You choose what each assistant may do in each app, see everything it did, and turn it off in one click. Upsy is free. To add Upsy to an assistant, add a remote MCP server (Streamable HTTP) named Upsy at https://upsy.ai/connect. It signs in with OAuth; there is no API key.
