dotsagent.io
语言:简体中文
可观测性 · Sentry

配置 Sentry

查询 Sentry 问题、事件、trace 和发布版本,并启动 Seer 根因分析;支持托管运行或本地运行。

发布者
Sentry 官方
托管端点
https://mcp.sentry.dev/mcp
本地运行
npx @sentry/mcp-server@latest --access-token=SENTRY_ACCESS_TOKEN
传输方式
streamable-http, stdio
身份验证
托管 endpoint 使用 OAuth,本地运行则使用用户身份验证 token。
环境变量
SENTRY_ACCESS_TOKEN
可访问内容
以读取为主;也可以更新问题。
许可证
FSL-1.1-Apache-2.0
源码
github.com/getsentry/toolkit
状态
活跃

安装

此服务器由供应商托管,因此只需添加其 URL,无需在本机运行任何内容。如果需要身份验证,上方的条目会说明具体方式;OAuth 服务器会在首次连接时提示你进行授权。

Claude Code

shell
claude mcp add --transport http --scope project sentry https://mcp.sentry.dev/mcp

Cursor

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

Codex

~/.codex/config.toml
[mcp_servers.sentry]
url = "https://mcp.sentry.dev/mcp"

改为在本机运行(Cursor)

.cursor/mcp.json
{
  "mcpServers": {
    "sentry": {
      "command": "npx",
      "args": [
        "@sentry/mcp-server@latest",
        "--access-token=SENTRY_ACCESS_TOKEN"
      ]
    }
  }
}

其他客户端的配置 →

可观测性 中的其他服务器

来源

  1. github.com/getsentry/toolkit
  2. raw.githubusercontent.com/getsentry/toolkit/HEAD/LICENSE.md

为 AI agent 开发者提供的独立参考资料。与此处提及的任何厂商均无关联。

© 2026 DotsAgent · 事实核查日期:2026年10月1日