Terraform
The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
MCP configuration
Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.
{
"mcpServers": {
"terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"-p",
"8080:8080",
"--rm",
"-e",
"TRANSPORT_MODE=streamable-http",
"-e",
"TRANSPORT_HOST=0.0.0.0",
"hashicorp/terraform-mcp-server"
]
}
}
}Use this in your own environment. Copying text here does not run it.
How to use it
- Open the listing page and read the server's documentation.
- Copy the configuration or command into your MCP client.
- Restart the client and try one of the server's tools.