Terraform working-dir truth: pinned provider schemas, plans, state, modules, upgrade impact
MCPpedia last refreshed this data
io.github.YawLabs/terraform-cwd-mcp is an MCP server that terraform working-dir truth: pinned provider schemas, plans, state, modules, upgrade impact. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 89/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"terraform-cwd": {
"args": [
"-y",
"@yawlabs/terraform-cwd-mcp@latest"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Terraform working-dir truth: pinned provider schemas, plans, state, modules, upgrade impact
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @yawlabs/terraform-cwd-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in cloud / data
Token-efficient MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, SQLite
DataForSEO API modelcontextprotocol server
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
Search, scrape, and crawl the web, plus Firecrawl Alexandria, our library of everything else.
MCP Security Weekly
Get CVE alerts and security updates for io.github.YawLabs/terraform-cwd-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. Tested with Yaw MCP 1.1.18 or newer. Or install manually below.
What is actually true in THIS Terraform working directory: the exact provider schemas pinned in your .terraform.lock.hcl (so coding agents stop writing arguments that do not exist, were removed, or are read-only), plus your saved plans, your state (redacted), your local and installed modules, and what a provider upgrade would break. It complements HashiCorp's terraform-mcp-server rather than replacing it: that server answers from the Terraform Registry docs, which describe the latest provider release; this one answers from terraform providers schema -json in your root module, which describes the version you actually locked. Run both.
Built and maintained by Yaw Labs.
Your lock file says hashicorp/aws 5.31.0; the registry docs (and the model's training data) say whatever came later or earlier. Agents then write arguments that were added after your pin, removed before it, or are computed-only and cannot be set at all. terraform validate catches it -- after the code is written. This server lets the agent check before it writes.
terraform providers schema -json run in your root module, with versions read from .terraform.lock.hcl.terraform init in your directory, so your lock file and .terraform/ stay as they are. An uninitialized directory gets an actionable error telling you what to run. It is not free of side effects: it runs terraform, which starts provider plugins, and writes caches (see Security model). The one download is the opt-in tf_upgrade_impact, in a temp dir.tf_get_schema renders one type as a compact indented outline with required / optional / optional+computed / computed (read-only), [deprecated], [sensitive] and [write_only] flags, instead of handing the model raw JSON.| Tool | What it does |
|---|---|
tf_list_providers | Providers in the root module with their pinned versions and resource / data / ephemeral counts. Call this first. |
tf_search_types | Find type names containing a substring (s3_bucket), per kind. |
tf_get_schema | Every argument and nested block of one type at the pinned version, with mode and flags. Use before writing or editing a block. |
tf_check_arguments | Validate dotted paths (["bucket", "versioning.enabled"]) and get ok, ok (block) (either with [deprecated]), READ-ONLY (computed), '<x>' is an attribute, not a block or UNKNOWN per path. |
tf_summarize_plan | Summarize a saved plan (plan_file inside dir: binary from terraform plan -out, or plan |