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.3.3
Transportstdio
Runtimedocker
Runtime Arguments
Positional
Position 0
runenv_var_name
TFE_ADDRESSEnvironment variable nameenv_var_name
TFE_TOKENEnvironment variable nameenv_var_name
ENABLE_TF_OPERATIONSEnvironment variable nameimage_name
hashicorp/terraform-mcp-server:0.3.3The container image to runNamed
--rm
-i
-e
Set an environment variable in the runtime-e
Set an environment variable in the runtime-e
Set an environment variable in the runtimeEnvironment Variables
TFE_ADDRESS
Default:
https://app.terraform.ioHCP Terraform or Terraform Enterprise base URL.
TFE_TOKEN
Secret
HCP Terraform or Terraform Enterprise API token used to authenticate requests.
ENABLE_TF_OPERATIONS(bool)
Default:
falseSet to true to enable tools that execute Terraform operations requiring explicit approval.