tf_list_providers
List providers and pinned versions locked in a Terraform root module's .terraform.lock.hcl so code targets the versions actually in use, defaulting to the current directory.
Instructions
List providers and their PINNED versions for a Terraform root module (default: cwd). Call this first so code targets the versions actually locked in .terraform.lock.hcl, not the latest release. Lists only the providers locked in THIS directory; it does not search the registry. For registry search, provider docs or the latest version, use the official terraform MCP server (search_provider_docs / get_latest_provider_version).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Terraform root module directory (must already be initialized). Default: TERRAFORM_CWD_MCP_DIR, else the server's working directory. |