mcpField
A
Apache HTTP Server AIops

Apache HTTP Server AIops

Local
github.com/AIops-toolsCloud & Infra0Updated 3d ago

About Apache HTTP Server AIops

Apache HTTP Server AIops is a governed MCP server, CLI, and skill for operators managing Apache HTTP Server. It combines Apache-native diagnostics with configurable health and log checks, while auditing and budgeting every call.

Key features

  1. 01Apache 配置与虚拟主机检查
  2. 02模块和运行时配置检查
  3. 03可选健康与日志检查
  4. 04相关诊断并保留探测错误
  5. 05调用审计与预算控制

Use cases

  1. 01检查 Apache 配置和已加载模块
  2. 02查看服务健康状态与日志摘要
  3. 03汇总多项检查以排查故障

MCP support

It provides 17 MCP tools for Apache HTTP Server operations. Calls are audited and budgeted by its governance harness.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"aiops-tools-apache-aiops": {
"command": "uvx",
"args": [
"apache-aiops"
]
}
}
}
Run commanduvx apache-aiops

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypiapache-aiops0.2.1

Tools

17

Saved tool list · updated 3d ago

ParameterTypeRequiredDescription
targetanyNo

Details

From the project 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_status metrics, bounded error-log tail and privacy-preserving access-status summary.
  • Optional HTTP health status without downloading the response body.
  • apache_diagnose correlates the checks and preserves failures as errors with data: 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:

targets:
  - name: local
    apachectl_bin: apachectl
    probe_url: http://127.0.0.1/health
    status_url: http://127.0.0.1/server-status?auto
    error_log: /var/log/apache2/error.log
    access_log: /var/log/apache2/access.log
    timeout: 10
    verify_ssl: true

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.