Sentry
Sentry's official MCP server for searching issues and debugging errors from an AI client
- Platforms
- API, CLI
- Runs
- Locally or Remotely
- Version
- 0.49.0
- Listing updated
- today
Similar MCP servers
About Sentry
Sentry is an MCP server for developer tools. It can run locally on your machine or as a hosted remote server.
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.
Install
Run in a terminal
claude mcp add --transport http sentry-mcp https://mcp.sentry.dev/mcpAdd to Settings → Connectors → Add custom connector
https://mcp.sentry.dev/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"sentry-mcp": {
"url": "https://mcp.sentry.dev/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"sentry-mcp": {
"type": "http",
"url": "https://mcp.sentry.dev/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"sentry-mcp": {
"serverUrl": "https://mcp.sentry.dev/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sentry-mcp": {
"type": "http",
"url": "https://mcp.sentry.dev/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
SENTRY_AUTH_TOKENSentry auth token. Optional after `npx -y @sentry/mcp-server auth login`.SENTRY_HOSTSelf-hosted Sentry hostname or URL. Takes precedence over SENTRY_URL. Defaults to sentry.io.SENTRY_URLSelf-hosted Sentry URL, such as https://sentry.example.com. Defaults to sentry.io.
What it does
- 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
Sentry 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.


