Terraform
HashiCorp's server for Terraform Registry providers and modules, plus HCP Terraform workspaces.
- Checks
- 8 of 8 passed
- License
- Mozilla Public License 2.0
- Last commit
- 2 days ago
- GitHub stars
- 1.6k
- Reviewed at
f52d03d· Dec 4, 2026
Install
Container · hashicorp/terraform-mcp-server
claude mcp add terraform -- docker run -i --rm hashicorp/terraform-mcp-server{
"mcpServers": {
"terraform": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server"
]
}
}
}Tools
9 tools and 2 resources listed by terraform-mcp-server 1.4.1 in our sandbox on Dec 4, 2026.
get_latest_module_versionRead-onlyReaches outsideFetches the latest version of a Terraform module from the public registry
get_latest_provider_versionRead-onlyReaches outsideFetches the latest version of a Terraform provider from the public registry
get_module_detailsRead-onlyReaches outsideFetches up-to-date documentation on how to use a Terraform module.
get_policy_detailsRead-onlyReaches outsideFetches up-to-date documentation for a specific policy from the Terraform registry.
get_provider_capabilitiesRead-onlyReaches outsideGet the capabilities of a Terraform provider including the types of resources, data sources, functions, guides, and other features it supports.
get_provider_detailsRead-onlyReaches outsideFetches up-to-date documentation for a specific service from a Terraform provider.
search_modulesRead-onlyReaches outsideResolves 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_policiesRead-onlyReaches outsideSearches for Terraform policies based on a query string.
search_provider_docsRead-onlyReaches outsideThis tool retrieves a list of potential documents based on the 'service_slug' and 'provider_document_type' provided.
Related MCP servers
More cloud and infrastructureCloudflare
OfficialCloudflare's hosted servers for docs, Workers bindings, observability, Radar and more.
Heroku
OfficialManage Heroku apps, dynos, add-ons and Postgres through the Heroku CLI.
Supabase
OfficialManage Supabase projects: run SQL, apply migrations, read logs, deploy edge functions.
Qdrant
OfficialStore and find memories in a Qdrant vector database.