traefik-hub-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TRAEFIK_API_URL | No | Traefik API base URL. | http://localhost:8080 |
| TRAEFIK_HUB_DIR | Yes | Path to the Traefik Hub repo root (contains docker-compose.yml). | |
| TRAEFIK_CONFIG_DIR | Yes | Path to the Traefik config directory (contains traefik.yml and dynamic/). | |
| TRAEFIK_DOMAIN_ALIASES | No | Comma-separated domain suffixes for multi-domain routing (e.g., local.domlee.dev). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| traefik_statusB | Get Traefik overview - version and component counts |
| list_routersB | List all HTTP routers with their rules and status |
| list_servicesB | List all HTTP services registered in Traefik |
| list_middlewaresC | List all HTTP middlewares |
| get_routerC | Get details of a specific router |
| list_containersA | List Docker containers on traefik-public network |
| container_logsC | Get logs from a Docker container |
| restart_containerB | Restart a Docker container |
| rebuild_serviceA | Rebuild and recreate a Docker Compose service (runs |
| check_healthC | Check if a domain is responding |
| doctorB | Comprehensive health check of the Traefik stack - checks Docker, network, container, API, ports, and config |
| generate_labelsC | Generate docker-compose traefik labels for a new project |
| add_middlewareB | Add a new middleware to traefik/dynamic/middlewares.yml (Traefik hot-reloads automatically) |
| list_middleware_typesB | Show available middleware types with example configurations |
| check_setupB | Verify MCP configuration - checks that env vars and paths are correctly set |
| start_traefikA | Start the Traefik stack (docker compose up -d). Requires Docker running. |
| stop_traefikA | Stop the Traefik stack (docker compose down). Requires Docker running. |
| create_networkA | Create the traefik-public Docker network. Requires Docker running. |
| init_stackA | Initialize Traefik stack from scratch - creates network and starts containers. Requires Docker running. |
| get_corsA | Show current CORS configuration (allowed origins from cors-dev middleware) |
| update_corsC | Add or remove origins from the cors-dev middleware |
| check_updateA | Check if a newer Traefik version is available and whether it's safe to update |
| add_domain_routeC | Add multi-domain route for a service (makes it accessible via LAN/Tailscale) |
| remove_domain_routeC | Remove a multi-domain route |
| list_domain_routesB | List all multi-domain routes (LAN/Tailscale access) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 25 tools
Most tools target distinct resources, but several clusters overlap: traefik_status, doctor, check_health, and check_setup are four different flavors of 'check' that an agent could easily misselect, and init_stack is essentially a superset of create_network plus start_traefik. list_middlewares vs list_middleware_types is also a subtle distinction (configured vs available) that names alone don't clarify.
The dominant pattern is snake_case verb_noun (list_routers, get_router, add_middleware, remove_domain_route), which is applied consistently across most tools. Deviations are minor: noun-first names like traefik_status, container_logs, and the bare doctor break the pattern but remain readable.
At 25 tools this sits at the heavy end of the scale, spanning Traefik API inspection, Docker container ops, stack lifecycle, domain routing, CORS, and middleware config. Each area is legitimate, but the surface is broad enough that some tools (init_stack, check_setup, doctor) feel like conveniences layered on top of already-covered operations.
The server covers inspection and lifecycle well: routers/services/middlewares are readable, stack start/stop/init/create_network exist, containers can be listed/logged/restarted/rebuilt, and CORS/domain routes have full add/remove/get coverage. Gaps remain on the mutation side for middlewares (add but no update/remove single middleware) and no get_service or router create/update, though generate_labels partly compensates.