Bietet kontrollierte und auditierte Operationen für Traefik, Caddy und HAProxy, um Routes, Upstreams und Zertifikate zu verwalten sowie Root Cause Analysis durchzuführen.
Auch bekannt als AIops-tools/Proxy-AIops, proxy-aiops
- Stars
- 0
- Tools
- —
- Downloads, 30 Tage
- 951
- Neueste Version
- 0.13.0
- Letzter Commit
- 30. Okt. 2026
- Lizenz
- MIT
Was ist Proxy AIops MCP?
Proxy AIops ist ein MCP server. Bietet kontrollierte und auditierte Operationen für Traefik, Caddy und HAProxy, um Routes, Upstreams und Zertifikate zu verwalten sowie Root Cause Analysis durchzuführen.
Zusammenfassung generiert aus dem README des Projekts
Über Proxy AIops MCP server
Das Management von Edge-Infrastruktur durch AI Agents wird mit Proxy AIops sicherer, da es kontrollierte und auditierte Operationen für Traefik, Caddy und HAProxy bereitstellt. Dieser Server ermöglicht es Entwicklern, mit einem einheitlichen Set an Tools mit mehreren Reverse Proxies zu interagieren, unabhängig von der zugrunde liegenden Plattform. Er übernimmt komplexe Aufgaben wie die Verwaltung von Routes, Upstreams und TLS-Zertifikaten und stellt gleichzeitig sicher, dass jede Aktion in einer lokalen Audit-Datenbank protokolliert wird.
Nutzer können dies als standalone MCP server für AI-Clients bereitstellen oder das CLI für manuelle Operationen verwenden. Das System enthält ein Governance-Framework mit einem Call-Budget-Circuit-Breaker, um unkontrolliertes Agenten-Verhalten zu verhindern, sowie Risk-Tier-Labeling für mehr Transparenz. Bei reversiblen Änderungen, wie etwa Caddy-Konfigurations-Updates oder Anpassungen der HAProxy-Server-Weights, erfasst der Server den vorherigen Zustand, um Undo-Operationen zu ermöglichen. Er verbindet sich über die jeweiligen APIs mit deinen Proxies und benötigt Credentials wie die HAProxy Data Plane API oder Basic auth für Traefik und Caddy, die verschlüsselt gespeichert werden.
Was du damit machen kannst
- 1Root Cause Analysis durchführenEin AI Agent kann mithilfe spezialisierter heuristischer Tools diagnostizieren, warum Backend-Services ausfallen.
- 2Infrastruktur-Änderungen auditierenEntwickler können über eine lokale Datenbank eine vollständige Historie jedes an den Proxy gesendeten Befehls führen.
- 3Zertifikatsablauf überwachenDu kannst die Prüfung von TLS-Domain-Inventaren automatisieren, um Service-Ausfälle zu vermeiden.
- 4Konfigurationsfehler rückgängig machenWenn eine Konfigurationsänderung Probleme verursacht, kannst du die aufgezeichneten Undo-Descriptor nutzen, um den vorherigen Zustand wiederherzustellen.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du Proxy AIops MCP
Formate geprüft am 10. Nov. 2026Zu Cursor hinzufügenZu Goose hinzufügenProxy AIops MCP in Claude Code installieren
$ claude mcp add proxy-aiops -- uvx proxy-aiopsProxy AIops MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"proxy-aiops": {
"command": "uvx",
"args": [
"proxy-aiops"
]
}
}
}Proxy AIops MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"proxy-aiops": {
"type": "stdio",
"command": "uvx",
"args": [
"proxy-aiops"
]
}
}
}Proxy AIops MCP in VS Code CLI installieren
$ code --add-mcp '{"name":"proxy-aiops","type":"stdio","command":"uvx","args":["proxy-aiops"]}'Proxy AIops MCP in Claude Desktop installieren
claude_desktop_config.json
{
"mcpServers": {
"proxy-aiops": {
"command": "uvx",
"args": [
"proxy-aiops"
]
}
}
}Proxy AIops MCP in Codex installieren
$ codex mcp add proxy-aiops -- uvx proxy-aiopsProxy AIops MCP in Codex config.toml installieren
~/.codex/config.toml
[mcp_servers.proxy-aiops] command = "uvx" args = ["proxy-aiops"]
Proxy AIops MCP in Gemini CLI installieren
$ gemini mcp add -s user proxy-aiops uvx -- proxy-aiopsProxy AIops MCP in Gemini settings.json installieren
~/.gemini/settings.json
{
"mcpServers": {
"proxy-aiops": {
"command": "uvx",
"args": [
"proxy-aiops"
]
}
}
}Konfiguration
PROXY_AIOPS_MASTER_PASSWORD
| Name | Beschreibung | Typ |
|---|---|---|
| PROXY_AIOPS_MASTER_PASSWORD | — |
Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Unsere automatisierten Checks bestanden. Das ist kein Security-Audit: Lies den Code und gib dem Server nur den minimal notwendigen Zugriff. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbaraiops-tools/proxy-aiops is public and reachablegithub.com/aiops-tools/proxy-aiops ↗Bestanden
- Paket nennt dieses Repository als QuelleNicht geprüft
- Build-Provenienz (Sigstore-Attestierung)Sigstore attestation for proxy-aiopspypi.org/project/proxy-aiops/ ↗Bestanden
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-10-30github.com/aiops-tools/proxy-aiops ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNo popular package one edit away from proxy-aiopsBestanden
- Keine kritischen Advisories im Paket oder seinen Abhängigkeiten41 resolved dependencies checked; no critical advisoryosv.dev ↗Bestanden
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeNicht geprüft
README
Auf GitHub ansehenProxy AIops
Audit availability: Real writes require a committed
pendingaudit row and stop before contacting the platform if storage is unavailable. Reads and previews may continue with a warning; new audit rows store outcome summaries rather than full responses.
Governed, audited AI-ops for Traefik, Caddy and HAProxy reverse proxies / load balancers — for AI agents (via MCP) and humans (via CLI).
Disclaimer: Community-maintained open-source project. Not affiliated with, endorsed by, or sponsored by Traefik Labs, the Caddy project, HAProxy Technologies, or the HAProxy project. Traefik, Caddy and HAProxy are trademarks of their respective owners. MIT licensed.
proxy-aiops speaks to three proxy platforms behind one MCP server — Traefik
(its API under /api/..., metrics-text counters via /metrics), Caddy (the
admin API, default localhost:2019) and HAProxy (the Data Plane API v2 under
/v2/..., HTTP Basic auth) — with the same tools working on all three. Each
target in the config names its own platform; a name-keyed platform registry
selects the API shape (auth + resource paths), and an explicit support matrix
raises teaching errors for ops a platform genuinely cannot do — e.g. Traefik
writes point you at its providers (file, container labels, orchestrator CRDs), never
a silent no-op.
Every tool runs through a built-in governance harness (vendored, zero external dependency): audit log, token/call budget with runaway circuit-breaker, descriptive risk-tier labelling, undo-token recording, and output sanitisation.
Why this exists
- One server, three proxies — Traefik, Caddy and HAProxy in a mixed edge, spoken to through identical tool names. Adding another proxy later is a new platform descriptor, not a rewrite.
- Read the whole edge — version, entrypoints/listeners, routes (routers / caddy routes / frontends) with parsed hosts+paths, services and server-level upstream health, middlewares, TLS domain inventory, traffic/error counters, and the live config tree (snapshot + search).
- Flagship RCA analyses — transparent heuristics that show their numbers,
never a black-box verdict:
backend_health_rca(down upstreams → cause class L4/L6/L7/DNS/maint + action),cert_expiry_sweep(days-to-expiry buckets + per-platform renewal hints),error_rate_rca(5xx share vs the fleet baseline, dominant code → 502/503/504/500 cause), androute_conflict_analysis(shadowed routes, dead routes, redirect loops). - Governed writes — caddy config
set/delete/ fullload(the prior subtree/config is fetched first, so the recorded undo replays a real restore) and haproxy runtime serverstate(ready/drain/maint) andweight(undo restores the prior value) — all withdry_runpreviews; delete/load are risk=high with double confirmation at the CLI.
What this tool does, and does not, decide
It delivers proxy operations — reads and writes — accurately and efficiently, and records every one of them. It does not decide whether a write is allowed to happen. That is the agent's judgement, or the permission of the account you connect it with: give the HAProxy Data Plane API a read-only role, or scope down the Traefik/Caddy admin API you point it at, and the writes fail at the server — the place that actually owns the permission.
So there is no read-only switch, no policy file, no approval gate to configure.
The one thing the tool guarantees is that nothing is silent: every call, over
MCP and over the CLI alike, lands an audit row in ~/.proxy-aiops/audit.db,
and reversible writes still capture their before-state and record an inverse.
Each tool declares a
risk_level, kept in agreement with its[READ]/[WRITE]documentation tag by a test, and carried into the audit row as a descriptive tier — so a reviewer can see at a glance that a row was a high-risk delete. It is a label, not a gate.
Running a smaller / local model? See agent-guardrails.md — it lists the guardrails this tool now enforces for you (so you don't spend prompt budget restating them) and gives a ready-made system prompt for what's left.
Tool inventory (28 tools)
| Domain | Tools | # | Kind |
|---|---|---|---|
| Status | proxy_overview, version_info, list_entrypoints |
3 | read |
| Routes | list_routes, route_detail, find_route |
3 | read |
| Services | list_services, service_detail, list_upstreams, upstream_detail, list_middlewares |
5 | read |
| Certificates | list_certificates |
1 | read |
| Traffic | traffic_stats, error_counters |
2 | read |
| Config | config_snapshot, search_config, get_config_value |
3 | read |
| Flagship analyses | backend_health_rca, cert_expiry_sweep, error_rate_rca, route_conflict_analysis |
4 | read |
| Writes (caddy) | set_config_value |
1 | write (med) |
| Writes (caddy) | delete_config_path, load_config |
2 | write (high) |
| Writes (haproxy) | set_server_state, set_server_weight |
2 | write (med) |
| Undo | undo_list, undo_apply |
2 | read / write |
Reversible writes record an inverse undo descriptor built from the real fetched
before-state (set_config_value restores the prior subtree; delete_config_path
re-creates it; load_config re-loads the snapshotted config; server state/weight
restore the prior value). The undo params match each tool's own signature, so the
descriptor replays as-is.
Per-platform support matrix
| Capability | traefik | caddy | haproxy |
|---|---|---|---|
| Routes / services / upstream health | ✅ | ✅ | ✅ |
| Middlewares list | ✅ | teaching note (inline handlers) | teaching note (haproxy.cfg) |
| TLS cert inventory + expiry sweep | ✅ | ✅ | teaching note (.pem files) |
| Error counters / error-rate RCA | ✅ (/metrics) | teaching note (no per-route counters) | ✅ (stats) |
| Config snapshot / search | ✅ (rawdata, read-only) | ✅ | teaching note |
| Config writes | teaching error → edit the provider | ✅ (the write surface) | teaching error → runtime writes |
| Runtime server state / weight | teaching error → provider | teaching error → config tree | ✅ |
Unsupported combinations raise a teaching error that says what to use instead — never a silent empty result.
Install
uv tool install proxy-aiops # or: pipx install proxy-aiops
Quick start
As a Claude Code plugin
One install gives an agent both the skill and the MCP server:
/plugin marketplace add AIops-tools/marketplace
/plugin install proxy-aiops@aiops-tools
The MCP server is fetched with uv and pinned to the
package version this plugin declares, so an audit row can be traced back to the
code that wrote it. Credentials are still configured with proxy-aiops init — see below.
As an OpenClaw plugin
The same bundle is published on ClawHub, where one install delivers the skill and its MCP server together:
openclaw plugins install clawhub:@zw008/proxy-aiops
openclaw skills info proxy-aiops # expect: Visible to model: yes
Restart the OpenClaw gateway afterwards so it loads the plugin. The MCP server is
fetched with uv, pinned to this exact release, so
uvx has to be on PATH — without it the skill still installs but reports
Visible to model: no. Credentials are configured exactly as below.
As a CLI or standalone MCP server
proxy-aiops init # wizard: pick platform (traefik/caddy/haproxy) + optional encrypted secret
proxy-aiops doctor # verify config, secrets, and connectivity
proxy-aiops overview # one-shot: version + route/service counts + upstream health
proxy-aiops routes list # normalised route table
proxy-aiops services upstreams # server-level upstream health
proxy-aiops analyze health # backend/upstream health RCA
proxy-aiops analyze errors # 5xx error-rate RCA
proxy-aiops analyze conflicts # shadowed/dead routes, redirect loops
proxy-aiops certs --sweep # TLS cert expiry sweep (traefik/caddy)
proxy-aiops server state app web1 drain --dry-run # governed haproxy write preview
proxy-aiops config set apps/http/servers/srv0 '{"listen":[":8080"]}' --dry-run
Run the MCP server (stdio) for an agent:
proxy-aiops mcp # or: proxy-aiops-mcp
MCP client config
{
"mcpServers": {
"proxy-aiops": {
"command": "uvx",
"args": ["--from", "proxy-aiops", "proxy-aiops-mcp"],
"env": { "PROXY_AIOPS_MASTER_PASSWORD": "your-master-password" }
}
}
}
Env-block caveat: the
envblock is only needed when a credential is stored (haproxy always; traefik/caddy only behind Basic auth). MCP clients do not inherit your shell profile — setPROXY_AIOPS_MASTER_PASSWORD(andPROXY_AIOPS_CONFIG/PROXY_AIOPS_HOMEif you relocated them) explicitly in the client config, or the server cannot unlocksecrets.enc.
Configuration
~/.proxy-aiops/config.yaml (non-secret connection details only):
targets:
- name: edge1
platform: traefik # traefik | caddy | haproxy
base_url: http://192.0.2.10:8080
verify_ssl: true
- name: caddy1
platform: caddy
base_url: http://127.0.0.1:2019
- name: lb1
platform: haproxy
base_url: http://192.0.2.20:5555
username: dpapi # Data Plane API user
The secret — the HAProxy Data Plane API password, or an optional Basic-auth
password in front of Traefik/Caddy — is stored encrypted in
~/.proxy-aiops/secrets.enc (Fernet + scrypt-derived key), never plaintext on
disk. Traefik and Caddy commonly run unauthenticated on localhost, so their
secret is optional (like a local socket); HAProxy's is required. Set it with
proxy-aiops secret set <target> or the init wizard. The store is unlocked by
a master password from PROXY_AIOPS_MASTER_PASSWORD (non-interactive/MCP/CI) or
an interactive prompt (CLI on a TTY). A legacy plaintext env var
PROXY_<TARGET>_SECRET is honoured as a fallback (migrate with
proxy-aiops secret migrate).
Governance
Every MCP tool — and every CLI write, which routes through the same governed
functions — passes through @governed_tool. It records; it does not authorize
(see above).
- Audit — every call is logged to
~/.proxy-aiops/audit.db(tool, params with secrets redacted, status, duration, risk tier, and any operator-supplied approver/rationale). The CLI writes the same row the MCP path does — there is no unaudited entry point. - Budget / runaway guard — a safety backstop, not an authorization gate:
per-process token/call caps and a repeat-call circuit breaker stop a stuck agent
from burning unbounded calls/time (
PROXY_MAX_TOOL_CALLS,PROXY_RUNAWAY_MAX, …; disable the breaker withPROXY_RUNAWAY_MAX=0). - Undo recording — reversible writes record an inverse descriptor to
~/.proxy-aiops/undo.dbfrom the fetched before-state (recording only; an external orchestrator executes it). Undo params match the target tool's own signature, so the descriptor replays as-is. - Risk tier — a descriptive label on the audit row derived from
risk_level; it gates nothing. - Sanitisation — all proxy-returned text is bounded + control-character sanitised before it reaches the agent.
Platform support & verification status
- Platforms: Traefik (API + /metrics), Caddy (admin API), HAProxy (Data Plane API v2).
- Test coverage: behaviour is validated against mocked JSON/metrics responses —
every module imports, every MCP tool carries the governance marker, the four flagship
analyses are unit-tested against synthetic telemetry, the support matrix is asserted
to raise teaching errors (never a silent no-op), and reversible writes are asserted to
record the correct inverse undo descriptor. The concrete REST paths are modelled from
each project's public API and have not yet been exercised against a live proxy. See
docs/VERIFICATION.md for the checklist a live run must
satisfy. All three platforms are free and self-hostable (a small container-compose lab
with traefik + caddy + haproxy/dataplaneapi is a one-evening setup), and
proxy-aiops doctor— a health/info probe per platform — is the fastest live check. - Routing note: this tool operates reverse proxies / load balancers. Do NOT use it for firewall rules — use firewall-aiops.
- Missing a capability? Open an issue or PR at github.com/AIops-tools/Proxy-AIops — contributions and feedback welcome.
License
MIT — see LICENSE.
Proxy AIops MCP Fragen
Wie füge ich Proxy AIops MCP zu Claude Code hinzu?
Führe claude mcp add proxy-aiops -- uvx proxy-aiops in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich Proxy AIops MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Autorisiert dieses Tool Schreibzugriffe auf meine Proxies?
Nein, es entscheidet nicht, ob ein Schreibzugriff erlaubt ist; es führt Operationen präzise aus und protokolliert sie. Die Berechtigungen werden von der Proxy-Plattform selbst verwaltet.
Wie werden meine Proxy-Credentials gespeichert?
Secrets wie HAProxy-Passwörter oder Basic-auth-Credentials werden verschlüsselt in einer Datei unter Verwendung von Fernet und scrypt-abgeleiteten Keys gespeichert, niemals im Klartext.
Kann ich eine durch das Tool vorgenommene Konfigurationsänderung rückgängig machen?
Ja, reversible Writes zeichnen einen inversen Undo-Descriptor basierend auf dem Zustand vor der Änderung auf, sodass du den vorherigen Zustand wiederherstellen kannst.
Welche Art von Analyse kann das Tool durchführen?
Es kann Backend-Health RCA, Scans auf ablaufende Zertifikate, Error-Rate RCA (5xx-Fehler) und Route-Conflict-Analysen durchführen.