talkops-traefik-mcp-server

v0.2.1
talkops-traefik-mcp-server Checked 16 hours ago Published 13 days ago

A 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.

ParameterTypeDescription
name *stringRoute, TraefikService, Ingress, or Gateway name
detailstringOutput detail level ('summary' or 'full')
includeInspection dimensions to include (defaults to runtime, endpoints, tls, events)
kindstringResource kind to diagnose
namespacestringKubernetes 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.

ParameterTypeDescription
request *objectSynthetic request specification (url or host/path/method/headers/query/client_ip/protocol/sni)
entry_pointOptional entryPoint filter (e.g. 'websecure')
probeOptional live HTTP/TLS probe options (True or {enabled, method, timeout_seconds, expect_status})
top_nintegerMaximum 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.

ParameterTypeDescription
name *stringService, router, or entrypoint name
baseline_windowstringBaseline Prometheus window (e.g. '1h')
comparison_windowstringComparison Prometheus window (e.g. '15m')
include_backend_splitbooleanIf True, also compare canary vs stable weighted backend sub-services
namespacestringKubernetes namespace
scopestringMetric 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.

ParameterTypeDescription
filtersOptional log filter criteria (router, service, status_range, min_duration_ms, client_ip, path_prefix, level)
group_bystringDimension to group log counts by
limit_samplesintegerMaximum number of redacted log samples to return
sincestringLookback window (e.g. '15m', '1h')
sourcestringLog 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.

ParameterTypeDescription
categoriesOptional subset of audit categories to execute
max_findingsintegerMaximum number of findings to return before truncation
min_severitystringMinimum finding severity threshold
namespacesOptional list of namespaces to audit (None = all watched namespaces)