Terraform MCP server (HashiCorp)
MCP serverLook up Terraform Registry providers, modules and policies, and work with HCP Terraform workspaces and runs.
HashiCorp's server gives an agent accurate, current provider and resource documentation from the Terraform Registry, module search and Sentinel policy lookup, which cuts down on invented resource arguments. With an HCP Terraform or Terraform Enterprise token it can also list organizations and workspaces, read variables and trigger or inspect runs. Leave TFE_TOKEN unset for registry-only use. Useful when writing new Terraform or reviewing plans.
Try asking:
- "What arguments does aws_lambda_function support in the latest AWS provider?"
- "Find a well-used module for a VPC with public and private subnets."
- "Show the status of the latest run in my 'prod-network' workspace."
Sign-in: an API key or token (set it in the install snippet below).

Log in to join the discussion.