Back to articles
Terraform MCP Server — Registry Intelligence for AI-Assisted Infrastructure
How-ToDevOps

Terraform MCP Server — Registry Intelligence for AI-Assisted Infrastructure

via Dev.to DevOpsGrove on Chatforest

At a glance: 1,300 stars, 136 forks, 323 commits, 10 releases, v0.4.0, HashiCorp BSL. Official from the company that invented Terraform. Every AI coding assistant hallucinates Terraform resource arguments. This server fixes that. The Terraform MCP server gives AI agents real-time access to the Terraform Registry — provider documentation, module specifications, Sentinel policies, and version information. Instead of guessing that aws_instance takes instance_type (correct) or size (wrong, that's Azure), the agent looks it up. What It Does 35+ tools organized into toolsets you enable via --toolsets or --tools : Registry (public): search_providers / get_provider_details — Find and read provider docs search_modules / get_module_details — Find modules with full specs (inputs, outputs, examples) search_policies / get_policy_details — Sentinel policy lookup HCP Terraform workspace management: List orgs, projects, workspaces Create/update/delete workspaces (delete requires ENABLE_TF_OPERATIONS )

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
7 views

Related Articles