Docker MCP Server
A community-driven Model Context Protocol server that enables AI agents to manage Docker environments. It allows agents to inspect containers, read logs, check health, query databases, take dumps, and manage Compose stacks locally or remotely via SSH. It provides structured, Docker-native tool responses rather than parsing ASCII tables, supporting clients like Claude Code, Cursor, and Codex.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Inspect containers and check health status
- Read container logs and query databases
- Bring Compose stacks up or down
- Manage Docker hosts over SSH
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@hypnosis/docker-mcp-server 2.0.1
{
"version": "2.0.1",
"transport": "stdio",
"identifier": "@hypnosis/docker-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "DOCKER_MCP_PROFILES_FILE",
"format": "filepath",
"description": "Absolute path to the JSON file describing the Docker hosts this agent may reach. Without it the server answers about the Docker on this machine."
},
{
"name": "DOCKER_PROFILES",
"format": "string",
"description": "The same profiles JSON inline, used when no profiles file is set."
},
{
"name": "DOCKER_MCP_ALLOW_SSH_FALLBACK",
"format": "boolean",
"description": "Keep going when a profile's SSH key is missing, instead of refusing the profile. Defaults to false."
},
{
"name": "LOG_LEVEL",
"format": "string",
"description": "Log verbosity: error, warn, info or debug. Defaults to info."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"docker-mcp-server-hypnosis-docker-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server@2.0.1"
],
"env": {
"DOCKER_MCP_PROFILES_FILE": "<YOUR_DOCKER_MCP_PROFILES_FILE>",
"DOCKER_PROFILES": "<YOUR_DOCKER_PROFILES>",
"DOCKER_MCP_ALLOW_SSH_FALLBACK": "<YOUR_DOCKER_MCP_ALLOW_SSH_FALLBACK>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Cline
{
"mcpServers": {
"docker-mcp-server-hypnosis-docker-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server@2.0.1"
],
"env": {
"DOCKER_MCP_PROFILES_FILE": "<YOUR_DOCKER_MCP_PROFILES_FILE>",
"DOCKER_PROFILES": "<YOUR_DOCKER_PROFILES>",
"DOCKER_MCP_ALLOW_SSH_FALLBACK": "<YOUR_DOCKER_MCP_ALLOW_SSH_FALLBACK>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}VS Code
{
"servers": {
"docker-mcp-server-hypnosis-docker-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server@2.0.1"
],
"env": {
"DOCKER_MCP_PROFILES_FILE": "<YOUR_DOCKER_MCP_PROFILES_FILE>",
"DOCKER_PROFILES": "<YOUR_DOCKER_PROFILES>",
"DOCKER_MCP_ALLOW_SSH_FALLBACK": "<YOUR_DOCKER_MCP_ALLOW_SSH_FALLBACK>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"docker-mcp-server-hypnosis-docker-mcp-server": {
"command": "npx",
"args": [
"-y",
"@hypnosis/docker-mcp-server@2.0.1"
],
"env": {
"DOCKER_MCP_PROFILES_FILE": "<YOUR_DOCKER_MCP_PROFILES_FILE>",
"DOCKER_PROFILES": "<YOUR_DOCKER_PROFILES>",
"DOCKER_MCP_ALLOW_SSH_FALLBACK": "<YOUR_DOCKER_MCP_ALLOW_SSH_FALLBACK>",
"LOG_LEVEL": "<YOUR_LOG_LEVEL>"
}
}
}
}Let your agent find its tools
Find servers like Docker MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.