MCP Directory

Docker MCP Server vs Terraform MCP Server

A side-by-side comparison of two DevOps & Cloud servers — tools, transport, auth, maintenance, and copy-paste config for each.

 Docker MCP Server

Community server to manage Docker containers, images, volumes, and Compose stacks via agents.

Verified
stdio (local)
No auth
Python
Terraform MCP Server

HashiCorp's official server for Terraform Registry providers, modules, and IaC workflows.

Verified
stdio (local)
No auth
Go
CategoryDevOps & CloudDevOps & Cloud
LanguagePythonGo
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars7201.4k
Last commit3 months ago8 days ago
Verified
Actively maintained
Installuvx mcp-server-dockerdocker run -i --rm hashicorp/terraform-mcp-server
RepoOpen Open

Verdict

Pick Docker MCP Server if you need the broadest set of tools.

Pick Terraform MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add Docker MCP Server

Install / run
uvx mcp-server-docker

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "docker-mcp-server": {
      "command": "uvx",
      "args": [
        "mcp-server-docker"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Add Terraform MCP Server

Install / run
docker run -i --rm hashicorp/terraform-mcp-server

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "terraform-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "hashicorp/terraform-mcp-server"
      ]
    }
  }
}

Requires Docker to be installed and running.

FAQ

Docker MCP Server or Terraform MCP Server — which is better?

Pick Docker MCP Server if you need the broadest set of tools. Pick Terraform MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both Docker MCP Server and Terraform MCP Server?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do Docker MCP Server and Terraform MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.