talkops-traefik-mcp-server
v0.2.1A Model Context Protocol (MCP) server for Traefik v3 traffic management — routing, canary/weighted services, middlewares, TLS, TCP/UDP, and runtime…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
traefik_diagnose_route Diagnose Traefik Route Health
Perform deep end-to-end health diagnosis of an IngressRoute, IngressRouteTCP, IngressRouteUDP, TraefikService, Ingress, HTTPRoute, GRPCRoute, TLSRoute, TCPRoute, or Gateway across Kubernetes manifests, Traefik runtime API, endpoints, and TLS.
| Parameter | Type | Description |
|---|---|---|
name * | string | Route, TraefikService, Ingress, or Gateway name |
detail | string | Output detail level ('summary' or 'full') |
include | Inspection dimensions to include (defaults to runtime, endpoints, tls, events) | |
kind | string | Resource kind to diagnose |
namespace | string | Kubernetes namespace |
traefik_trace_request Trace Synthetic Request Through Traefik Routers
Evaluate which Traefik router matches a synthetic HTTP/TCP request by priority, trace the ordered middleware chain and backend service tree, identify shadowed routers and near-misses, and optionally run an SSRF-guarded live HTTP/TLS probe.
| Parameter | Type | Description |
|---|---|---|
request * | object | Synthetic request specification (url or host/path/method/headers/query/client_ip/protocol/sni) |
entry_point | Optional entryPoint filter (e.g. 'websecure') | |
probe | Optional live HTTP/TLS probe options (True or {enabled, method, timeout_seconds, expect_status}) | |
top_n | integer | Maximum number of shadowed routers and near-misses to return |
traefik_compare_traffic_metrics Compare Traefik Prometheus Traffic Metrics
Query Prometheus for Traefik service, router, or entrypoint request rate, 4xx/5xx error rate, P50/P95/P99 latency, and open connections across baseline and comparison windows, or compare canary vs stable backend sub-services.
| Parameter | Type | Description |
|---|---|---|
name * | string | Service, router, or entrypoint name |
baseline_window | string | Baseline Prometheus window (e.g. '1h') |
comparison_window | string | Comparison Prometheus window (e.g. '15m') |
include_backend_split | boolean | If True, also compare canary vs stable weighted backend sub-services |
namespace | string | Kubernetes namespace |
scope | string | Metric aggregation scope |
traefik_analyze_logs Analyze Traefik Access & Controller Logs
Parse and aggregate Traefik pod access logs (JSON or CLF) or controller logs with automatic secret/token redaction, status/router/latency filtering, and grouped counts.
| Parameter | Type | Description |
|---|---|---|
filters | Optional log filter criteria (router, service, status_range, min_duration_ms, client_ip, path_prefix, level) | |
group_by | string | Dimension to group log counts by |
limit_samples | integer | Maximum number of redacted log samples to return |
since | string | Lookback window (e.g. '15m', '1h') |
source | string | Log stream source ('access' or 'controller') |
traefik_audit_configuration Audit Traefik Security & Configuration Posture
Run 20 deterministic security, TLS, reliability, hygiene, v3_migration, and gateway_api checks across Traefik static configuration, routes, policies, certificates, and Gateway API objects.
| Parameter | Type | Description |
|---|---|---|
categories | Optional subset of audit categories to execute | |
max_findings | integer | Maximum number of findings to return before truncation |
min_severity | string | Minimum finding severity threshold |
namespaces | Optional list of namespaces to audit (None = all watched namespaces) |