Home › Cloud & Monitoring › mcp-server-terraform
mcp-server-terraform
Safety-first Terraform: confirmation-gated apply/destroy, risk & cost analysis, drift detection
Topics: Cloud Platforms
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 0.2.1)
npx -y @rajsir/[email protected]
Or add to your MCP client config:
{
"mcpServers": {
"mcp-server-terraform": {
"command": "npx",
"args": [
"-y",
"@rajsir/[email protected]"
],
"env": {
"ALLOW_ONLY_READONLY_TOOLS": "<YOUR_VALUE>",
"ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "<YOUR_VALUE>",
"AUDIT_LOG_PATH": "<YOUR_VALUE>"
}
}
}
}
ALLOW_ONLY_READONLY_TOOLS— Set to 'true' to expose only validate/plan/output/preflight/drift toolsALLOW_ONLY_NON_DESTRUCTIVE_TOOLS— Set to 'true' to block apply/destroy/state-mutation toolsAUDIT_LOG_PATH— File path for JSON-lines audit logging of all tool calls (var values redacted)
Related servers
mcp
AWS MCP servers for seamless integration with AWS services and resources.
mcp-server-cloudflare
Cloudflare MCP servers
kubefwd
Kubernetes port forwarding for local development with automatic /etc/hosts entries.
kubernetes-mcp-server
A Model Context Protocol (MCP) server for Kubernetes and OpenShift
mcp-server-kubernetes
/🏠 - Typescript implementation of Kubernetes cluster operations for pods, deployments, services.
Terraform
Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry