Koskamo

Terraform MCP

The Terraform MCP Server provides seamless integration with the Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development. It supports direct integration with public Terraform Registry APIs for providers, modules, and policies, as well as full workspace management, organization/project listing, and private registry access for HCP Terraform and Terraform Enterprise.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Terraform MCP logo, by HashiCorpCommunity listingLocal stdioSource reviewed; not executedPublished by HashiCorp
Vendor documentation

What you can do with it

  • Manage Terraform workspaces including create, update, and delete operations
  • List organizations and projects in HCP Terraform or Terraform Enterprise
  • Access public Terraform Registry for providers, modules, and policies
  • Automate Infrastructure as Code development workflows via MCP clients

Source and maintenance

Community listingRegistry 1.4.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

docker.io/hashicorp/terraform-mcp-server:1.4.1

ocidocker
docker.io/hashicorp/terraform-mcp-server:1.4.1 package definition
{
  "transport": "stdio",
  "identifier": "docker.io/hashicorp/terraform-mcp-server:1.4.1",
  "runtimeHint": "docker",
  "registryType": "oci",
  "runtimeArguments": [
    {
      "name": "-e",
      "type": "named",
      "value": "TFE_ADDRESS={address}",
      "variables": {
        "address": {
          "format": "string",
          "default": "https://app.terraform.io"
        }
      },
      "description": "HCP Terraform or Terraform Enterprise base URL."
    },
    {
      "name": "-e",
      "type": "named",
      "value": "TFE_TOKEN={token}",
      "variables": {},
      "description": "HCP Terraform or Terraform Enterprise API token used to authenticate requests."
    },
    {
      "name": "-e",
      "type": "named",
      "value": "ENABLE_TF_OPERATIONS={enabled}",
      "variables": {
        "enabled": {
          "format": "boolean",
          "default": "false"
        }
      },
      "description": "Set to true to enable tools that execute Terraform operations requiring explicit approval."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "terraform-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/hashicorp/terraform-mcp-server:1.4.1"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "terraform-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/hashicorp/terraform-mcp-server:1.4.1"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "terraform-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/hashicorp/terraform-mcp-server:1.4.1"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "terraform-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/hashicorp/terraform-mcp-server:1.4.1"
      ]
    }
  }
}

Let your agent find its tools

Find servers like Terraform MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.