H

hashicorp/terraform-mcp-server

ServersActiveMPL-2.0

Overview

The official Terraform MCP Server integrates with the Terraform ecosystem, enabling provider discovery, module analysis, Registry API integration, and workspace management for advanced Infrastructure as Code workflows.

Capabilities

  • stdio transport support
  • network transport options
  • mcp client integration
  • workflow automation support

Best For

Official MCP Server for Terraform with Registry API integration, workspace management, and dual transport support for Infrastructure as Code workflows.

Decision Snapshot

Install

available

Usage

available

Docs

6 links

Config

8 strong hints

Capabilities

4 key capabilities detected

  • • GitHub stars: 1322
  • • Forks: 140
  • • Source provenance count: 1
  • • Active signal: Updated this week from lifecycle signals.
  • • Last seen: 4/15/2026
  • • Published: 3/17/2026

Installation / Setup

go install github.com/hashicorp/terraform-mcp-server/cmd/terraform-mcp-server@latest

Example Config

This is an MCP Find-authored example config generated from strong evidence.

Review official documentation and source metadata for complete setup parameters.

strong-evidencesource-clearmcp-find-examplebased-on-official-docs
{
  "mcpServers": {
    "terraform-mcp-server": {
      "command": "go",
      "args": [
        "install",
        "github.com/hashicorp/terraform-mcp-server/cmd/terraform-mcp-server@latest"
      ]
    }
  }
}

Usage

{ && "mcp": { && "servers": { && "terraform": {

Features

  • **Terraform Registry Integration**: Direct integration with public Terraform Registry APIs for providers, modules, and policies
  • **HCP Terraform & Terraform Enterprise Support**: Full workspace management, organization/project listing, and private registry access
  • **Workspace Operations**: Create, update, delete workspaces with support for variables, tags, and run management
  • Clone the repository:
  • Build the Docker image:
  • This will create a local Docker image that you can use in the following configuration.
  • stdio transport support
  • network transport options

Use Cases

  • Supports capabilities such as: stdio transport support; network transport options; mcp client integration.
  • Common usage themes: mcp, curated, markdown-list, awesome-mcp-servers-punkpeye.

Supported Clients / Integrations

  • stdio transport support
  • network transport options
  • mcp client integration
  • workflow automation support

Compatibility Signals

  • Claude Desktop: mentions (Mentioned in approved metadata/docs evidence.)

Prompt Examples

example

{ && "mcp": { && "servers": { && "terraform": {

Notes / Requirements

  • Primary language: Go
  • License: MPL-2.0
  • Documentation coverage: high
  • Parser coverage score: 1.00
  • Source feeds: Awesome MCP Servers (punkpeye)
  • Topic cluster: general

Official Links

Source Information

Community: 1,322 stars
Last Updated: Apr 15, 2026
GoMPL-2.0

You can verify all information on this page against the source repository above.

Related MCP Tools

What To Do Next

Continue from this tool into a workflow and a learn guide to shorten implementation time.

Sponsored