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 | |
|---|---|---|
| Category | DevOps & Cloud | DevOps & Cloud |
| Language | TypeScript | Go |
| Transport | stdio (local) | stdio (local) |
| Auth | None | None |
| GitHub stars | 1.4k | 1.4k |
| Last commit | 6 days ago | 8 days ago |
| Verified | ||
| Actively maintained | ||
| Install | npx -y mcp-server-kubernetes | docker run -i --rm hashicorp/terraform-mcp-server |
| Repo | Open | 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
npx -y mcp-server-kubernetesPaste 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
docker run -i --rm hashicorp/terraform-mcp-serverPaste 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.