hashicorp/terraform-mcp-server
An MCP server that exposes Terraform Registry APIs, workspace management, and IaC operations to AI clients and language models.

The Terraform MCP Server implements the Model Context Protocol to provide AI assistants and LLMs with access to Terraform infrastructure tooling. It enables querying provider and module registries, managing HCP Terraform workspaces, and executing workspace operations like variable management and run triggers. The server supports both stdio and StreamableHTTP transports with OpenTelemetry metrics for monitoring tool usage in AI agent workflows.