T
Terraform MCP Server
Plan and manage Terraform infrastructure from AI agents.
open-source 53/100
DevOps & Infrastructure terraform hashicorp infrastructure iac cloud provisioning
A Model Context Protocol server for Terraform. Enables AI agents to initialize workspaces, plan infrastructure changes, apply configurations, and inspect Terraform state.
Supports workspace management, plan generation, state inspection, resource listing, and output retrieval for infrastructure-as-code workflows.
Install
go install github.com/hashicorp/mcp-server-terraform@latest MCP Client Config
{
"mcpServers": {
"terraform": {
"command": "mcp-server-terraform",
"args": [],
"env": {
"TF_WORKSPACE": "<path-to-workspace>"
}
}
}
} Capabilities
Tools
initplanapplyshow_statelist_resourcesget_outputs
Compatible With
Claude Desktop Claude Code Cursor
Pricing
Server and Terraform CLI are free. Terraform Cloud has paid tiers.
Metrics
710
GitHub Stars
5,600
Installs
430
Weekly
5
Open Issues
More in DevOps & Infrastructure
Best of DevOps & Infrastructure → C
Cloudflare MCP Server
Manage Cloudflare Workers, KV, R2, and D1 from AI agents.
open-source 78/100
DevOps & Infrastructure
D
Docker MCP Server
Manage Docker containers, images, and compose stacks from AI agents.
open-source 67/100
DevOps & Infrastructure
K
Kubernetes MCP Server
Manage Kubernetes clusters, pods, and deployments from AI agents.
open-source 51/100
DevOps & Infrastructure