mcp-server-hcp-terraform MCP Server

MCP server for working with HashiCorp Terraform Cloud/Enterprise API

Local serverstdio

What is the mcp-server-hcp-terraform MCP Server?

mcp-server-hcp-terraform is an MCP project maintained in the dulltz/mcp-server-hcp-terraform repository. The maintainer describes its purpose as “MCP server for working with HashiCorp Terraform Cloud/Enterprise API”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares HCP_TERRAFORM_TOKEN, HCP_TERRAFORM_ORG. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the mcp-server-hcp-terraform MCP Server

{
  "mcpServers": {
    "HCP Terraform": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "path/to/mcp-server-hcp-terraform/server.py"
      ],
      "env": {
        "HCP_TERRAFORM_TOKEN": "YOUR_HCP_TERRAFORM_TOKEN",
        "HCP_TERRAFORM_ORG": "my_org"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
HCP_TERRAFORM_TOKENDeclared in the maintainer’s client configuration.Yes
HCP_TERRAFORM_ORGDeclared in the maintainer’s client configuration.Yes