Catalog/ Infrastructure/ Terraform
Infrastructure · stdio · opencode

Terraform

Plan, apply and inspect declared infrastructure.

Available stdio latest 9 tools

What it does

summary

HashiCorp's official MCP server in a container: provider docs, module search, plan and apply.

Cloud, containers, clusters and the homelab.

Tools

9 documented
Terraform tool surface
ToolDescription
get_latest_module_version Fetches the latest version of a Terraform module from the public registry
get_latest_provider_version Fetches the latest version of a Terraform provider from the public registry
get_module_details 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.
get_policy_details 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.
get_provider_capabilities Get the capabilities of a Terraform provider including the types of resources, data sources, functions, guides, and other features it supports.
get_provider_details Fetches up-to-date documentation for a specific service from a Terraform provider.
search_modules 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.
search_policies Searches for Terraform policies based on a query string.
search_provider_docs This tool retrieves a list of potential documents based on the 'service_slug' and 'provider_document_type' provided.

Install / connect

docker run -i --rm hashicorp/terraform-mcp-server

Client-side configuration. Secrets and connection strings belong in your own environment, never in this registry.

Safety

rules

Container with the working directory mounted read-write. Applies need explicit approval.