mcpopen-sourceverified
Terraform MCP
Plan, apply and inspect IaC state
Run `terraform plan`, inspect state and preview diffs safely. Read-only by default.
Install Terraform MCP
Paste into claude_desktop_config.json
{
"mcpServers": {
"terraform": {
"command": "npx",
"args": [
"-y",
"@hashicorp/mcp-terraform"
]
}
}
}Run in your terminal
claude mcp add terraform -- npx -y @hashicorp/mcp-terraform Paste into .cursor/mcp.json
{
"mcpServers": {
"terraform": {
"command": "npx",
"args": [
"-y",
"@hashicorp/mcp-terraform"
]
}
}
} After adding the server, fully restart your MCP client. Replace <placeholders> (tokens, paths) with your own values.
Facts
- Stars
- ★ 3,800
- Maintainer
- HashiCorp (official)
Trust score, capability surface (filesystem, shell, network) and risk flags — reviewed in your browser.