Feedback

HCP Terraform MCP Server

@bbbmau Claim

Basic information

Runtime
go
License
MPL-2.0
Transports
stdio
Author
bbbmau
Submitted by
Community
Quality
10
Stars
1.6K

About HCP Terraform MCP Server

# HCP Terraform MCP Server

HCP Terraform MCP Server is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by BBBmau. Supported transport: stdio. Runtime: go. License: MPL-2.0. The repository has 1,554 GitHub stars. Source code is hosted on github.com. Related topics: hcp-terraform, mcp-server, terraform.

HCP Terraform MCP Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

HCP Terraform MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is HCP Terraform MCP Server?

HCP Terraform MCP Server is an MCP server that integrates with HCP Terraform (TFE) to manage Terraform resources via the Model Context Protocol. It is intended for developers using MCP-compatible clients to interact with HCP Terraform.

How to use HCP Terraform MCP Server?

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.

Key features of HCP Terraform MCP Server

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

Frequently asked questions

1 How do I build the HCP Terraform MCP Server?

Run go build in the cmd/hcp-terraform-mcp-server directory, optionally using the -o flag to specify the output location.

2 What environment variable is required?

You must set the HCP_TFE_TOKEN environment variable to your HCP Terraform API token.

3 How do I configure the server for MCP?

In your MCP client configuration, set the command to the path of the built binary, args to ["stdio"], and provide the HCP_TFE_TOKEN in the env block.

4 What transport does the server use?

The server uses stdio transport, specified by the stdio subcommand.

5 Can I run the server without Docker?

Yes, the server can be built from source using Go and run directly; Docker is not required.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬