io.github.hashicorp

terraform-mcp-server

Terraform

Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise

stdioofficialservice

Package Details

docker.io/hashicorp/terraform-mcp-server:0.5.0

Transportstdio
Runtimedocker

Runtime Arguments

Named
-e
TFE_ADDRESS={address}HCP Terraform or Terraform Enterprise base URL.
-e
TFE_TOKEN={token}HCP Terraform or Terraform Enterprise API token used to authenticate requests.
-e
ENABLE_TF_OPERATIONS={enabled}Set to true to enable tools that execute Terraform operations requiring explicit approval.