Loading repository data…
Loading repository data…
Knuckles-Team / repository
Manage containers on docker, podman, compose, and docker swarm through an MCP Server for Agentic AI
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Version: 2.3.0
Documentation — Installation, deployment, usage across the API, CLI, MCP, and A2A agent interfaces, and the multi-host control plane are maintained in the official documentation.
Container Manager Mcp is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with Container Manager - manage Docker, Docker Swarm, Podman, and Kubernetes containers and workloads. MCP+A2A Servers Out of the Box!.
Full coverage across all three engines: Docker (incl. Swarm/service/stack/config/secret/node
operations via cm_docker_swarm), Podman (incl. pod/kube operations, generate/play kube, checkpoint/restore
via cm_podman), and a complete Kubernetes surface (RKE2 / k3s / vanilla) spanning workloads,
config, networking, storage, RBAC, cluster admin, governance, and observability through 8 themed cm_k8s_*
tools built on the official kubernetes Python client. A cm_multi_context tool lets an agent fan out
operations across several Docker/Podman/Swarm/Kubernetes contexts in parallel, and cm_ingest_inventory feeds
Docker, Swarm, and Kubernetes resources into the ontology-driven Knowledge Graph as typed nodes.
generate/play kube, checkpoint/restore), and a full Kubernetes surface (RKE2 / k3s / vanilla) across workloads, config, networking, storage, RBAC, cluster admin, governance, and observability. See Kubernetes below.cm_multi_context fans operations out across several Docker, Podman, Swarm, and/or Kubernetes contexts at once (ThreadPoolExecutor-backed), with health checks and lazy reconnect.cm_ingest_inventory maps live Docker/Swarm/Kubernetes inventory (containers, images, volumes, networks, services, nodes, pods, deployments, namespaces, native k8s Services) into typed OWL/RDF nodes for cross-source reasoning.container-manager-mcp allows a single master instance of the MCP server on your controller to route container and volume operations securely to remote hosts over SSH standard tunneling.
~/.config/agent-utilities/inventory.yml (.yml preferred; a legacy inventory.yaml is still read when no .yml exists).Shared inventory: the
cm_*host aliases you pass ashostcome from the sameinventory.ymlused by tunnel-manager — define your fleet once. Create and validate it withtunnel-manager inventory init/tunnel-manager inventory doctor. See tunnel-manager's Inventory guide for the full schema, template, and override options.
To configure and utilize the multi-host remote routing, see the detailed Multi-Host Architecture Guide.
This agent wraps the Container Manager - manage Docker, Docker Swarm, and Podman containers. MCP+A2A Servers Out of the Box! API. You can interact with it programmatically or via its integrated execution entrypoints.
Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in docs/index.md.
Not sure your environment is wired up? Run the guided doctor first. It probes
every surface with real checks — python client libs + CLIs, CONTAINER_MANAGER_TYPE
/ toggles / K8S_CONTEXTS parsing, the tunnel-manager SSH inventory (and per-host
reachability), the docker / podman daemons, and each kubernetes context —
and prints concrete remediation for anything that is not OK, so you are walked through
connecting to your environments. Available as the container-manager-doctor CLI and
the cm_doctor MCP tool.
container-manager-doctor # diagnose everything (exit 1 if any FAIL)
container-manager-doctor --guided # + probe every inventory host
container-manager-doctor --backend inventory --host <alias>
container-manager-doctor --backend kubernetes --context <ctx>
container-manager-doctor --backend docker --host <alias>
container-manager-doctor --json # machine-readable report
The cm_doctor MCP tool mirrors it: action=run for a full sweep, or a focused
check_backends / check_inventory / check_docker / check_podman /
check_kubernetes. Each check returns {name, category, status: ok|warn|fail, detail, remediation} plus a summary. Start here, then follow the
container-manager-config-walkthrough
skill.
This server utilizes dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.
Auto-generated — do not edit (synced by the mcp-readme-table pre-commit hook).
MCP_TOOL_MODE=condensed)| MCP Tool | Toggle Env Var | Description |
|---|---|---|
cm_compose_operations | COMPOSETOOL | Manage docker-compose or podman-compose operations. |
cm_container_operations | CONTAINERTOOL | Manage container operations. |
cm_docker_swarm | DOCKERSWARMTOOL | Manage Docker Swarm operations (Swarm, services, stacks, configs, secrets, nodes). |
cm_doctor | DOCTORTOOL | Diagnose + get remediation for the inventory / kubernetes / docker / podman environment. |
cm_image_operations | IMAGETOOL | Manage container images. |
cm_info_operations | INFOTOOL | Manage container manager info operations. |
cm_ingest_inventory | MISCTOOL | Natively ingest the container inventory into epistemic-graph as typed nodes. |
cm_k8s_cluster | K8SCLUSTERTOOL | Manage Kubernetes cluster resources (nodes, contexts, CSRs, API resources, cluster info, admission plugins). |
cm_k8s_config | K8SCONFIGTOOL | Manage Kubernetes configuration (configmaps, secrets, namespaces, events, CRDs, labels/annotations/patch, state tracking). |
cm_k8s_governance | K8SGOVERNANCETOOL | Manage Kubernetes governance resources (ResourceQuotas, LimitRanges, PriorityClasses, PDBs, HPAs). |
cm_k8s_networking | K8SNETWORKINGTOOL | Manage Kubernetes networking (ingress, ingress classes, network policies, endpoints, DNS, native services). |
cm_k8s_observability | K8SOBSERVABILITYTOOL | Observe Kubernetes resources (metrics, autoscaler metrics, watch/stream/events, debug helpers). |
cm_k8s_rbac | K8SRBACTOOL | Manage Kubernetes RBAC and security (roles, bindings, service accounts, tokens, access reviews, pod security, secret mapping). |
MCP_TOOL_MODE=verbose or both)| MCP Tool | Toggle Env Var | Description |
|---|---|---|
cm_container_operations__exec_in_container | CONTAINERTOOL | Manage container operations. |
cm_container_operations__get_container_logs | CONTAINERTOOL | Manage container operations. |
cm_container_operations__list_containers | CONTAINERTOOL | Manage container operations. |
cm_container_operations__prune_containers | CONTAINERTOOL | Manage container operations. |
cm_container_operations__remove_container | CONTAINERTOOL | Manage container operations. |
cm_container_operations__stop_container | CONTAINERTOOL | Manage container operations. |
cm_docker_swarm__docker_config_create | DOCKERTOOL | Manage Docker Swarm operations (Swarm, services, stacks, configs, secrets, nodes). |
cm_docker_swarm__docker_config_list | DOCKERTOOL | Manage Docker Swarm operations (Swarm, services, stacks, configs, secrets, nodes). |
cm_docker_swarm__docker_node_inspect | DOCKERTOOL | Manage Docker Swarm operations (Swarm, services, stacks, configs, secrets, nodes). |
cm_docker_swarm__docker_node_ls | DOCKERTOOL | Manage Docker Swarm operations (Swarm, services, stacks, conf |
cm_k8s_storageK8SSTORAGETOOL |
| Manage Kubernetes storage (PV, PVC, storage classes, volume snapshots, CSI drivers). |
cm_k8s_workloads | K8SWORKLOADSTOOL | Manage Kubernetes workloads (pods, rollouts, strategies, statefulsets, daemonsets, replicasets, jobs, cronjobs). |
cm_list_hosts | INVENTORYTOOL | List the host aliases you can pass as host to any cm_* operation |
cm_multi_context | MULTICONTEXTTOOL | Manage containers across multiple backends (Kubernetes, Docker, Podman, Swarm) with context selection. |
cm_network_operations | NETWORKTOOL | Manage network operations. |
cm_podman | PODMANTOOL | Manage Podman operations (pods, networks, volumes, checkpoint/restore, kube interop, system). |
cm_swarm_operations | SWARMTOOL | Manage swarm operations. |
cm_system_operations | SYSTEMTOOL | Manage container manager system operations. |
cm_volume_operations | VOLUMETOOL | Manage volume operations. |
trace_port_namespace | MISCTOOL | Locate the container actively using/mapping the specified port on the target host. |