MCP 服务器哨兵 - TypeScript 实现
这是一个用 TypeScript 实现的模型上下文协议 (MCP) 服务器,用于连接 Sentry 错误跟踪服务。该服务器允许 AI 模型查询和分析 Sentry 上的错误报告和事件。
特征
get_sentry_issue
工具通过 ID 或 URL 检索并分析 Sentry 问题
输入:
issue_id_or_url
(字符串): 要分析的 Sentry 问题 ID 或 URL
返回:发行详情包括:
标题
问题 ID
地位
等级
首次出现时间戳
上次上线时间戳
事件计数
完整的堆栈跟踪
sentry-issue
提示模板从 Sentry 检索问题详细信息
输入:
issue_id_or_url
(字符串): Sentry 问题 ID 或 URL
返回:格式化的问题详细信息作为对话上下文
安装
配置
服务器使用环境变量进行配置。在项目根目录中创建一个.env
文件:
或者,您可以在运行时设置这些环境变量。
跑步
通过标准 IO 运行服务器:
使用 MCP Inspector 进行调试:
环境变量说明
SENTRY_AUTH_TOKEN
(必需):您的 Sentry API 访问令牌SENTRY_PROJECT_SLUG
(可选):Sentry 项目的 slugSENTRY_ORGANIZATION_SLUG
(可选):您的 Sentry 组织的 slug
如果 URL 中提供了项目和组织信息,则可以省略后两个变量。
执照
该项目已获得 MIT 许可。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
连接到 Sentry 错误跟踪服务的模型上下文协议服务器的 TypeScript 实现,允许 AI 模型查询和分析错误报告和事件。
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI models to interact with SourceSync.ai's knowledge management platform for managing documents, ingesting content from various sources, and performing semantic searches.Last updated -2523
- -securityFlicense-qualityA Model Context Protocol server that retrieves and analyzes Sentry.io issues, allowing users to inspect error reports, stacktraces, and debugging information from their Sentry account.Last updated -21
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Sentry for error tracking and monitoring, allowing retrieval and analysis of error data, project management, and performance monitoring through the Sentry API.Last updated -20
- -securityFlicense-qualityA TypeScript server that allows AI agents to access, retrieve, and analyze Sentry error data through the Modern Context Protocol.Last updated -2