Data as of

Sentry MCP for Cursor: Setup & Config

Cursor: Sentry MCP brings production issues, events, and traces into coding-assistant workflows.

What you can do with Sentry in Cursor

Bring Sentry investigation and issue triage directly into a human-guided coding session.

  • Investigate production errors alongside application code.
  • Search event statistics and retrieve trace resources.
  • Request Seer analysis for an issue.

Before you start: Sentry in Cursor

  • Node.js with npx
  • Sentry user token
  • LLM provider credentials for AI-powered search

This is the README stdio configuration. Required token scopes are event:write, project:write, team:read, org:read, team:write, and project:read. Remote access is also documented at https://mcp.sentry.dev/mcp. Use --host for self-hosted Sentry; unsupported skills can be disabled.

Sentry Cursor configuration

  1. Choose Cursor configuration scope

    For Sentry MCP, open Project: .cursor/mcp.json User: ~/.cursor/mcp.json. Merge into mcpServers at project or user scope.

  2. Add Sentry MCP to Cursor

    Use the sentry-mcp entry below in mcpServers. Keep Sentry MCP's documented stdio connection fields and your other Cursor entries.

  3. Check Sentry MCP in Cursor

    Sentry MCP: Enable in Cursor’s MCP settings; inspect tools.

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

JSON
{
  "mcpServers": {
    "sentry-mcp": {
      "command": "npx",
      "args": [
        "@sentry/mcp-server"
      ],
      "env": {
        "SENTRY_ACCESS_TOKEN": "<Sentry user auth token with documented scopes>",
        "EMBEDDED_AGENT_PROVIDER": "<Explicit LLM provider for AI-powered search>",
        "OPENAI_API_KEY": "<OpenAI key if selecting OpenAI>"
      }
    }
  }
}

Sentry tools available to Cursor

Sentry's stored tool list documents 9 tools; compare it with Cursor's connected tool list, because the stored list is not a live check.

find_organizations

Find find_organizations under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Locate accessible organizations and their slugs.

find_projects

Find find_projects under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

update_issue

Find update_issue under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

search_events

Find search_events under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

analyze_issue_with_seer

Find analyze_issue_with_seer under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

search_issues

Find search_issues under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Find grouped issues using natural language or Sentry query syntax.

get_sentry_resource

Find get_sentry_resource under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Retrieve an issue, event, trace, replay, or other supported resource.

search_sentry_tools

Find search_sentry_tools under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Find additional operations in the Sentry MCP tool catalog.

execute_sentry_tool

Find execute_sentry_tool under Sentry in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Run a discovered operation with arguments matching its schema.

Sentry: full stored tool descriptions

Troubleshooting Sentry in Cursor

  • Cursor must find npx @sentry/mcp-server (Node.js/npm) for Sentry MCP. Enable the project/user entry in MCP settings and inspect its tools.
  • Review EMBEDDED_AGENT_PROVIDER, OPENAI_API_KEY, SENTRY_ACCESS_TOKEN for Sentry MCP before sharing project .cursor/mcp.json; project scope travels with the repository.
  • Sentry MCP uses stdio here: Cursor must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
  • Known limitation: AI-powered search needs an LLM provider.
  • Known limitation: Some self-hosted deployments lack Seer.
  • Known limitation: The README describes stdio support as work in progress.
  • General Cursor troubleshooting lives in the /clients/cursor guide.

Sentry MCP — details. Cursor guide

Frequently asked questions

Cursor's Sentry MCP entry belongs under mcpServers in .cursor/mcp.json (project) or ~/.cursor/mcp.json (user). Confirm the active scope in MCP settings.