Docker MCP Guardian for VS Code
io.github.sivasaikrishnasuryadevara/docker-mcp-guardian
Read-only-by-default Docker MCP server: inspect, logs and gated restarts with secret redaction.
client:VS Code
transport:stdio
runtime:pypi
Install Docker MCP Guardian in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "docker-host",
"description": "DOCKER_HOST",
"password": true
},
{
"type": "promptString",
"id": "guardian-allow-write",
"description": "GUARDIAN_ALLOW_WRITE",
"password": true
}
],
"servers": {
"docker-mcp-guardian": {
"type": "stdio",
"command": "uvx",
"args": [
"docker-mcp-guardian"
],
"env": {
"DOCKER_HOST": "${input:docker-host}",
"GUARDIAN_ALLOW_WRITE": "${input:guardian-allow-write}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs