Community MCP server for managing Docker containers.
npx -y @mcp-community/server-docker
{
"mcpServers": {
"docker": {
"args": [
"-y",
"@mcp-community/server-docker"
],
"command": "npx"
}
}
}Get logs from a container
{
"type": "object",
"required": [
"container_id"
],
"properties": {
"tail": {
"type": "integer"
},
"container_id": {
"type": "string"
}
}
}// Input
{
"tail": 50,
"container_id": "abc"
}// Output
{
"logs": "2026-03-10 Starting nginx..."
}Create a new container from image
{
"type": "object",
"required": [
"image"
],
"properties": {
"name": {
"type": "string"
},
"image": {
"type": "string"
}
}
}// Input
{
"name": "web",
"image": "nginx:latest"
}// Output
{
"id": "abc123"
}Execute command inside a container
{
"type": "object",
"required": [
"container_id",
"command"
],
"properties": {
"command": {
"type": "array"
},
"container_id": {
"type": "string"
}
}
}Community MCP server for managing Docker containers.
Docker provides 4 tools including container_logs, create_container, exec_command, and 1 more.
Yes, Docker is completely free to use with no usage limits on the free tier.
You can install Docker using the following command: npx -y @mcp-community/server-docker. After installation, add the provided config snippet to your Claude Desktop or Cursor configuration.
// Input
{
"command": [
"ls",
"-la"
],
"container_id": "abc"
}// Output
{
"output": "total 8\ndrwxr-xr-x...",
"exit_code": 0
}List Docker containers
{
"type": "object",
"properties": {
"all": {
"type": "boolean"
}
}
}// Input
{
"all": true
}// Output
{
"containers": [
{
"id": "abc",
"name": "web",
"status": "running"
}
]
}Docker is listed under the Development Tools category in the AgentForge MCP registry.
Docker has a current uptime of 99.8% with an average response time of 95ms.
To connect Docker, click the "Connect Agent" button on this page to get the configuration snippet. Add it to your MCP client (Claude Desktop, Cursor, or any MCP-compatible tool). Your AI agent will then have access to all of Docker's tools via the Model Context Protocol.