HCP Terraform MCP Server

by BBBmau

331 downloads
Not rated
GitHub

Description

# HCP Terraform MCP Server ### Build from source If you don't have Docker, you can use `go build` to build the binary in the `cmd/hcp-terraform-mcp-server` directory, and use the `hcp-terraform-mcp-server stdio` command with the `HCP_TFE_TOKEN` environment variable set to your…

About

# HCP Terraform MCP Server ### Build from source If you don't have Docker, you can use `go build` to build the binary in the `cmd/hcp-terraform-mcp-server` directory, and use the `hcp-terraform-mcp-server stdio` command with the `HCP_TFE_TOKEN` environment variable set to your token. To specify the output location of…

Details

Author
BBBmau
Downloads
331
Categories
Cloud Service

- Provides an MCP server for HCP Terraform (TFE)
- Uses stdio transport with the stdio subcommand
- Requires HCP_TFE_TOKEN environment variable for authentication

Build the binary from source using go build in the cmd/hcp-terraform-mcp-server directory. Set the HCP_TFE_TOKEN environment variable to your HCP Terraform token. Configure your MCP client to use the built executable as the command with the stdio argument, as shown in the example JSON.

HCP Terraform MCP Server

Build from source

If you don't have Docker, you can use go build to build the binary in the
cmd/hcp-terraform-mcp-server directory, and use the hcp-terraform-mcp-server stdio command with the HCP_TFE_TOKEN environment variable set to your token. To specify the output location of the build, use the -o flag. You should configure your server to use the built executable as its command. For example:

{
  "mcp": {
    "servers": {
      "github": {
        "command": "/path/to/hcp-terraform-mcp-server",
        "args": ["stdio"],
        "env": {
          "HCP_TFE_TOKEN": "<YOUR_TOKEN>"
        }
      }
    }
  }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.