MCP Server Terraform
Safety-first Terraform: confirmation-gated apply/destroy, risk & cost analysis, drift…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.1
- Listing updated
- 4 days ago
About MCP Server Terraform
MCP Server Terraform is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.
Safety-first Terraform: confirmation-gated apply/destroy, risk & cost analysis, drift detection
Install
Run in a terminal
claude mcp add mcp-server-terraform -- npx -y @rajsir/mcp-server-terraformAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-server-terraform": {
"command": "npx",
"args": [
"-y",
"@rajsir/mcp-server-terraform"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server-terraform": {
"command": "npx",
"args": [
"-y",
"@rajsir/mcp-server-terraform"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-server-terraform": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rajsir/mcp-server-terraform"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-terraform": {
"command": "npx",
"args": [
"-y",
"@rajsir/mcp-server-terraform"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server-terraform": {
"command": "npx",
"args": [
"-y",
"@rajsir/mcp-server-terraform"
]
}
}
}Configuration
ALLOW_ONLY_READONLY_TOOLSSet to 'true' to expose only validate/plan/output/preflight/drift toolsALLOW_ONLY_NON_DESTRUCTIVE_TOOLSSet to 'true' to block apply/destroy/state-mutation toolsAUDIT_LOG_PATHFile path for JSON-lines audit logging of all tool calls (var values redacted)
Pricing
Open source
MCP Server Terraform FAQ
Is MCP Server Terraform free?
Yes. MCP Server Terraform is open source, so you can use and self-host it for free.
How do I add MCP Server Terraform to Claude Code?
Run this command in your terminal: claude mcp add mcp-server-terraform -- npx -y @rajsir/mcp-server-terraform
What are the best alternatives to MCP Server Terraform?
The closest alternatives to MCP Server Terraform are Agent Yurt, Proofline, filex, MagicWP MCP and Kubana Cloud Domains.
Alternatives to MCP Server Terraform

Agent Yurt
MCP serverBack up agent memory, files and dashboards, then recover from a reviewed snapshot
Not checked yet- Remote
- Free
- Knowledge and memory

Proofline
MCP serverProduction-aware review of changes against your AWS or Google Cloud setup, via MCP
- Remote
- Freemium
- Developer tools

filex
MCP serverSelf-hosted file manager in one Go binary with a built-in MCP server for agents
Not checked yet- Remote
- Open source
- Files and documents

MagicWP MCP
MCP serverRun WordPress hosting from an assistant: backups, staging, updates, PHP and domains
- Remote
- Free trial
- Cloud and infrastructure

Kubana Cloud Domains
MCP serverSearch, register and renew domains and set nameservers at Kubana Cloud from an assistant
Not checked yet- 3 tools
- Remote
- Paid
- Cloud and infrastructure

Kubana Cloud DNS Management
MCP serverCreate DNS zones, edit records and check nameserver delegation on Kubana Cloud
Not checked yet- 5 tools
- Remote
- Free
- Cloud and infrastructure