Rootly MCP 服务器
Rootly API的 MCP 服务器,可接入您常用的 MCP 兼容编辑器,例如 Cursor、Windsurf 和 Claude。无需离开 IDE,即可在一分钟内解决生产问题。
先决条件
- Python 3.12 或更高版本
uv
包管理器- Rootly API 令牌
在 IDE 中运行
使用我们的PyPi 包或通过克隆此 repo 进行安装。
要在您最喜欢的 MCP 兼容编辑器中进行设置(我们使用 Cursor 和 Windsurf 对其进行了测试),以下是配置:
如果您想自定义allowed_paths
以访问更多Rootly API路径,请克隆包并使用此配置。
特征
该服务器根据 Rootly 的 OpenAPI(Swagger)规范动态生成 MCP 资源:
- 基于 Rootly 的 OpenAPI 规范动态生成的 MCP 工具
- 事件端点的默认分页(10 个项目),以防止上下文窗口溢出
- 限制向 AI 代理公开的 API 路径数量
我们限制公开的 API 路径数量有两个原因
- 上下文大小:由于Rootly 的 API包含非常丰富的路径,AI 代理可能会不堪重负,无法正确执行简单的操作。目前,我们仅公开/incidents和/incidents/{incident_id}/alerts 。
- 安全性:如果您想限制用户可以通过 MCP 服务器访问的信息类型或操作
如果您想要提供更多路径,请编辑src/rootly_mcp_server/server.py
中的变量allowed_paths
。
免责声明
该项目目前处于原型阶段,不适用于生产环境。如果您有任何想法或发现问题,欢迎提交 PR 或创建 Issue。
关于 Rootly AI 实验室
该项目由Rootly AI 实验室开发。该实验室致力于构建系统可靠性和卓越运营的未来。我们以开源孵化器的形式运营,分享创意、进行实验并快速构建原型。我们致力于确保我们的研究惠及整个社区。
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.
Tools
从您的 IDE 管理事件。MCP 服务器允许使用 Rootly API 提取事件及其相关元数据。
Related Resources
Related MCP Servers
- -securityAlicense-qualityEnables AI applications to manage JIRA issues, workflows, and tasks through a standardized MCP interface, facilitating real-time updates and seamless interaction with JIRA's API.Last updated -6PythonMIT License
- AsecurityAlicenseAqualityAn MCP server that provides tools for interacting with Linear issue tracking system, currently supporting issue search with plans to expand to issue creation, updates, comments, and project management.Last updated -1731TypeScriptMIT License
- -securityFlicense-qualityA server that connects MCP clients (Claude, Cursor, Windsurf, etc.) to EventCatalog instances, allowing users to ask questions about their event-driven architecture and get insights about domains, services, and message schemas directly within their development tools.Last updated -16813TypeScript
- AsecurityAlicenseAqualityAn MCP server implementation that integrates with Backlog API, enabling project management operations including issues, projects, and wikis through natural language interactions.Last updated -12533TypeScriptMIT License