
openITCOCKPIT
io.github.openITCOCKPIT由 GitHub 账号 openITCOCKPIT 发布v0.5.0更新于 Oct 24, 2026
openITCOCKPIT monitoring: host and service state, history, downtimes, acknowledgements, patches
概览
一个 MCP 服务器,让助手读取并在启用后修改 openITCOCKPIT 监控实例:主机与服务状态、历史、停机与补丁
- 可以做什么
- 查看监控状态:问题总览、服务健康、问题排查、班次摘要与通知原因说明,并同时显示停机与确认信息。查询配置上下文:某个容器可用的模板与元素。执行监控操作(写入工具,默认关闭):安排停机、确认问题、立即检查、管理维护窗口。管理生命周期与配置:将主机或服务移出监控、删除,以及修改监控配置。用工具集限制暴露范围,例如 health、operations、lifecycle、patch、reporting、catalog、onboarding、config 与 provisioning。
- 适用场景
- 适合让助手回答 openITCOCKPIT 5.6 及以上实例的运维问题,例如当前哪里出故障、某服务为何严重、某告警为何未触发。若还希望模型安排停机或调整监控配置,也可加入,但应先只读使用,审阅后再启用写入。
- 运行要求
- 以本地 Docker 容器通过 stdio 运行(镜像默认 HTTP,此时还需 MCP_AUTH_TOKEN 和发布端口)。需要 openITCOCKPIT 5.6 或更新版本的实例、不含路径的 OITC_BASEURL 设置,以及专用最小权限用户的 OITC_APIKEY 密钥。写入工具需将 OITC_ENABLE_WRITE_TOOLS 设为 true。
安装
在 SourceWeft 中
- 打开 控制台中的 openITCOCKPIT,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
openITCOCKPIT MCP Server
An MCP server that puts an openITCOCKPIT monitoring instance in front of an LLM client: what is broken and why, what someone already handles, what changed - and, off by default, the tools that act on it.
[!CAUTION] Use at your own risk. This server lets a language model read and - with write tools enabled - change your monitoring configuration. A model can misunderstand a request or pick the wrong call. Review what it proposes before you approve it, and start with read-only access. The software is provided "as is", without warranty or liability of any kind; see the MIT License.
- Requires openITCOCKPIT 5.6 or newer (compatibility).
- 42 tools, 20 read-only and 22 that change something.
- Write tools are off by default and are not registered until you enable them.
- Names, never IDs. Tools take hostnames, template names and container paths; the server resolves them.
- Scope-checked writes. References are validated against the target container before anything is sent, which openITCOCKPIT's own API does not do.
Quickstart
Point your client at http://localhost:8000/mcp with the bearer token from your
.env. Compose reads that same file for the published port, so setting
OITC_PORT there moves both sides at once.
Three settings matter to start: MCP_AUTH_TOKEN (what clients present to this
server), OITC_BASEURL and OITC_APIKEY (what this server presents to
openITCOCKPIT). Everything else has a default -
all of it.
What you can ask it
Every tool by name, with its parameters and what it costs in context: docs/tools.md, generated from the code. What a result looks like and what happens when you write: docs/using-the-tools.md.
Limiting an instance
Running a monitoring instance is not one job, so a surface small enough to be easy would be too small to be useful. Instead the server keeps every tool the work needs and a toolset hands one agent its share: around ten tools, complete for that job and nothing beyond it. A tool that was never registered cannot be called at all.
The shipped sets are health, operations, lifecycle, patch, reporting,
catalog, onboarding, config and provisioning. Sets are defined in a file
you can replace: docs/toolsets.md.
Measuring a model
oitc-mcp-eval asks operator questions against your instance and checks whether
a model answers them from the tools instead of inventing. It keeps every run in
SQLite, so models and changes stay comparable.
Documentation
Security in one paragraph
The server holds one openITCOCKPIT credential and never sends it to a client. Clients authenticate with their own token; in delegated mode each request carries a short-lived user token instead, and the server acts as that user with their permissions. Write tools stay unregistered until you enable them. The details, including what to give the openITCOCKPIT user: docs/security.md.
License
MIT.
来源:README.md,提交 49e0515
工具
0版本历史
2- v0.5.0最新Sep 17, 2026
- v0.4.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分