{
    "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
    "name": "io.github.hashicorp/terraform-mcp-server",
    "description": "Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise",
    "title": "Terraform",
    "repository": {
        "url": "https://github.com/hashicorp/terraform-mcp-server",
        "source": "github"
    },
    "version": "0.3.2",
    "packages": [
        {
            "registryType": "oci",
            "identifier": "docker.io/hashicorp/terraform-mcp-server",
            "runtimeHint": "docker",
            "transport": {
                "type": "stdio"
            },
            "runtimeArguments": [
                {
                    "value": "run",
                    "type": "positional"
                },
                {
                    "type": "named",
                    "name": "--rm"
                },
                {
                    "type": "named",
                    "name": "-i"
                },
                {
                    "description": "Set an environment variable in the runtime",
                    "type": "named",
                    "name": "-e",
                    "isRepeated": true
                },
                {
                    "description": "Environment variable name",
                    "value": "TFE_ADDRESS",
                    "type": "positional",
                    "valueHint": "env_var_name"
                },
                {
                    "description": "Set an environment variable in the runtime",
                    "type": "named",
                    "name": "-e",
                    "isRepeated": true
                },
                {
                    "description": "Environment variable name",
                    "value": "TFE_TOKEN",
                    "type": "positional",
                    "valueHint": "env_var_name"
                },
                {
                    "description": "Set an environment variable in the runtime",
                    "type": "named",
                    "name": "-e",
                    "isRepeated": true
                },
                {
                    "description": "Environment variable name",
                    "value": "ENABLE_TF_OPERATIONS",
                    "type": "positional",
                    "valueHint": "env_var_name"
                },
                {
                    "description": "The container image to run",
                    "value": "hashicorp/terraform-mcp-server:0.3.2",
                    "type": "positional",
                    "valueHint": "image_name"
                }
            ],
            "environmentVariables": [
                {
                    "description": "HCP Terraform or Terraform Enterprise base URL.",
                    "default": "https://app.terraform.io",
                    "name": "TFE_ADDRESS"
                },
                {
                    "description": "HCP Terraform or Terraform Enterprise API token used to authenticate requests.",
                    "isSecret": true,
                    "name": "TFE_TOKEN"
                },
                {
                    "description": "Set to true to enable tools that execute Terraform operations requiring explicit approval.",
                    "format": "boolean",
                    "default": "false",
                    "choices": [
                        "true",
                        "false"
                    ],
                    "name": "ENABLE_TF_OPERATIONS"
                }
            ],
            "version": "0.3.2",
            "registryBaseUrl": "https://docker.io"
        }
    ],
    "_meta": {
        "io.modelcontextprotocol.registry/official": {
            "status": "active",
            "statusChangedAt": "2025-10-24T05:01:45.035537Z",
            "publishedAt": "2025-10-24T05:01:45.035537Z",
            "updatedAt": "2025-10-24T05:01:45.035537Z",
            "isLatest": false
        },
        "io.modelcontextprotocol.registry/publisher-provided": {
            "publishedAt": "2025-10-24T05:01:45+00:00",
            "updatedAt": "2025-10-24T05:01:45+00:00"
        }
    }
}