Terraform

hashicorp@hashicorp1.6Kon hashicorp/terraform-mcp-serverMCP server

The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.

MCP configuration

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "terraform-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-p",
        "8080:8080",
        "--rm",
        "-e",
        "TRANSPORT_MODE=streamable-http",
        "-e",
        "TRANSPORT_HOST=0.0.0.0",
        "hashicorp/terraform-mcp-server"
      ]
    }
  }
}

Use this in your own environment. Copying text here does not run it.

Made forDevelopment
What you needAn MCP client that accepts server configuration
Project links
Sources checked2026-11-16

How to use it

  1. Open the listing page and read the server's documentation.
  2. Copy the configuration or command into your MCP client.
  3. Restart the client and try one of the server's tools.