# Sentry

> Sentry is an MCP server for developer tools. Sentry's official MCP server for searching issues and debugging errors from an AI client. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Platforms:** API, CLI
- **Website:** https://mcp.sentry.dev
- **Repository:** https://github.com/getsentry/toolkit/tree/HEAD/packages/mcp-server
- **MCP Registry name:** io.github.getsentry/sentry-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

Sentry offers this server in two forms. The hosted endpoint at mcp.sentry.dev signs you in with OAuth the first time you connect, so no token is pasted anywhere. The same server also runs locally over stdio, either through the Sentry CLI (`sentry mcp`, which reuses your CLI login) or through the older `@sentry/mcp-server` npm package.

You can narrow a connection to a single organization or project by adding slugs to the URL. When scoped, tools default to that organization or project and discovery tools that are no longer needed are hidden. Sentry recommends project scope when possible. An `?experimental=1` query parameter turns on forward-looking tool variants.

Self-hosted Sentry works too: set `SENTRY_HOST` or `SENTRY_URL` and log in against your own instance. The npm package needs Node.js 22.15 or later.

## Features

- **Hosted OAuth endpoint:** Connect to mcp.sentry.dev/mcp and approve access in the browser, with no API key to copy.
- **Organization and project scoping:** Add org and project slugs to the URL so tools default to one project.
- **Local stdio mode:** Run `sentry mcp` through the Sentry CLI or launch `@sentry/mcp-server` with npx.
- **Self-hosted Sentry support:** Point the server at your own instance with SENTRY_HOST or SENTRY_URL.
- **Token or login auth:** Use a stored CLI login or set SENTRY_AUTH_TOKEN in the client environment.
- **Experimental tool variants:** Opt in to forward-looking tools with the experimental query parameter.

## Good for

- Ask an assistant to triage the newest unresolved issues in a project
- Read performance data and error details while debugging in the editor
- Look up Sentry documentation without leaving the chat
- Manage Sentry projects from an AI client

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.sentry.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "sentry-mcp": {
      "url": "https://mcp.sentry.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "sentry-mcp": {
      "type": "http",
      "url": "https://mcp.sentry.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "sentry-mcp": {
      "serverUrl": "https://mcp.sentry.dev/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "sentry-mcp": {
      "type": "http",
      "url": "https://mcp.sentry.dev/mcp"
    }
  }
}
```

## FAQ

### Do I need an API token?

Not for the hosted endpoint, which uses OAuth. The stdio package can sign in once with `auth login` or take SENTRY_AUTH_TOKEN.

### Can it connect to self-hosted Sentry?

Yes. Set SENTRY_HOST or SENTRY_URL, and log in against your own server.

### How do I limit it to one project?

Use the scoped URL form mcp.sentry.dev/mcp/{organizationSlug}/{projectSlug}, or pass a target to `sentry mcp`.

### What runtime does the npm package need?

Node.js 22.15 or later.

### How do I add Sentry to Claude Code?

Run this command in your terminal: claude mcp add --transport http sentry-mcp https://mcp.sentry.dev/mcp

### What are the best alternatives to Sentry?

The closest alternatives to Sentry are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/sentry
