XferOps Sentry — XferOps 的 Sentry
v0.1.0通过MCP查询Sentry问题、事件和项目,以用于XferOps事件调查和分类。需要@sentry/mcp-server和Sentry API token。
运行时依赖
安装命令
点击复制技能文档
Sentry MCP 错误跟踪和分类通过MCP(Model Context Protocol)。 安装 安装MCP服务器:npx -y @sentry/mcp-server --skills=inspect,triage 在MCP客户端配置(例如,~/.mcporter/mcporter.json): { "mcpServers": { "sentry": { "command": "npx", "args": ["-y", "@sentry/mcp-server", "--skills=inspect,triage"], "env": { "SENTRY_ACCESS_TOKEN": "your-token-here" } } } } 将SENTRY_ACCESS_TOKEN设置为具有API访问权限的Sentry用户身份验证令牌。 工具(共8个) 组织和项目 list_organizations — 列出令牌可用的组织 list_projects — 列出组织中的项目 问题 list_issues — 列出组织中的问题(需要organizationSlug) get_issue — 获取特定问题的详细信息(需要organizationSlug,issueId) 事件 list_events — 列出问题的事件(需要organizationSlug,issueId) get_event — 获取事件的详细信息(需要organizationSlug,eventId) AI工作流 inspect — AI驱动的问题检查 triage — AI驱动的分类辅助 常见模式 列出组织 mcporter call sentry.list_organizations 列出项目 mcporter call sentry.list_projects organizationSlug=xferops 列出问题 mcporter call sentry.list_issues organizationSlug=xferops 获取问题详细信息 mcporter call sentry.get_issue organizationSlug=xferops issueId=XFEROPS-AUTH-1 列出问题的事件 mcporter call sentry.list_events organizationSlug=xferops issueId=XFEROPS-AUTH-1 XferOps注释 默认组织:xferops 令牌可以存储在Secrets Manager中作为xferops/sentry/api-token 此设置已经在Adam的机器上配置完成。