Stormproof Submit a server

Terraform

Official

HashiCorp's server for Terraform Registry providers and modules, plus HCP Terraform workspaces.

Checks
8 of 8 passed
License
Mozilla Public License 2.0
Last commit
2 days ago
GitHub stars
1.6k
Reviewed at
f52d03d · Dec 4, 2026

Install

Container · hashicorp/terraform-mcp-server

Claude Code
claude mcp add terraform -- docker run -i --rm hashicorp/terraform-mcp-server
Cursor, Claude Desktop and other clients
{
  "mcpServers": {
    "terraform": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "hashicorp/terraform-mcp-server"
      ]
    }
  }
}

Tools

9 tools and 2 resources listed by terraform-mcp-server 1.4.1 in our sandbox on Dec 4, 2026.

  • get_latest_module_versionRead-onlyReaches outside

    Fetches the latest version of a Terraform module from the public registry

  • get_latest_provider_versionRead-onlyReaches outside

    Fetches the latest version of a Terraform provider from the public registry

  • get_module_detailsRead-onlyReaches outside

    Fetches up-to-date documentation on how to use a Terraform module.

  • get_policy_detailsRead-onlyReaches outside

    Fetches up-to-date documentation for a specific policy from the Terraform registry.

  • get_provider_capabilitiesRead-onlyReaches outside

    Get the capabilities of a Terraform provider including the types of resources, data sources, functions, guides, and other features it supports.

  • get_provider_detailsRead-onlyReaches outside

    Fetches up-to-date documentation for a specific service from a Terraform provider.

  • search_modulesRead-onlyReaches outside

    Resolves a Terraform module name to obtain a compatible module_id for the get_module_details tool and returns a list of matching Terraform modules.

  • search_policiesRead-onlyReaches outside

    Searches for Terraform policies based on a query string.

  • search_provider_docsRead-onlyReaches outside

    This tool retrieves a list of potential documents based on the 'service_slug' and 'provider_document_type' provided.