Sentry MCP server

Sentry's official remote server for investigating errors, issues, traces and releases from a coding agent. Connections authorize through OAuth with your Sentry account.

Remote (HTTP)OAuth

Set up Sentry

Configuration examples, not tested connections. Replace placeholders and review the upstream documentation before use.

Claude Code

Run in your terminal.

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

Cursor

Merge into ~/.cursor/mcp.json

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

Codex

Run in your terminal.

codex mcp add sentry --url https://mcp.sentry.dev/mcp
codex mcp login sentry

Gemini CLI

Merge into ~/.gemini/settings.json

{
  "mcpServers": {
    "sentry": {
      "httpUrl": "https://mcp.sentry.dev/mcp"
    }
  }
}

OpenCode

Merge into ~/.config/opencode/opencode.jsonc

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "sentry": {
      "type": "remote",
      "url": "https://mcp.sentry.dev/mcp",
      "enabled": true
    }
  }
}

VS Code

Merge into .vscode/mcp.json

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

Using more than one server?Add to a config with other servers

Step-by-step setup guides: Claude Code and Codex CLI, Cursor and VS Code. In Claude Desktop, add the URL as a custom connector. This is a remote server with OAuth sign-in; see remote vs local servers and authentication and security basics.

Overview

Sentry's MCP server is a remote service at https://mcp.sentry.dev/mcp, maintained alongside the Sentry CLI in the getsentry/toolkit repository. The repository had commits on 10 October 2026, and the CLI package was released on 5 October. Sentry describes the server as built for human-in-the-loop coding agents, so its tools focus on debugging, not on general account administration.

A typical session starts with find_organizations and find_projects, then moves to search_issues and get_issue_details to read stack traces and context. analyze_issue_with_seer asks Sentry's Seer for a root-cause analysis, and update_issue can resolve or assign an issue once it is fixed. Other tools cover releases, traces and events. Upstream notes that the natural-language search tools rely on an LLM provider on Sentry's side.

Connections use OAuth. After you add the URL, your client opens a Sentry sign-in, and the server acts with your own Sentry permissions. In Claude Code you finish this with /mcp; in Codex, run codex mcp login sentry. For a self-hosted Sentry, upstream also offers a stdio mode that uses a user auth token with scopes such as org:read, project:read and project:write, which is not covered by this example.

Example tools

  • find_organizations
  • find_projects
  • search_issues
  • get_issue_details
  • analyze_issue_with_seer
  • update_issue

Tool names are upstream examples. The server's live tool list can differ.

Browse Developer Tools servers

Sources

This page was written from the upstream documentation below and last reviewed on 11 October 2026. Listing is not a security or compatibility endorsement. Report a correction through the contact page.