Infrastructure MCP server

Terraform MCP

Version history of discovered tools, schemas, and declared agent authority.

View watchlist

DistributionDistribution: OCI / Docker
Packagedocker.io/hashicorp/terraform-mcp-server
Latest analyzed version1.4.1
Current tool count9
Latest analysisNov 5, 2026
Package source

OBSERVED INTERFACE

Capability surface

Modelara’s observed declarations are shown separately from its derived effect classifications.

3 releases analyzed1.3.0 → 1.4.1Latest: 1.4.1
  • read9
  • write0
  • destructive0
  • unknown0

Unknown means Valyd could not determine the capability's effect confidently from the declared interface and static evidence. It is not treated as safe.

Package
docker.io/hashicorp/terraform-mcp-server@1.4.1
Registry
oci
Published
Oct 23, 2026
Integrity
sha256-Ed1Bi7pgA91Xd+nQl5to3lmSmhVbNV8zj0B5R+AOnYA=
Analyzer
modelara v0.1.8 · policy not recorded

9 capabilities

CapabilityTypeDerived effectFirst observed in Valyd coverageLast changed
get_latest_module_versionterraform:tool:get_latest_module_version
Observed interface and hashes

Fetches the latest version of a Terraform module from the public registry

Input schema

{
  "properties": {
    "module_name": {
      "description": "The name of the module, this is usually the service or group of service the user is deploying e.g., 'security-group', 'secrets-manager' etc.",
      "type": "string"
    },
    "module_provider": {
      "description": "The name of the Terraform provider for the module, e.g., 'aws', 'google', 'azurerm' etc.",
      "type": "string"
    },
    "module_publisher": {
      "description": "The publisher of the module, e.g., 'hashicorp', 'aws-ia', 'terraform-google-modules', 'Azure' etc.",
      "type": "string"
    }
  },
  "required": [
    "module_publisher",
    "module_name",
    "module_provider"
  ],
  "type": "object"
}
sha256:db97b5087180b2904b86de398079a5ba0f32895054bbdf7dae5f189ba093ba65

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:8ac7d1051c0f7d42bf29514f14da8f46cbff0070bdc9892bb60c7d3a31f12ded

Interface hash: sha256:a14e0cbbc0b8bd28bb7b051883bcdf8cf529598201a807b95fdd1d893b3e19ed

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/get_latest_module_version",
  "title": "Get Latest Module Version",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "get_latest_module_version"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:21c85d1ea4cc75f0b104f7465d32e0418f9cb538faeab094313b73592bfdbe34"
}
toolread1.3.0No change observed
get_latest_provider_versionterraform:tool:get_latest_provider_version
Observed interface and hashes

Fetches the latest version of a Terraform provider from the public registry

Input schema

{
  "properties": {
    "name": {
      "description": "The name of the Terraform provider, e.g., 'aws', 'azurerm', 'google', etc.",
      "type": "string"
    },
    "namespace": {
      "description": "The namespace of the Terraform provider, typically the name of the company, or their GitHub organization name that created the provider e.g., 'hashicorp'. If you are not certain of the namespace, do not guess, ask the user. Most HashiCorp-maintained providers are in the 'hashicorp' namespace",
      "type": "string"
    }
  },
  "required": [
    "namespace",
    "name"
  ],
  "type": "object"
}
sha256:b4f4917d2bfa726747f4e5057fec6eac186ad3eb7ae5bb6a003823f20cb6bb4d

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:22e8711cb6ea0b375459afdde91802252256ddde98449163804fd3937745714d

Interface hash: sha256:8180ea09d4832e1f50f0bfd931fd8a74468376d7e7c8fb1e2853c418547e4b3a

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/get_latest_provider_version",
  "title": "Get Latest Provider Version",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "get_latest_provider_version"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:b7e414284fd6a695aabbb38f6b6f1a523a3f0603d46a3508a220065f8cd4ace0"
}
toolread1.3.01.4.0
get_module_detailsterraform:tool:get_module_details
Observed interface and hashes

Fetches up-to-date documentation on how to use a Terraform module. You must call 'search_modules' first to obtain the exact valid and compatible module_id required to use this tool.

Input schema

{
  "properties": {
    "module_id": {
      "description": "Exact valid and compatible module_id retrieved from search_modules (e.g., 'squareops/terraform-kubernetes-mongodb/mongodb/2.1.1', 'GoogleCloudPlatform/vertex-ai/google/0.2.0')",
      "type": "string"
    }
  },
  "required": [
    "module_id"
  ],
  "type": "object"
}
sha256:577f51f157811471081342b62a5b818114421bc70655c15de0619959b8ce2c20

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:71f661f7ba1868e909a825e85e3884ed48d9b54b98d45faf5af816bd074cffe6

Interface hash: sha256:786fbeab17fcaa03225b79dd3161328d70704549185970804ed32386fcb83e10

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/get_module_details",
  "title": "Retrieve documentation for a specific Terraform module",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "get_module_details"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:e98045a05602b9c213f0d3faa791b7376c2ae5af0abc26915341eec47b9d4702"
}
toolread1.3.0No change observed
get_policy_detailsterraform:tool:get_policy_details
Observed interface and hashes

Fetches up-to-date documentation for a specific policy from the Terraform registry. You must call 'search_policies' first to obtain the exact terraform_policy_id required to use this tool.

Input schema

{
  "properties": {
    "terraform_policy_id": {
      "description": "Matching terraform_policy_id retrieved from the 'search_policies' tool (e.g., 'policies/hashicorp/CIS-Policy-Set-for-AWS-Terraform/1.0.1')",
      "type": "string"
    }
  },
  "required": [
    "terraform_policy_id"
  ],
  "type": "object"
}
sha256:d59af580fe8bcf26054c87cad29bc691e4786f2569f6b9a165d4d06c8813da89

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:0173e079b63412abb53651e5a1951029cd126ca398966027a70d64c09dc90d9c

Interface hash: sha256:65e2e4cabdcb675eb81a365324b1cdd9bb39d0435f2284abbf28783f8c36d05e

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/get_policy_details",
  "title": "Fetch detailed Terraform policy documentation using a terraform_policy_id",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "get_policy_details"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:7ed83cec6b9071519016df83544080f27c3fcb853ede4f12d23ae339bbb699ad"
}
toolread1.3.0No change observed
get_provider_capabilitiesterraform:tool:get_provider_capabilities
Observed interface and hashes

Get the capabilities of a Terraform provider including the types of resources, data sources, functions, guides, and other features it supports. This tool analyzes the provider documentation to determine what types of capabilities are available: - resources: Infrastructure resources that can be created/managed - data-sources: Read-only data sources for querying existing infrastructure - functions: Provider-specific functions for data transformation - guides: Documentation guides and tutorials for using the provider - actions: Available provider actions (if any) - ephemeral resources: Temporary resources for credentials and tokens - list-resources: List resources for querying existing cloud resources (Terraform Search) Returns a summary with counts and examples for each capability type.

Input schema

{
  "properties": {
    "name": {
      "description": "The name of the Terraform provider, e.g., 'aws', 'azurerm', 'google', etc.",
      "type": "string"
    },
    "namespace": {
      "description": "The namespace of the Terraform provider, typically the name of the company, or their GitHub organization name that created the provider e.g., 'hashicorp'. If you are not certain of the namespace, do not guess, ask the user. Most HashiCorp-maintained providers are in the 'hashicorp' namespace",
      "type": "string"
    },
    "version": {
      "description": "The version of the provider to analyze (defaults to 'latest')",
      "type": "string"
    }
  },
  "required": [
    "namespace",
    "name"
  ],
  "type": "object"
}
sha256:55e069aeacc01252c4eb2e99f05efc5258271df0059fd56c83449f4f529471e9

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:26c3ab23e62e7237db87c96fe6461a450ebcdf0a82f3839279853a61a11f0ba0

Interface hash: sha256:b87c0b40364778992a6393416bfa4b1513c954fa49e45c4b52139a4973e9af2b

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/get_provider_capabilities",
  "title": "Get Terraform provider capabilities and supported features",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "get_provider_capabilities"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:736717ab2d77edb2f6160b585f336a5edd3e2d2e4973cb80725e448758e500c1"
}
toolread1.3.01.4.0
get_provider_detailsterraform:tool:get_provider_details
Observed interface and hashes

Fetches up-to-date documentation for a specific service from a Terraform provider. You must call 'search_provider_docs' tool first to obtain the exact tfprovider-compatible provider_doc_id required to use this tool.

Input schema

{
  "properties": {
    "provider_doc_id": {
      "description": "Exact tfprovider-compatible provider_doc_id, (e.g., '8894603', '8906901') retrieved from 'search_provider_docs'",
      "type": "string"
    }
  },
  "required": [
    "provider_doc_id"
  ],
  "type": "object"
}
sha256:9b930236163b0427d2c1cee1ef81e34fe487d006290e16912c6b325322f1f89a

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:1bc7ee58ec0c658fa464bbe0ea106bb761e04b705f5f663e1e053318103cc5b7

Interface hash: sha256:2acca56e823eb1b1b3d53873794f56be4be194022cacff26f7248287b8dedde5

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/get_provider_details",
  "title": "Fetch detailed Terraform provider documentation using a document ID",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "get_provider_details"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:b6e9636f5462d0e0972cb6160ebba5c88053c9cfd92da7c73289a6cf5a1501f3"
}
toolread1.3.01.4.0
search_modulesterraform:tool:search_modules
Observed interface and hashes

Resolves a Terraform module name to obtain a compatible module_id for the get_module_details tool and returns a list of matching Terraform modules. You MUST call this function before 'get_module_details' to obtain a valid and compatible module_id. When selecting the best match, consider the following: - Name similarity to the query - Description relevance - Verification status (verified) - Download counts (popularity) Return the selected module_id and explain your choice. If there are multiple good matches, mention this but proceed with the most relevant one. If no modules were found, reattempt the search with a new moduleName query.

Input schema

{
  "properties": {
    "current_offset": {
      "default": 0,
      "description": "Current offset for pagination",
      "minimum": 0,
      "type": "number"
    },
    "module_query": {
      "description": "The query to search for Terraform modules.",
      "type": "string"
    }
  },
  "required": [
    "module_query"
  ],
  "type": "object"
}
sha256:e48efc173a75375315c0e940807d16bd3b6888f8829a9dcb52239e9e16874772

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:dc48278dce793303cfb36bca431bd7de1740a96a032973f8ebf96c9daf9b88e1

Interface hash: sha256:cd613bda948f03bc1e6661e1ee59cbd58c2459ca58ec47e43879a89906d65076

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/search_modules",
  "title": "Search and match Terraform modules based on name and relevance",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "search_modules"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:d915daa628729b925afb852b50b675368521d1c3b40ee9e343ae3fc498838b42"
}
toolread1.3.0No change observed
search_policiesterraform:tool:search_policies
Observed interface and hashes

Searches for Terraform policies based on a query string. This tool returns a list of matching policies, which can be used to retrieve detailed policy information using the 'get_policy_details' tool. You MUST call this function before 'get_policy_details' to obtain a valid terraform_policy_id. When selecting the best match, consider the following: - Name similarity to the query - Title relevance - Verification status (verified) - Download counts (popularity) Return the selected policyID and explain your choice. If there are multiple good matches, mention this but proceed with the most relevant one. If no policies were found, reattempt the search with a new policy_query.

Input schema

{
  "properties": {
    "policy_query": {
      "description": "The query to search for Terraform modules.",
      "type": "string"
    }
  },
  "required": [
    "policy_query"
  ],
  "type": "object"
}
sha256:1dc7cb9789fc184ec2d6c87ab60323219c70d78f5068325689e66a57e9b3a230

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:08ab2cb4379397205b635293c9996e97d3055bb14e0724cbce9debe2d4ee31a6

Interface hash: sha256:aa9248173744e1a22446567737a291cc903bd7f2eecca62005f936d55220e6ea

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/search_policies",
  "title": "Search and match Terraform policies based on name and relevance",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "search_policies"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:ca9137d2ea91a899517eba972c3894495dca884768f162338f73aeef076ad12e"
}
toolread1.3.0No change observed
search_provider_docsterraform:tool:search_provider_docs
Observed interface and hashes

This tool retrieves a list of potential documents based on the 'service_slug' and 'provider_document_type' provided. You MUST call this function before 'get_provider_details' to obtain a valid tfprovider-compatible 'provider_doc_id'. Use the most relevant single word as the search query for 'service_slug', if unsure about the 'service_slug', use the 'provider_name' for its value. When selecting the best match, consider the following: - Title similarity to the query - Category relevance Return the selected 'provider_doc_id' and explain your choice. If there are multiple good matches, mention this but proceed with the most relevant one.

Input schema

{
  "properties": {
    "provider_document_type": {
      "description": "The type of the document to retrieve,\nfor general overview of the provider use 'overview',\nfor guidance on upgrading a provider or custom configuration information use 'guides',\nfor deploying resources use 'resources', for reading pre-deployed resources use 'data-sources',\nfor functions use 'functions',\nfor Terraform actions use 'actions',\nfor listing resources using Terraform Search use 'list-resources'",
      "enum": [
        "resources",
        "data-sources",
        "functions",
        "guides",
        "overview",
        "actions",
        "list-resources"
      ],
      "type": "string"
    },
    "provider_name": {
      "description": "The name of the Terraform provider to perform the read or deployment operation",
      "type": "string"
    },
    "provider_namespace": {
      "description": "The publisher of the Terraform provider, typically the name of the company, or their GitHub organization name that created the provider. If you are not certain of the namespace, do not guess, ask the user. Most HashiCorp-maintained providers are in the 'hashicorp' namespace",
      "type": "string"
    },
    "provider_version": {
      "description": "The version of the Terraform provider to retrieve in the format 'x.y.z', or 'latest' to get the latest version",
      "type": "string"
    },
    "service_slug": {
      "description": "The slug of the service you want to deploy or read using the Terraform provider, prefer using a single word, use underscores for multiple words and if unsure about the service_slug, use the provider_name for its value",
      "type": "string"
    }
  },
  "required": [
    "provider_name",
    "provider_namespace",
    "service_slug",
    "provider_document_type"
  ],
  "type": "object"
}
sha256:2b12b59dc4a204042b8c61b3a9ce5616437055a6e196454e6c44549a19e68bb2

Output schema

Not exposed in the analyzed interface.

sha256:398b676e47d03a29016ee92fe378b8b4f1b3e965390c4c64ce78d27f79df74d1

Description hash: sha256:5458e4e4638ad94504828f3ba4d062c2ae05d663545c3f518556912f053e60f9

Interface hash: sha256:08410e2ed0dac7e308c4b3bc92163b225b2634d5ff50e2c0ee51447005df6ee7

Other observed Modelara metadata
{
  "id": "mcp:terraform-mcp-server/search_provider_docs",
  "title": "Identify the most relevant provider document ID for a Terraform service",
  "source": {
    "type": "mcp",
    "server": "terraform-mcp-server",
    "operation": "search_provider_docs"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:651d89f5bd18f79b95fb69f446dd07c7db0557767f209474f0086d2d4212636d"
}
toolread1.4.01.4.0

STATIC COMPARISONS

Release history

2 release transitions
  1. 0 added0 removed0 schema0 write0 destructive0 unknown

    Nov 5, 2026· Automated static analysis

  2. 1 added1 removed3 schema0 write0 destructive0 unknown

    Nov 5, 2026· Pending human review