Terraform MCP Server logo

Terraform MCP Server — MCP Servers

Generate and validate Terraform IaC via MCP with Terraform Registry access.

Quick Info

Category
developer-tools

Tags

terraform
infrastructure
mcp
iac
automation
hashicorp

Overview

The Terraform MCP Server integrates HashiCorp Terraform with the Model Context Protocol (MCP), allowing AI-powered IDEs and agents to generate, edit, and validate infrastructure-as-code configurations. It provides direct access to the Terraform Registry, ensuring that AI models can retrieve up-to-date provider and module information. Available for local and remote deployment, the server supports integration with tools like VS Code, Cursor, Claude Desktop, and Amazon Q. Developers can run it via Docker, compiled binaries, or source builds, enabling flexible setup across environments. With its freemium model, the Terraform MCP Server makes it easier for individuals and teams to automate infrastructure provisioning while maintaining control and reliability.

Key Features

Generate Terraform configurations with AI assistance
Access provider and module info from Terraform Registry
Local deployment with stdio mode
Remote deployment with streamable-http mode
Install via Docker, binaries, or source
Integrates with VS Code, Cursor, Claude Desktop, Amazon Q
Automates infrastructure provisioning
Beta project with ongoing development

Use Cases

Enhance development workflows and productivity
Integrate Terraform MCP Server with Claude and other AI assistants
Streamline developer-tools processes using MCP protocol