Terraform
by hashicorp
HashiCorp's official MCP for the Terraform ecosystem — registry lookups, module docs, provider metadata, workspace inspection.
HCP Terraform or TFE URL; omit for registry-only use
API token for the TFE address above; only needed for workspace operations
Skip TLS verification for self-hosted TFE (true/false)
Allow plan/apply/destroy run operations (true/false)
falseLogging verbosity
Logging format
Extra CA bundle for private TFE
stdio (default) or streamable-http
Host for streamable-http transport mode
Port for streamable-http transport mode
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/hashicorp/terraform-mcp-server # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
podman run -i --rm -e TFE_TOKEN -e TFE_ADDRESS hashicorp/terraform-mcp-server:1.4.1go install github.com/hashicorp/terraform-mcp-server/cmd/[email protected] stdio