Terraform CWD MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 77 installs a week from npm. Last commit 31 Oct 2026.
Terraform working-dir truth: pinned provider schemas, plans, state, modules, upgrade impact
We read the source, 1 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
child = spawn(binary, args, {
If the error was E401 or E404, the automation token in ~/.npmrc is dead.
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add terraform-cwd-mcp -- npx -y @yawlabs/terraform-cwd-mcp
{
"mcpServers": {
"terraform-cwd-mcp": {
"command": "npx",
"args": [
"-y",
"@yawlabs/terraform-cwd-mcp"
]
}
}
}
[mcp_servers.terraform-cwd-mcp]
command = "npx"
args = ["-y", "@yawlabs/terraform-cwd-mcp"]
{
"mcpServers": {
"terraform-cwd-mcp": {
"command": "npx",
"args": [
"-y",
"@yawlabs/terraform-cwd-mcp"
]
}
}
}
{
"servers": {
"terraform-cwd-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yawlabs/terraform-cwd-mcp"
]
}
}
}
Terraform Registry modules, providers and policies, plus HCP Terraform workspaces.
Terraform Registry docs, module search and AWS plan policy scans as MCP tools.
Terraform providers and modules from the registry. No key required.
An MCP server that provides DevOps and DevSecOps context for the project
Breaking changes between two versions: npm, PyPI, GitHub Actions, Helm, Terraform, crates.io, Go.
Session-bound Docker workflow server through Codex. State is discarded with the container.
MCP server for the OpenTofu/Terraform native test framework: scaffold, mock, validate, run tests
FoggyKitchen Terraform/OpenTofu blueprints, landing zones, modules, and labs.
Answers built from our own checks of this server.