
Apache HTTP Server AIops
io.github.AIops-tools由 GitHub 帳號 AIops-tools 發布v0.2.0更新於 Nov 5, 2026
Governed Apache HTTP Server operations — 17 MCP tools with audit.
概覽
本機 MCP 伺服器,讓助理透過 apachectl、健康探測與日誌檢查並診斷 Apache HTTP Server,每次呼叫都有稽核紀錄。
- 可以做什麼
- 檢查版本、設定語法、解析出的虛擬主機、已載入與編譯模組、建置選項及設定 include 樹
- 讀取執行時設定以及靜態模組中的指令
- 取得可選的 mod_status 指標、有長度限制的錯誤日誌尾端,以及不洩露隱私的存取日誌狀態摘要
- 探測由維運方設定的 HTTP 健康網址,且不下載回應內容
- 將各項檢查彙整為一次診斷,失敗時保留為錯誤
- 執行 graceful reload,先做設定測試並支援 dry-run
- 適用情境
- 適合讓助理在同一台機器上協助維運或排查 Apache HTTP Server:檢視設定、模組、虛擬主機、狀態指標與日誌,或在修改設定後執行受控重新載入。
- 執行需求
- 以本機 stdio 程序在使用者機器上執行(僅桌面端)。需要主機上安裝 Python 3.11+、uv 與 apachectl,並需設定檔列出目標:apachectl 路徑、可選的探測與 mod_status 網址、錯誤與存取日誌路徑、逾時與 TLS 設定。未宣告帳號、API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Apache HTTP Server AIops,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Apache AIops
A dedicated, governed MCP server, CLI and skill for Apache HTTP Server with 17 MCP tools. It uses Apache's own apachectl diagnostics, optional operator-configured HTTP health and mod_status URLs, and bounded reads of an operator-configured error log plus a privacy-preserving access-log status summary. Every call is audited and budgeted by the vendored governance harness.
What it checks
- Apache version, config syntax, parsed virtual hosts and loaded modules.
- Build options and parsed runtime configuration.
- Parsed config include tree, compiled modules and directives from static modules.
- Optional machine-readable
mod_statusmetrics, bounded error-log tail and privacy-preserving access-status summary. - Optional HTTP health status without downloading the response body.
apache_diagnosecorrelates the checks and preserves failures as errors withdata: null.
Setup from source
Requires Python 3.11+, uv, and apachectl on the operator host. Run uv sync --dev, uv run apache-aiops init, then uv run apache-aiops doctor. Manual ~/.apache-aiops/config.yaml:
Run uv run apache-aiops diagnose. The MCP entry point is uv run apache-aiops-mcp. The optional HTTP probe is configured by the operator, not chosen by a tool caller. TLS verification is enabled by default, and ca_file accepts a custom CA PEM.
Scope and verification
graceful-reload first runs configtest, supports dry-run and two CLI confirmations, and reports an unknown final outcome even if the command returned: existing workers may still serve the old config. It has no safe inverse when the prior config file is not snapshotted. Vhost editing, TLS certificate management and module changes remain outside this release. See verification. Missing operations and live-environment feedback are welcome as issues or PRs.
來源:README.md,提交 a0092fa
工具
0版本歷史
1- v0.2.0最新Nov 5, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分