Data as of

Sentry MCP for Cursor: Setup & Config

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

Sentry MCP 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 in Cursor: stdio checks

  • 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.
Tools
find_organizations, find_projects, update_issue

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.

Cursor's sentry-mcp example uses stdio.

Sentry MCP's Cursor configuration invokes npx @sentry/mcp-server (Node.js/npm).

Cursor's Sentry MCP example references EMBEDDED_AGENT_PROVIDER, OPENAI_API_KEY, SENTRY_ACCESS_TOKEN. Check these names if startup or authentication fails; the example alone does not distinguish required from optional values.

Sentry MCP's stored list contains 9 tools, including find_organizations, find_projects, update_issue. Compare those names with Cursor's connected tool list; the stored list is not a live check.