如何将 Sentry 远程 MCP 连接到 Cursor

约 1 分钟即可把 Sentry 的远程 MCP 服务端接入 Cursor。如需排查 OAuth / 401 问题,可先用 OAuth 2.1 调试器体检端点。

🛡️ Official✓ VerifiedHTTP + SSEOAuth 2.1🛡️ A+~575 tok18 tools
HTTP + SSEhttps://mcp.sentry.dev/mcp
Legacy SSE endpoint
SSEhttps://mcp.sentry.dev/sse
Install in Cursor →

Or add to ~/.cursor/mcp.json:

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

接入步骤

  1. 打开 MCP 设置 — Cursor → Settings → MCP,或直接编辑全局 ~/.cursor/mcp.json / 项目级 .cursor/mcp.json。
  2. 添加服务端 — 点击本页一键 deeplink 自动安装,或在 mcpServers 下加入 "sentry": { "url": https://mcp.sentry.dev/mcp }。
  3. 完成认证 — 首次调用时客户端会打开 Sentry 的 OAuth 授权页面——点击允许后工具即可用。
  4. 验证 — 在 在线 Inspector 中粘贴 https://mcp.sentry.dev/mcp 并运行 initialize + tools/list 验证连通性。

🧰 工具预览(18)

ToolSafetyDescriptionParameters
find_organizations
~34 tok
🟢 ReadList Sentry organizations you can access.—
find_teams
~29 tok
🟢 ReadList teams in an organization.—
find_projects
~31 tok
🟢 ReadList projects in an organization.—
find_releases
~29 tok
🟢 ReadList releases of a project.—
search_issues
~33 tok
🟢 ReadSearch Sentry issues using query syntax.—
search_events
~32 tok
🟢 ReadSearch error and transaction events.—
get_issue_details
~31 tok
🟢 ReadGet details of a Sentry issue.—
update_issue
~32 tok
🟠 WriteUpdate an issue's status or assignment.—
analyze_issue_with_seer
~32 tok
🟢 ReadAsk Seer to analyze an issue.—
create_team
~30 tok
🟠 WriteCreate a team in an organization.—
create_project
~30 tok
🟠 WriteCreate a project in a team.—
update_project
~29 tok
🟠 WriteUpdate project settings.—
create_dsn
~30 tok
🟠 WriteCreate a DSN key for a project.—
list_dsns
~28 tok
🟢 ReadList DSN keys of a project.—
get_doc
~30 tok
🟢 ReadFetch a Sentry documentation page.—
search_docs
~29 tok
🟢 ReadSearch Sentry documentation.—
whoami
~30 tok
🟢 ReadShow the authenticated Sentry user.—
get_issue_event_details
~36 tok
🟢 ReadGet details of a specific event on an issue.—

更多连接指南