
Sentry Mcp Server
io.github.friendlygeorge由 GitHub 账号 friendlygeorge 发布v1.0.0更新于 Oct 24, 2026
MCP server for Sentry — error tracking, issues, releases, events, and projects for AI assistants.
概览
把 AI 助手连接到 Sentry,可浏览组织、项目、问题、事件和发布,并解决或忽略问题。
- 可以做什么
- 列出组织、项目、团队和成员及其角色与标识
- 按环境、状态、级别、查询和项目筛选问题,并查看问题详情与分组哈希
- 列出并读取某个问题的事件,包括异常、堆栈、面包屑和标签
- 列出发布并查看发布详情,含提交信息与文件变更
- 解决、忽略或重新打开问题,并可附加评论
- 适用场景
- 适合在调试时让助手处理 Sentry 错误:查找生产环境未解决的问题、获取堆栈信息、确认问题由哪个发布引入,或在修复后关闭问题。
- 运行要求
- 通过 npx(Node.js)以 stdio 方式在桌面 MCP 客户端本地运行。需要 Sentry 认证令牌,放在 SENTRY_AUTH_TOKEN 中,具备 org:read、project:read、event:read、issue:read、issue:write 等权限。可用 SENTRY_BASE_URL 指向自建 Sentry 实例,并需能访问 Sentry API。
安装
在 SourceWeft 中
- 打开 控制台中的 Sentry Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Sentry MCP Server
Connect AI assistants to Sentry — error tracking, issues, releases, events, and project management through the Model Context Protocol.
Works with Claude Desktop, Cursor, Windsurf, Cline, Continue, and any MCP-compatible client.
Features
Quick Start
1. Get a Sentry Auth Token
Go to Sentry → Settings → Auth Tokens and create a token with the scopes you need (org:read, project:read, event:read, event:write, issue:read, issue:write).
Or visit: https://sentry.io/settings/auth-tokens/
2. Configure your MCP client
Claude Desktop — add to claude_desktop_config.json:
Cursor — add to MCP settings (.cursor/mcp.json):
3. Run manually (for testing)
Environment Variables
Self-hosted Sentry
If you run your own Sentry instance, set SENTRY_BASE_URL:
Example Queries
"List my Sentry organizations"
"Show me unresolved errors in the production environment for org
acmeprojectweb"
"Get details of issue
1234567890and show me the latest event's stack trace"
"Resolve issue
1234567890and add a comment that it's fixed in v1.2.3"
"List the last 10 releases for
acme"
"Who are the members of
acmeorg and their roles?"
API Coverage
This server covers the most-used endpoints of the Sentry Web API:
- Organizations (
/organizations/) - Projects (
/organizations/{org}/projects/) - Issues (
/organizations/{org}/issues/,/issues/{id}/) - Events (
/issues/{id}/events/,/projects/{org}/{project}/events/{id}/) - Releases (
/organizations/{org}/releases/) - Teams (
/organizations/{org}/teams/) - Members (
/organizations/{org}/members/)
For the full Sentry API, see docs.sentry.io/api.
License
MIT © 2026 Nova
来源:README.md,提交 595a8e4
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分