Terraform MCP Server
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 dual transport modes (Stdio and StreamableHTTP), integrates with the public Terraform Registry for providers and modules, and offers full workspace management including creation, updates, and run management via HCP Terraform and Terraform Enterprise APIs.
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
- Interact with the public Terraform Registry for providers and modules
- Monitor tool usage via OpenTelemetry metrics
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
hashicorp/terraform-mcp-server@sha256:11dd418bba6003dd5777e9d0979b68de59929a155b355f338f407947e00e9d80
{
"transport": "stdio",
"identifier": "hashicorp/terraform-mcp-server@sha256:11dd418bba6003dd5777e9d0979b68de59929a155b355f338f407947e00e9d80",
"registryType": "oci",
"registryBaseUrl": "https://registry-1.docker.io"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
get_latest_module_version
{
"type": "",
"required": null,
"properties": null
}get_latest_provider_version
{
"type": "",
"required": null,
"properties": null
}get_module_details
{
"type": "",
"required": null,
"properties": null
}get_policy_details
{
"type": "",
"required": null,
"properties": null
}get_provider_capabilities
{
"type": "",
"required": null,
"properties": null
}get_provider_details
{
"type": "",
"required": null,
"properties": null
}search_modules
{
"type": "",
"required": null,
"properties": null
}search_policies
{
"type": "",
"required": null,
"properties": null
}search_providers
{
"type": "",
"required": null,
"properties": null
}Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server@sha256:11dd418bba6003dd5777e9d0979b68de59929a155b355f338f407947e00e9d80"
]
}
}
}Cline
{
"mcpServers": {
"terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server@sha256:11dd418bba6003dd5777e9d0979b68de59929a155b355f338f407947e00e9d80"
]
}
}
}VS Code
{
"servers": {
"terraform-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server@sha256:11dd418bba6003dd5777e9d0979b68de59929a155b355f338f407947e00e9d80"
]
}
}
}Claude Desktop
{
"mcpServers": {
"terraform-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server@sha256:11dd418bba6003dd5777e9d0979b68de59929a155b355f338f407947e00e9d80"
]
}
}
}Let your agent find its tools
Find servers like Terraform MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.