Terraform

Official HashiCorp Cloud

Lets an agent find Terraform providers and modules and manage HCP Terraform workspaces and runs. Summary written by AI Index.

The registry’s description: Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise

Local package (oci) Needs a value: token

Add to your client

Add the Terraform MCP server to Claude Code

  1. Run the command

    claude mcp add terraform -- docker run -i --rm -e TFE_ADDRESS=<address> -e TFE_TOKEN=<token> -e ENABLE_TF_OPERATIONS=<enabled> docker.io/hashicorp/terraform-mcp-server:1.4.1
  2. Fill in the values ↓

  3. Check it’s connected

If the file already has servers, add the entry inside the existing object. To check it’s connected, restart or reload the client and look for terraform in its list of MCP servers. A server that needs sign-in opens it on first use.

What you fill in

Required values appear as <NAME> placeholders in the snippets; add optional ones the same way. Descriptions are the server’s registry entry’s.

  • <address> Value Optional
  • <token> Value Optional · Secret
  • <enabled> Value Optional

Client compatibility

By transport: whether the client’s docs list a transport this server offers. It doesn’t cover sign-in or other requirements.

Sources

This data comes from the Official MCP Registry.