Back to MCP Servers
Terraform Server
Access Terraform registry providers and modules for infrastructure-as-code workflows
terraformiacdevopsinfrastructurehashicorpcommunity
Installation
npm install -g @hashicorp/mcp-server-terraformConfiguration
{
"mcpServers": {
"terraform": {
"command": "npx",
"args": ["-y", "@hashicorp/mcp-server-terraform"]
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes