hashicorp/terraform-mcp-server
The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
What it solves
This project provides a bridge between AI assistants (LLMs) and Terraform's ecosystem. It allows AI agents to interact with the Terraform Registry and HCP Terraform/Terraform Enterprise APIs, enabling them to automate Infrastructure as Code (IaC) development and manage cloud resources more effectively.
How it works
It implements the Model Context Protocol (MCP), which is a standard for connecting AI models to external data and tools. The server can be deployed as a local process (Stdio transport) or as a remote service (StreamableHTTP transport). Once connected to an MCP-compatible client (like VS Code, Cursor, or Claude Desktop), the AI assistant can use the server's tools to query provider details, manage workspaces, and interact with the Terraform Registry.
Who it’s for
DevOps engineers, platform engineers, and developers using Terraform for infrastructure management who want to integrate AI-driven automation into their IaC workflows.
Highlights
- Dual Transport Support: Supports both Stdio and StreamableHTTP for flexible deployment.
- Registry Integration: Direct access to public Terraform Registry APIs for providers, modules, and policies.
- HCP Terraform Support: Full management capabilities for workspaces, organizations, and private registries.
- Workspace Operations: Ability to create, update, and delete workspaces, including variable and run management.
- Observability: Integration with OpenTelemetry (OTel) to track tool-call volume, latency, and failures.
関連
- プロジェクト
- プロジェクト
- プロジェクト
- プロジェクト
- プロジェクト