---
title: "Sentry MCP server: errors, traces and issue triage for AI agents"
canonical_url: https://cookiesforai.app/mcp/sentry
last_updated: 2026-10-03T10:04:47+02:00
type: mcp
summary: "The Sentry MCP server gives AI coding agents access to your Sentry account: search errors and events, read issue details and stack traces, look at performance data and triage issues while fixing code."
install: "claude mcp add --transport http sentry https://mcp.sentry.dev/mcp/{organizationSlug}/{projectSlug}"
related:
  - "https://cookiesforai.app/mcp/aws"
  - "https://cookiesforai.app/mcp/cloudflare"
  - "https://cookiesforai.app/mcp/kubernetes"
  - "https://cookiesforai.app/mcp/terraform"
---

# Sentry MCP server

The Sentry MCP server gives AI coding agents access to your Sentry account: search errors and events, read issue details and stack traces, look at performance data and triage issues while fixing code.

| Fact | Value |
|---|---|
| Publisher | Sentry (official) |
| Source | https://github.com/getsentry/toolkit |
| License | FSL-1.1-Apache-2.0 |
| GitHub stars | 882 on 2026-10-02 |
| Last code push | 2026-10-01 |
| Page updated | 2026-10-03 |
| Hosted endpoint | https://mcp.sentry.dev/mcp |
| Official MCP Registry | io.github.getsentry/sentry-mcp |
| Documented clients | Claude Code, Cursor, VS Code |
| Category | Cloud and DevOps |
| Free tier | Free plan |
| Cost | No extra charge: Sentry lists MCP access on its free Developer plan; paid plans add volume and users, and Seer, Sentry's AI debugger, costs extra. |
| Current prices | https://sentry.io/pricing/ |
| Facts checked | 2026-10-02 |

## Connect

Claude Code, scoped to one project:

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

Claude Code, as a plugin with a Sentry subagent:

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

Cursor and other clients with a JSON config:

```
{"mcpServers": {"sentry": {"url": "https://mcp.sentry.dev/mcp/{organizationSlug}/{projectSlug}"}}}
```

Local server, for example against self-hosted Sentry:

```
npx @sentry/mcp-server@latest --access-token=sentry-user-token --host=sentry.example.com
```

The first connection to the hosted server opens a Sentry OAuth sign-in. In VS Code, run MCP: Add Server, choose HTTP and paste the endpoint. Add ?experimental=1 to the URL for newer tool variants.

## Ask your coding agent

```text
Connect the Sentry MCP server to my coding agent using its documented setup: https://github.com/getsentry/toolkit.
```

## What it does

The Sentry MCP server connects an AI coding agent to Sentry, the error and performance monitoring service. Sentry built it for developers who debug with an agent at their side: the agent can look up the issues in a project, read an error's stack trace and events, search events and traces, check performance problems and read Sentry's own documentation. Project management tools let it assign or resolve issues and manage projects, and a Seer group hands an issue to Sentry's AI root-cause analysis.

Sentry's search tools accept plain-language questions, such as "errors in checkout in the last day", and translate them into Sentry's query syntax with a language model. On the hosted server Sentry handles that; on a self-run server you must configure an OpenAI, Azure OpenAI, Anthropic or OpenRouter key for those tools to work. Tools are grouped into skills that you can narrow with a URL parameter, and scoping the URL to one organization or project hides discovery tools the agent does not need.

Sentry hosts the server at mcp.sentry.dev with OAuth sign-in. The code also runs locally with npx, which is the way to connect a self-hosted Sentry. The source repo was renamed from sentry-mcp to getsentry/toolkit and had 875 GitHub stars on 2026-10-01; it uses the Functional Source License, which converts to Apache-2.0 after two years.

Tools it gives your agent: `search_issues`, `search_events`, `get_issue_details`, `get_event_stacktrace`, `get_trace_details`, `update_issue`, `add_issue_note`, `analyze_issue_with_seer`, `find_projects`, `find_releases`, `search_docs`, `create_project`

## When to use it

- You want the agent to read a production error's stack trace and fix the code that caused it.
- You want a list of the newest or most frequent issues in a project before a release.
- You want to resolve or assign Sentry issues without leaving your editor.
- You run self-hosted Sentry and want the same tools against your own instance.

## When to pick something else

- General Sentry administration: Sentry says it focuses the tools on debugging workflows, not on covering the whole Sentry API.
- Self-run setups without an LLM key: the plain-language search tools need an OpenAI, Anthropic or OpenRouter key when you run the server yourself.

## What it needs

- A Sentry account (OAuth) or a Sentry user auth token for the local server

## Questions people ask

### Is the Sentry MCP server free?

Using it costs nothing extra: Sentry lists MCP access on its free Developer plan. You pay only for your Sentry plan and for Seer if you use its AI analysis (pricing page, 2026-10-01).

### Can the Sentry MCP server change anything, or only read?

It can change things: it can update issues, for example to assign or resolve them, and manage projects. Use the skills parameter to expose only the read and inspect tools.

## Related

### Other MCP servers for cloud and devops

- [AWS](https://cookiesforai.app/mcp/aws): The AWS MCP servers give AI agents access to AWS: a managed AWS MCP Server for API calls and docs, plus more than 50 open-source servers for services like CDK, EKS, Lambda and DynamoDB.
- [Cloudflare](https://cookiesforai.app/mcp/cloudflare): The Cloudflare MCP servers give AI agents access to a Cloudflare account through hosted endpoints: read Workers logs and builds, manage bindings, check DNS analytics, search the docs and render web pages.
- [Kubernetes](https://cookiesforai.app/mcp/kubernetes): The Kubernetes MCP server gives AI agents direct access to Kubernetes and OpenShift clusters: list and edit any resource, read pod logs, exec into pods, view events and install Helm charts.
- [Terraform](https://cookiesforai.app/mcp/terraform): The Terraform MCP server gives AI agents current Terraform Registry data on providers, modules and policies, and with a token manages HCP Terraform and Terraform Enterprise workspaces, runs and plans.

