Sentry MCP Server

by Sentry
Connect MCP

Connects AI assistants to Sentry to investigate errors, analyze incidents, and work with projects through MCP.

Connect MCP

Copy the setup for your client. YourAgents does not run it or ask for tokens.

After adding the server, sign in through your client and review the requested permissions.

Codex

Run the command in your terminal, then sign in if prompted.

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

Run the command in your terminal, then sign in if prompted.

claude mcp add --transport http sentry https://mcp.sentry.dev/mcp
# Claude Code: /mcp
Cursor · .cursor/mcp.json

Open in Cursor

If you already have a config file, merge only this server entry and keep the other settings.

{
  "mcpServers": {
    "sentry": {
      "url": "https://mcp.sentry.dev/mcp"
    }
  }
}
VS Code · .vscode/mcp.json

Open in VS Code

If you already have a config file, merge only this server entry and keep the other settings.

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

Description

Sentry MCP Server is Sentry's official Model Context Protocol interface for AI assistants to access application monitoring data. It supports investigating errors and application health from compatible MCP clients. Agents can search errors, inspect events and performance, and retrieve project or documentation context. With suitable permissions, they can also work with projects, alert rules, and metric monitors. For example, a developer can ask an assistant to investigate a recent failure, gather related events, and outline checks. Connections can be scoped to a single organization or project to reduce exposure. The hosted server uses OAuth, and a local option runs through Sentry CLI. A Sentry account and MCP client are required; capabilities depend on Sentry permissions and plan. Changing alerts or other objects needs appropriate rights, and no separate MCP subscription price has been confirmed.