Docker MCP ServerServer

zaycruz
GitHub
DockerCode ExecutionMulti-language Support

Loading subscription status...

💡 Description

A powerful Model Context Protocol (MCP) server that runs code in isolated Docker containers and returns the results to language models such as Claude.

📝 JSON Entries

{
  "mcpServers": [
    {
      "Docker MCP Server": {
        "env": {
          "API_KEY": "<SECRET_NAME>"
        },
        "args": [
          "run_server.py"
        ],
        "command": "python"
      }
    }
  ]
}

🛠️ Tools

Dockerfastmcp

Features

  • Isolated code execution
  • Multi-language support
  • Script execution support
  • Package management with pip, npm, apt-get, apk
  • Container management
  • Robust error handling
  • Colorful output

💬 Example Queries

  • List existing containers to see what's already running.
  • Create a new container and execute a command in it.
  • Add more dependencies to an existing container.
  • Execute a multi-line Python script in the container.
  • Clean up a Docker container.