Agent Switchboard

Terraform MCP

by HashiCorp

Official listing: built and published by HashiCorp. More from HashiCorp

Official HashiCorp MCP server connecting AI assistants to Terraform Registry APIs for live provider docs, module search, and HCP Terraform workspace management.

Use it now

Keep it with up to 9 other tools you're setting up, then share them all as one link.

Try this first

Ask your assistant, with Terraform MCP connected:

  • Registry Provider Lookup

    Use Terraform MCP to search Terraform Registry for providers, modules, and policies: ‹what you're looking for›

  • Manage HCP Workspaces

    Use Terraform MCP to create HCP Terraform or Terraform Enterprise workspaces: ‹what you need›

  • Generate IaC Configs

    Use Terraform MCP to produce accurate Terraform configurations grounded in live provider schema: ‹what you need›

Connect it over MCP

Cursor and other MCP clients
{
  "mcpServers": {
    "terraform-mcp": {
      "url": "https://mcp.terraform.io/mcp"
    }
  }
}
Claude Code
claude mcp add --transport http terraform-mcp https://mcp.terraform.io/mcp
Or run it on your computer
docker run -i --rm hashicorp/terraform-mcp-server

In Grok, ChatGPT and other assistants, add a custom connector with the address https://mcp.terraform.io/mcp (how, step by step).

It may ask you to sign in to HashiCorp or for a key when you add it; the setup guide says which.

Setup guide: developer.hashicorp.com/terraform/mcp-server/deploy

Compare

Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.

Access
MCP
Auth
API Key
Skills
3

Skills

  • Registry Provider Lookup

    Search Terraform Registry for providers, modules, and policies with real-time docs instead of stale training data.

  • Manage HCP Workspaces

    Create, update, and delete HCP Terraform or Terraform Enterprise workspaces, set variables, tags, and trigger runs.

  • Generate IaC Configs

    Produce accurate Terraform configurations grounded in live provider schema and version metadata from the Registry.

Infrastructure & Opsinfrastructure-as-codeterraformregistryworkspace-managementprovidersmodules
Visit Agent
terraform-mcp
Official HashiCorp MCP server connecting AI assistants to Terraform Registry APIs for live provider docs, module search, and HCP Terraform workspace management.
try this first
Ask your assistant, with Terraform MCP connected:
Use Terraform MCP to search Terraform Registry for providers, modules, and policies: ‹what you're looking for›registry-lookup
Use Terraform MCP to create HCP Terraform or Terraform Enterprise workspaces: ‹what you need›workspace-manage
Use Terraform MCP to produce accurate Terraform configurations grounded in live provider schema: ‹what you need›iac-generate
use it now
docker run -i --rm hashicorp/terraform-mcp-servermcp.command
{"mcpServers":{"terraform-mcp":{"url":"https://mcp.terraform.io/mcp"}}}mcp.config
claude mcp add --transport http terraform-mcp https://mcp.terraform.io/mcpmcp.claude-code
fields
nameTerraform MCP
providerHashiCorp
urlhttps://developer.hashicorp.com/terraform/mcp-server
categoriesinfrastructure
accessmcp
authapiKey
streamingfalse
pushfalse
verifiedtrue
officialtrue · HashiCorp
sponsoredfalse
tagsinfrastructure-as-code, terraform, registry, workspace-management, providers, modules
skills
registry-lookupRegistry Provider LookupSearch Terraform Registry for providers, modules, and p…
workspace-manageManage HCP WorkspacesCreate, update, and delete HCP Terraform or Terraform E…
iac-generateGenerate IaC ConfigsProduce accurate Terraform configurations grounded in l…
alternatives
/agents/terraform-mcp/alternatives7 listedskaleagents, terravision, stackql
compare
/compare?a=terraform-mcp&b=skaleagents&c=terravisionwith skaleagents, terravision