← Back to Plugins
MCP Server MCP

Terraform

github By github 👁 1 views ▲ 0 votes

Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise

Homepage Verified source GitHub

Install

oci:docker.io/hashicorp/terraform-mcp-server:1.0.0

Configuration Example

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

Comments

Sign in to leave a comment

Loading comments...