openITCOCKPIT

io.github.openITCOCKPIT由 GitHub 帳號 openITCOCKPIT 發布v0.5.0更新於 Oct 24, 2026

openITCOCKPIT monitoring: host and service state, history, downtimes, acknowledgements, patches

概覽

AI 產生的概覽

一個 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。
安裝前請注意
啟用寫入工具後伺服器可修改監控設定;模型可能誤解請求或選錯呼叫,應審閱其提議並先以唯讀方式使用。它持有 openITCOCKPIT API 密鑰(OITC_APIKEY),權限等同對應使用者,請使用專用的最小權限帳號。TLS 驗證預設開啟;自簽憑證的執行個體建議設定 OITC_CA_BUNDLE 而非關閉驗證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 openITCOCKPIT,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

bash
cp .env.example .env          # fill in the two secrets, see Configurationdocker compose up --build

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

AskWhat answers it
"What is broken right now?"get_problem_overview - causes separated from their consequences
"Why is db-01 critical?"get_service_health, investigate_problem
"Is anyone on it already?"the same tools: downtime and acknowledgement come with the state
"What happened during the night shift?"get_shift_summary
"Why did I get no alert for web01?"explain_notification
"Take web01 out until Monday"schedule_downtime (write)
"Which templates could web-05 use?"get_allowed_elements_for_container

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.

bash
OITC_TOOLSETS=health          # find things and see how they are doingOITC_TOOLSETS=operations      # acknowledge, maintenance windows, check nowOITC_TOOLSETS=lifecycle       # take things out of the monitoring, or delete them

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.

bash
oitc-mcp-eval --model your-model --samples 3     # against the configured instanceoitc-mcp-eval --compare                          # newest run of every model./scripts/eval-throwaway.sh --model your-model   # instance created and removed for you

docs/evals.md.

Documentation

Configurationevery setting, and which secret goes where
Connecting a clientHTTP and stdio, with working examples
InstallationDocker, from source, MCP Registry
Toolsevery tool, generated from the code
Working with the toolsresult shapes, container scope, read-modify-write
Toolsetslimiting an instance, writing your own set
Skills and promptsthe material served alongside the tools
Measuring a modelthe eval, its cases, and reading the results
Securitywhat this server can reach, and what it refuses
Architecturehow the pieces fit together
Tool designthe rules a new tool follows
openITCOCKPIT API notesthe behaviour this server works around
Versioningversion numbers and compatibility
Developmentchecks, tests, running from a checkout

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.5.0最新Sep 17, 2026
  2. v0.4.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分