MCP server for WAGMIOS — give any AI scoped access to your Docker homelab
524
Give any AI a homelab. MCP server for WAGMIOS — exposes Docker management as Model Context Protocol tools with scoped API keys.
Works with Claude Code, Cursor, GitHub Copilot, VS Code, Gemini, and any MCP-compatible client.
AI agents that manage Docker need access to the Docker socket — which means full root on the host. One wrong docker rm and production data is gone.
ClawMachine solves this by routing all requests through WAGMIOS's scoped API:
containers:delete, the delete_container tool doesn't existThe AI never touches the Docker socket. The enforcement is in the key, not the prompt.
curl -O https://raw.githubusercontent.com/mentholmike/clawmachine/main/docker-compose.yaml
docker compose up -d
Create an API key in WAGMIOS UI (http://localhost:5174 → Settings → Agent Permissions)
Set the key in your environment:
export WAGMIOS_API_KEY=wag_live_yourkey
docker compose up -d
Claude Code (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"clawmachine": {
"command": "docker",
"args": ["run", "-i", "itzmizzle/clawmachine", "-api-url", "http://host.docker.internal:5179", "-api-key", "wag_live_yourkey"]
}
}
}
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"clawmachine": {
"command": "docker",
"args": ["run", "-i", "itzmizzle/clawmachine", "-api-url", "http://host.docker.internal:5179", "-api-key", "wag_live_yourkey"]
}
}
}
You: "What containers am I running?"
→ list_containers
You: "Install Jellyfin"
→ browse_marketplace → install_app → start_app
You: "Delete that container"
→ "I don't have delete_container — your API key is missing the containers:delete scope."
Tools are dynamically registered based on API key scopes:
| Scope | Tools |
|---|---|
| (any key) | check_scopes, system_info, system_metrics |
containers:read | list_containers, container_logs, container_config |
containers:write | start_container, stop_container, restart_container, create_container |
containers:delete | delete_container |
images:read | list_images |
images:write | pull_image, delete_image |
marketplace:read | browse_marketplace, get_marketplace_app, list_installed_apps |
marketplace:write | install_app, start_app |
Content type
Image
Digest
sha256:67a05c360…
Size
9.4 MB
Last updated
4 months ago
docker pull itzmizzle/clawmachine