Terraform MCP¶
This guide adds Terraform MCP Server to the local unified gateway stack.
Enable Terraform MCP¶
Terraform MCP is available at:
http://127.0.0.1:8811/mcp
Start the stack:
Optional HCP Terraform/TFE credentials¶
Set the following environment variables when you want HCP Terraform/TFE tools:
TFE_ADDRESS(default upstream value ishttps://app.terraform.io)TFE_TOKEN
The server still works without these values for public Terraform Registry tools.
Validate end-to-end¶
Run the normal MCP validation flow:
If you changed stack wiring, also run: