MCP Directory

Kubernetes 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.

 Kubernetes MCP Server

Popular community server wrapping kubectl and Helm for cluster management via natural language.

Verified
stdio (local)
No auth
TypeScript
Terraform MCP Server

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

Verified
stdio (local)
No auth
Go
CategoryDevOps & CloudDevOps & Cloud
LanguageTypeScriptGo
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars1.4k1.4k
Last commit6 days ago8 days ago
Verified
Actively maintained
Installnpx -y mcp-server-kubernetesdocker run -i --rm hashicorp/terraform-mcp-server
RepoOpen Open

Verdict

Pick Kubernetes MCP Server if you prefer its approach (popular community server wrapping kubectl and helm for cluster management via natural language).

Pick Terraform MCP Server if you want the official, vendor-maintained server.

Add Kubernetes MCP Server

Install / run
npx -y mcp-server-kubernetes

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

{
  "mcpServers": {
    "kubernetes-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-kubernetes"
      ],
      "env": {
        "ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "true"
      }
    }
  }
}

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

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

Pick Kubernetes MCP Server if you prefer its approach (popular community server wrapping kubectl and helm for cluster management via natural language). Pick Terraform MCP Server if you want the official, vendor-maintained server.

Can I use both Kubernetes 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 Kubernetes 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.