terraform-mcp-server
The Terraform MCP Server provides seamless integration with the Terraform ecosystem, enabling advanced automation and interactive capabilities for IaC development.
- Type
- MCP
- Open source
- Yes
- GitHub Stars
- ★ 1.4k
- Source
- mcp-github
Overview
The Terraform MCP Server is a Model Context Protocol (MCP) server that offers seamless integration with the Terraform Registry API, supporting advanced automation and interactive capabilities for Infrastructure as Code (IaC) development. It supports dual transport protocols (Stdio and StreamableHTTP) and integrates with Terraform Registry, HCP Terraform, and Terraform Enterprise. Users can create, update, and delete workspaces, and manage variables, tags, and runs through this server. It also supports OpenTelemetry for metrics monitoring. Ideal for developers and teams requiring IaC automation and management.
Capabilities
- ▪Supports Stdio and StreamableHTTP transport protocols
- ▪Direct integration with Terraform Registry API
- ▪Supports HCP Terraform and Terraform Enterprise
- ▪Workspace management: create, update, delete
- ▪Supports variable, tag, and run management
- ▪OpenTelemetry metrics monitoring
Use cases
Setup
Ensure Docker is installed and running, then start the container using the following command: `docker run -p 8080:8080 -e TFE_TOKEN=<your_token> hashicorp/terraform-mcp-server`
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How is the Terraform MCP Server configured?
Configured via environment variables, such as `TFE_TOKEN` and `TRANSPORT_MODE`.
What transport protocols are supported?
Supports Stdio and StreamableHTTP transport protocols.
Does it support private registries?
Yes, it supports private registries for HCP Terraform and Terraform Enterprise.
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
private-gpt
Provides a complete API layer for local models, supporting RAG, skills, tools, and more.
planning-with-files
File-based persistent planning skill, ideal for AI coding agents and long-running tasks.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.