Skip to content
  1. Home
  2. MCP servers
  3. Terraform MCP Server

Terraform MCP Server

HashiCorp server for Terraform Registry lookups and HCP Terraform workspaces

What it is

HashiCorp's MCP server. It queries the public Terraform Registry for providers, modules and policies, and with a token can manage workspaces, projects and private registry content in HCP Terraform or Terraform Enterprise. For people writing infrastructure as code with an assistant.

Good for

  • Look up current provider and module docs
  • Generate Terraform against real schemas
  • List and manage HCP Terraform workspaces

Install or run

claude mcp add terraform -s user -t stdio -- docker run -i --rm hashicorp/terraform-mcp-server

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

Docker (or the hosted endpoint); HCP Terraform/Enterprise token for workspace features

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for automation & ops

See the topic →
  • Discord channel plugin

    anthropics/claude-plugins-official

    Chat with your Claude Code session from a Discord bot

    MCP serverGitHub stars: 47k
  • iMessage channel plugin

    anthropics/claude-plugins-official

    Chat with Claude Code over iMessage on macOS

    MCP serverGitHub stars: 47k
  • Telegram channel plugin

    anthropics/claude-plugins-official

    Chat with your Claude Code session from a Telegram bot

    MCP serverGitHub stars: 47k
  • Terraform plugin

    anthropics/claude-plugins-official

    HashiCorp's Terraform MCP server for IaC work

    MCP serverGitHub stars: 47k