MCP.so
Sign In

HCP Terraform MCP Server

@BBBmau

Basic information

Category

Cloud & Infrastructure

Transports

stdio

Author

BBBmau

About HCP Terraform MCP Server

No overview available yet

#hcp-terraform#terraform#mcp-server

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

Use cases of HCP Terraform MCP Server

—

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

More Cloud & Infrastructure MCP servers