Server detail
The terraform-mcp-server bridges the gap between LLMs and the Terraform ecosystem by exposing the Terraform Registry and provider metadata as standardized tools. Instead of relying on the model's training data—which is often outdated regarding specific resource arguments or provider versions—this server allows the AI to query live Registry APIs for accurate provider discovery and module analysis. For developers, this means significantly fewer hallucinations when generating HCL code and a streamlined workflow for discovering the correct resources for a given cloud provider. It integrates directly into any MCP-compliant client, turning your AI assistant into a real-time IaC consultant that understands the current state of your infrastructure dependencies.
An MCP server that exposes hashicorp/terraform-mcp-server capabilities to MCP-compatible AI clients.
Collections featuring this MCP
Tool testing
hashicorp-terraform-mcp-server
Call the MCP capabilities provided by hashicorp/terraform-mcp-server and return a structured result.
inputPass arguments according to the server tool schema.Connection modes
{
"mcpServers": {
"hashicorp/terraform-mcp-server": {
"url": "Generated by the provider after deployment"
}
}
}The Remote endpoint is generated by the provider after deployment; this page does not fabricate an unusable endpoint.
No npm package is recorded. Open the source repository to complete command and args.If no npm package is registered, follow the installation method in the source repository.
How to use
- 01Step 1
Review server capabilities and permission scope.
- 02Step 2
Copy the install command or JSON configuration.
- 03Step 3
Run a small connection test in your client.
- 04Step 4
Adopt it long term only after reviewing access and maintenance.
Discussions
Use this space to keep checking source information, usage experience and maintenance status.
Open source page