Sentry MCP 远程 MCP 服务器 – 官方端点、工具列表与一键连接指南

🛡️ Official✓ VerifiedHTTP + SSEOAuth 2.1🛡️ A+~575 tok18 tools·Online83ms·30 天在线率: 100%·上次拨测 2 分钟前

Sentry 托管的远程 MCP 服务器。AI 代理可以直接在 IDE 中查看错误 Issue、搜索事件并处理回归问题。

本页收录其官方远程端点、传输协议、认证方式、全部工具 Schema、实时可用性拨测与安全审计结果,并为 Cursor、Claude Code、VS Code、ChatGPT 等 10 大客户端提供一键接入指引。

https://mcp.sentry.dev/mcp
SSEhttps://mcp.sentry.dev/sse
提供方
Sentry ↗
分类
☁️ 云、基础设施与 DevOps🛠️ 开发者工具与 Git
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"
    }
  }
}

🧰 Sentry MCP 工具与 Schema(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.—

🛡️ 安全评级、质量与上下文 Token 审计

🛡️ 安全评级 A+上下文 Token 开销: ~575 tokens(该服务端 18 个工具定义注入每次系统提示词)

估算单次调用 Token 成本 →

  • No prompt-injection or hidden-character anomalies detected in tool descriptions
  • Streamable HTTP primary endpoint (current 2025-03-26 transport)
  • OAuth 2.1 with PKCE S256 enforced
  • Official first-party endpoint operated by the vendor
  • Manually verified by RemoteMCP.net

🔐 OAuth 2.1 与安全

认证方式
OAuth 2.1
动态客户端注册(DCR)
✅ 支持
PKCE S256
✅ 支持
Scopes
org:readproject:readevent:readevent:write
受保护资源元数据
https://mcp.sentry.dev/.well-known/oauth-protected-resource
审计 OAuth 2.1 配置 →

📡 官方远程端点与传输协议

远程端点 https://mcp.sentry.dev/mcp 采用 Streamable HTTP(流式 HTTP,2025-03-26 规范),同时保留旧版 SSE 端点 https://mcp.sentry.dev/sse 以兼容早期客户端。Streamable HTTP 在单一 POST 端点上完成 JSON-RPC 双向交互,是当前 MCP 规范推荐的传输方式,可直接被 Claude、Cursor、VS Code 等客户端以 URL 形式接入,无需 npx mcp-remote 桥接。

接入前可将端点粘贴至本站 在线 MCP Inspector 实测 initialize / tools/list 握手,确认真实协议行为。

🔐 认证与权限机制

认证方式为 OAuth 2.1。首次连接时客户端会收到 401 挑战并从 WWW-Authenticate 头解析 RFC 9728 受保护资源元数据,随后自动完成授权服务器发现(RFC 8414)、动态客户端注册(DCR)与 PKCE S256 浏览器授权流程——你只需在浏览器中点击一次授权,无需手工粘贴任何密钥。

🛡️ 上下文开销与安全审计

该服务端当前登记 18 个工具,全部定义合计约 575 tokens,会在每次请求时注入模型系统提示词。安全评级为 A+,官方直营来源。工具名与 Schema 越精简,对上下文窗口的"税"越低;可用 feecalculator.app 估算每次调用的边际成本。

🧩 主流客户端快速接入

本站为 Sentry MCP 生成了 Cursor / Claude Code / VS Code / ChatGPT / Windsurf / Kiro / Codex / Cline / Gemini 等 10 大客户端的专属配置——包括一键 deeplink、claude mcp add 命令与 JSON/TOML 片段。下方选择你的客户端即可查看 1 分钟接入步骤。代表性工具包括 find_organizations、find_teams、find_projects、find_releases、search_issues 等。

📖 Sentry 详解

Sentry MCP — Remote MCP Server

Sentry's hosted MCP gives agents access to your organization's error data: issue details, event search and project listings. It is fully open source (getsentry/sentry-mcp) and implements OAuth 2.1 so each user connects their own Sentry account — the agent only sees projects you can see. Both /mcp (Streamable HTTP) and /sse (legacy) transports are available.

Official Sentry MCP Endpoint & Transport Architecture

  • Primary endpoint (Streamable HTTP): https://mcp.sentry.dev/mcp
  • Legacy SSE endpoint: https://mcp.sentry.dev/sse
  • Transport: Streamable HTTP + legacy SSE

Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. Sentry MCP also keeps a legacy HTTP+SSE endpoint for clients pinned to the 2024 spec — always prefer the Streamable HTTP URL when your client supports it.

Authentication, Scopes & Permission Boundaries

Sentry MCP uses OAuth 2.1 — the first request returns a 401 Unauthorized challenge with a WWW-Authenticate header pointing at the authorization metadata. Compliant clients (Cursor, Claude, VS Code, ChatGPT) handle the whole flow — PKCE and Dynamic Client Registration, so no manual client setup is needed — and simply open a browser consent screen.

Of the 4 cataloged tools, 3 are read-only and 1 can write or mutate state (create resources, run SQL, post messages). Grant access only to the accounts and projects you intend agents to act on, and prefer scoped credentials or a dedicated workspace where the provider supports them.

Common Troubleshooting & Connection Tips

  • 401 Unauthorized on connect — that's expected; the server is OAuth-protected. Let your client complete the browser consent flow, or inspect the endpoint in our OAuth debugger to see the exact WWW-Authenticate challenge.
  • Which URL should I use? Prefer https://mcp.sentry.dev/mcp (Streamable HTTP). The SSE URL is only for older clients pinned to the pre-2025-03-26 spec.
  • "Session expired" / stale Mcp-Session-Id — just re-send initialize; stateless clients can ignore session headers entirely.
  • The OAuth flow maps to your Sentry user permissions; self-hosted Sentry instances are not covered by this hosted endpoint.
  • Prefer /mcp for new setups; /sse remains for legacy clients.

🚀 如何接入 Sentry MCP 远程 MCP

  1. 获取远程端点 — 复制官方端点 https://mcp.sentry.dev/mcp。
  2. 写入客户端配置 — 在 Cursor 的 mcp.json / Claude Code CLI / 其他客户端中添加该 URL(见下方分客户端指南)。
  3. 授权并验证 — 完成浏览器 OAuth 授权后,在本站 Inspector 中运行 initialize 与 tools/list 验证连通性。

🔌 Sentry × 各客户端连接指南

❓ 常见问题

Sentry MCP 远程 MCP 服务器是官方提供的吗?

本条目标记为「官方直营」。端点由 Sentry 官方运营,所有收录端点均经过真实 MCP initialize 握手验证。

如何在 Claude / Cursor 中连接 Sentry MCP?

复制远程端点 https://mcp.sentry.dev/mcp:Claude Code 执行 claude mcp add --transport http sentry https://mcp.sentry.dev/mcp;Cursor 可直接使用本页的一键 deeplink 或在 ~/.cursor/mcp.json 中添加 { "mcpServers": { "sentry": { "url": "https://mcp.sentry.dev/mcp" } } }。首次调用会自动弹出 OAuth 2.1 授权页面。

连接时返回 401 或需要密钥怎么办?

401 是 OAuth 2.1 的正常挑战响应——客户端会依据 RFC 9728 元数据自动完成授权,无需手工处理。若授权流程中断,可用本站 OAuth 2.1 Debugger 定位 PRM / DCR / CORS 配置问题。

本地 stdio MCP 和这个远程 MCP 有什么区别?

本地 MCP 通过 npx/uvx 在你的机器上启动 stdio 子进程,依赖本地运行时且密钥以明文写入配置文件;远程 MCP 是 Sentry 托管的 HTTPS 端点,免安装、支持 OAuth 2.1 授权流,且同一端点可跨桌面与移动端复用。详见 本地 vs 远程 MCP 对比。

🔗 同类远程 MCP 服务端