Terraform (Docker) MCP Server
CommunityContributed by HashiCorp
Connect to the HashiCorp Terraform ecosystem via Docker. Search the public Terraform Registry for providers, modules, and policies, read documentation, and (with an optional token) interact with HCP Terraform / Terraform Enterprise workspaces and runs in an isolated container.
About the Terraform (Docker) MCP Server
The Terraform (Docker) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Connect to the HashiCorp Terraform ecosystem via Docker. Search the public Terraform Registry for providers, modules, and policies, read documentation, and (with an optional token) interact with HCP Terraform / Terraform Enterprise workspaces and runs in an isolated container. This is a community-contributed MCP server by HashiCorp.
Install the Terraform (Docker) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires authentication — McpMux securely stores your credentials with AES-256-GCM encryption.
Transport Configuration
{
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFE_TOKEN",
"-e",
"TFE_ADDRESS",
"hashicorp/terraform-mcp-server:latest"
],
"env": {
"TFE_TOKEN": "${input:TFE_TOKEN}",
"TFE_ADDRESS": "${input:TFE_ADDRESS}"
},
"metadata": {
"inputs": [
{
"id": "TFE_TOKEN",
"label": "HCP Terraform / Terraform Enterprise API Token",
"description": "Optional API token for HCP Terraform or Terraform Enterprise. Leave empty to use only the public Terraform Registry. Provide a token to access private registries, workspaces, and runs.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "<your-hcp-terraform-or-tfe-api-token>",
"obtain": {
"url": "https://app.terraform.io/app/settings/tokens",
"instructions": "1. Sign in to HCP Terraform (or your Terraform Enterprise instance)\n2. Open User Settings > Tokens (or a Team/Organization token)\n3. Create an API token\n4. Copy the token value",
"button_label": "Create Token"
}
},
{
"id": "TFE_ADDRESS",
"label": "HCP Terraform / TFE Address",
"description": "Optional base URL for HCP Terraform or a self-hosted Terraform Enterprise instance. Defaults to https://app.terraform.io when left empty.",
"type": "url",
"required": false,
"secret": false,
"placeholder": "https://app.terraform.io",
"default": "https://app.terraform.io"
}
]
}
}Categories
Tags
Supported AI Clients
The Terraform (Docker) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
GitHub (Docker)
Interact with GitHub repositories, issues, pull requests, and code security via Docker container. Supports both github.com and GitHub Enterprise instances. Requires Docker installed.
GitHub (Remote PAT)
Interact with GitHub repositories, issues, pull requests, actions, and code security through GitHub's hosted remote MCP server. Authenticates with a Personal Access Token.
Atlassian (Jira & Confluence)
Interact with Jira issues, Confluence pages, and Compass components through Atlassian's official remote MCP server.
Figma
Generate code from Figma designs, extract design context, variables, and components through Figma's official hosted MCP server. Supports Code Connect for design system consistency, FigJam content, and browser-to-Figma live capture.
Figma (npx)
Read and inspect Figma designs, components, and styles. Extract layout details, design tokens, and asset metadata from any Figma file. Translates auto-layout to CSS flexbox. Supports image downloads.
GitLab
GitLab's built-in MCP server for managing issues, merge requests, pipelines, and semantic code search. Requires GitLab 18.6+ with Duo enabled. Connects directly to any GitLab instance via OAuth.
Install Terraform (Docker) with McpMux
One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.