Best Terraform & IaC MCP servers

Look up providers and modules, plan changes and work with infrastructure-as-code from your assistant. We compared 8 Terraform & IaC MCP servers — 8 updated in the last 90 days, 2 with one-click or remote install — ranked by relevance and GitHub stars.

Official: terraform-mcp-server by hashicorp

Quick start: official Terraform & IaC MCP in Claude Code

One command in your terminal. For Cursor, VS Code, Claude Desktop, Codex and others, open the listing and pick your client tab.

terraform-mcp-serverLocal · stdio

The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.

claude mcp add terraform-mcp-server -- docker run -i --rm hashicorp/terraform-mcp-server

Quick comparison

Top 8 by relevance. Status: maintained = commit in the last 90 days. Grade A–F blends maintenance, license, install config, official flag and stars.

ServerStarsStatusGradeUpdatedInstallAPI key
terraform-mcp-serverhashicorp★ 1.6kMaintainedAtodayOne-clickLikely
terravisionpatrickchugh★ 1.7kMaintainedBtodayCommandLikely
stackqlstackql★ 1.1kMaintainedAtodayOne-clickNot mentioned
mcp-gateway-registryagentic-community★ 986MaintainedBtodaySee READMENot mentioned
mcp-gatewaymicrosoft★ 885MaintainedBtodaySee READMELikely
formaeplatform-engineering-labs★ 775MaintainedD6 days agoSee READMENot mentioned
speakeasyspeakeasy-api★ 453MaintainedD3 days agoSee READMENot mentioned
tfmcpnwiizo★ 372MaintainedBtodayCommandLikely

All 8 Terraform & IaC MCP servers

Showing all 8 servers

Terraform & IaC MCP server FAQ

What is the best Terraform & IaC MCP server?

Based on GitHub stars and recent activity, terraform-mcp-server by hashicorp (★ 1.6k, updated today) is the most popular actively maintained option on HookMCP, followed by terravision and stackql. The right choice depends on whether you need write access, a hosted (remote) endpoint, or a server that runs locally without an API key.

Is there an official Terraform & IaC MCP server?

Yes — terraform-mcp-server by hashicorp is published by the vendor or the MCP project. Official servers are usually the safest first install.

How do I install a Terraform & IaC MCP server in Claude, Cursor or VS Code?

Open the server's page on HookMCP, choose your client tab (Claude Desktop, Cursor, VS Code or Claude Code) and copy the config — 2 of the 8 servers here have one-click install links for Cursor and VS Code. Restart your AI app and the new tools appear automatically.

Do Terraform & IaC MCP servers need an API key?

4 of 8 servers here mention API keys or tokens in their README; 4 don't mention any. Check each listing's Details panel, and pass keys as environment variables rather than pasting them into chat.

Related integrations

Or browse by category: Cloud & DevOps, Gateways, Hubs & Managers.