# [[Cursor Terraform MCP server]] _Created: 2026-01-06_ | #ai/mcp #editor/cursor #terraform | [[020 Programming MOC|Programming]] Hashicorp provides an official MCP server at https://github.com/hashicorp/terraform-mcp-server It uses Docker to provide the tools, and so you must have a local docker daemon running to use this. But this significantly improves accuracy for terraform code. The github repo provides the config necessary to add this MCP server to popular editor. You can ignore all the TFE (Terraform Enterprise) options. I used this: ```json { "mcpServers": { "terraform": { "command": "docker", "args": [ "run", "-i", "--rm", "hashicorp/terraform-mcp-server:0.3.3" ] } } } ```