Terraform MCP
The Terraform MCP Server provides seamless integration with the Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development. It supports direct integration with public Terraform Registry APIs for providers, modules, and policies, as well as full workspace management, organization/project listing, and private registry access for HCP Terraform and Terraform Enterprise.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Manage Terraform workspaces including create, update, and delete operations
- List organizations and projects in HCP Terraform or Terraform Enterprise
- Access public Terraform Registry for providers, modules, and policies
- Automate Infrastructure as Code development workflows via MCP clients
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
docker.io/hashicorp/terraform-mcp-server:1.4.1
{
"transport": "stdio",
"identifier": "docker.io/hashicorp/terraform-mcp-server:1.4.1",
"runtimeHint": "docker",
"registryType": "oci",
"runtimeArguments": [
{
"name": "-e",
"type": "named",
"value": "TFE_ADDRESS={address}",
"variables": {
"address": {
"format": "string",
"default": "https://app.terraform.io"
}
},
"description": "HCP Terraform or Terraform Enterprise base URL."
},
{
"name": "-e",
"type": "named",
"value": "TFE_TOKEN={token}",
"variables": {},
"description": "HCP Terraform or Terraform Enterprise API token used to authenticate requests."
},
{
"name": "-e",
"type": "named",
"value": "ENABLE_TF_OPERATIONS={enabled}",
"variables": {
"enabled": {
"format": "boolean",
"default": "false"
}
},
"description": "Set to true to enable tools that execute Terraform operations requiring explicit approval."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"terraform-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.4.1"
]
}
}
}Cline
{
"mcpServers": {
"terraform-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.4.1"
]
}
}
}VS Code
{
"servers": {
"terraform-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.4.1"
]
}
}
}Claude Desktop
{
"mcpServers": {
"terraform-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/hashicorp/terraform-mcp-server:1.4.1"
]
}
}
}Let your agent find its tools
Find servers like Terraform MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.