Skip to content

Release history

hashicorp/terraform-mcp-server releases

The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.

All releases

12 shown

v0.5.1 New feature
Notable features
  • --toolsets flag for tool groups
  • --tools flag for individual tools
  • Policy set management tools
Full changelog

0.5.1

FEATURES

  • [New Tool] list_workspace_policy_sets Read all policy sets attached to a workspace

  • [New Tool] attach_policy_set_to_workspaces Attach a policy set to one or more workspaces

  • Toolsets Flag: Added --toolsets flag to selectively enable tool groups. Three toolset groups are available: registry (public Terraform Registry), registry-private (private TFE/TFC registry), and terraform (TFE/TFC operations). Default is registry only.

  • Individual Tools Flag: Added --tools flag to enable specific tools by name for fine-grained control. Accepts comma-separated list of tool names with validation and security checks.

  • Added get_token_permissions tool to allow listing permissions for current token.

  • Added Stacks support with list_stacks and get_stack_details tools.

FIXES

  • Skip TLS flag was not propogated properly 243
  • Change Dockerfile CMD to ENTRYPOINT 246
  • Truncate large responses in list_ tools to top level summaries
  • Embedd pagination information in list_ responses

IMPROVEMENTS

  • Return input validation errors as Tool Execution Errors instead of Protocol Errors
v0.5.0 New feature
Notable features
  • get_plan_json_output
  • get_plan_details
  • get_plan_logs
Full changelog

0.5.0

FEATURES

  • [New Tool] get_plan_json_output Retrieves the structured JSON output of a Terraform plan, providing detailed resource changes in a machine-readable format that is easier to parse than plain logs
  • [New Tool] get_plan_details Fetches detailed metadata about a specific Terraform plan
  • [New Tool] get_plan_logs Retrieves the execution logs of a specific Terraform plan
  • [New Tool] get_apply_details Fetches detailed metadata about a specific Terraform apply
  • [New Tool] get_apply_logs Retrieves the execution logs of a specific Terraform apply

IMPROVEMENTS

  • Add Authorization: Bearer header support for Terraform token in proxy environments
  • Add --heartbeat-interval CLI flag and MCP_HEARTBEAT_INTERVAL env var for HTTP heartbeat in load-balanced environments
  • Set custom User-Agent header for TFE API requests to enable tracking MCP server usage separately from other go-tfe clients 268
  • Adding a new cli flags --log-level to set the desired log level for the server logs and --log-format for the logs formatting 286
  • Add OpenTelemtry instrumentation for tool call metrics - tool call count, tool error count and tool call latency 300

FIXES

  • list_runs was returning empty response due to JSON marshalling error
v0.4.0 New feature
Notable features
  • --toolsets flag for tool groups
  • --tools flag for individual tools
  • Policy set management tools
Full changelog

0.4.0

FEATURES

  • [New Tool] list_workspace_policy_sets Read all policy sets attached to a workspace

  • [New Tool] attach_policy_set_to_workspaces Attach a policy set to one or more workspaces

  • Toolsets Flag: Added --toolsets flag to selectively enable tool groups. Three toolset groups are available: registry (public Terraform Registry), registry-private (private TFE/TFC registry), and terraform (TFE/TFC operations). Default is registry only.

  • Individual Tools Flag: Added --tools flag to enable specific tools by name for fine-grained control. Accepts comma-separated list of tool names with validation and security checks.

  • Added get_token_permissions tool to allow listing permissions for current token.

  • Added Stacks support with list_stacks and get_stack_details tools.

FIXES

  • Skip TLS flag was not propogated properly 243
  • Change Dockerfile CMD to ENTRYPOINT 246
  • Truncate large responses in list_ tools to top level summaries
  • Embedd pagination information in list_ responses

IMPROVEMENTS

  • Return input validation errors as Tool Execution Errors instead of Protocol Errors
v0.3.3 New feature
Notable features
  • Search Terraform List Resources documentation
Full changelog

0.3.3 (Nov 21, 2025)

IMPROVEMENTS

  • Adding support for searching Terraform List Resources documentation
v0.3.2 New feature
Notable features
  • get_provider_capabilities tool
  • create_no_code_workspace tool
Full changelog

0.3.2 (Oct 23, 2025)

FEATURES

  • [New Tool] get_provider_capabilities Adding provider capability discovery tool to analyze available resources, data sources, functions, guides, and actions

  • [New Tool] create_no_code_workspace Adding capability to trigger a workspace run using a no code module

FIXES

  • Added a module id validator to fix issue 182
  • Fixes in readme for TFE_HOSTNAME v/s TFE_ADDRESS

IMPROVEMENTS

  • Added official MCP Registry Server JSON Specification file server.json to the repo. See #200
v0.3.1 New feature
Notable features
  • Gemini extension support
Full changelog

0.3.1 (Oct 3, 2025)

FEATURES

  • Adding Gemini extension. See 189

IMPROVEMENTS

  • Adding support for searching Terraform Actions documentation

FIXES

  • Minor fixes to example configuration for VS Code, Cursor, etc.
v0.3.0 New feature
Notable features
  • HCP Terraform and TFE authentication
  • Workspace management tools
  • Private registry support
Full changelog

0.3.0 (Sep 24, 2025)

FEATURES

  • Adding tools for working with workspaces in HCP Terraform and TFE.
  • Authentication for HCP Terraform & TFE and restructure the repo. See #121 See #145
  • Adding 2 new HCP TF/TFE tools for admins. List Terraform organizations & projects. See #121
  • Adding 4 new HCP TF/TFE tools for private registry support. See #142
  • Adding 3 HCP TF/TFE tools for workspace variables support. See #170
  • Adding 2 new HCP TF/TFE tools for workspace tags. See #171
  • Adding 4 new HCP TF/TFE tools for creating Terraform runs. See #159
  • Adding 6 new HCP TF/TFE tools for Variable Sets. See #174

IMPROVEMENTS

  • Changes to tool names to be more consistent. See #121
  • Implement dynamic tool registration. See #121
  • Implement pagination utility. See #121
  • Updating mark3labs/mcp-go and hashicorp/tfe-go versions. See #121
  • Adding instructions to the server. See #156
  • Implementing TLS for the http mode of the MCP server. See #168
  • Implemented rate limiting with the MCP server. See #155
  • Enabled explicit approval for certain tools. See #172
  • Improved README with one-click install badges for VSCode/VSCode Insiders/Cursor. See #173

FIXES

  • Fixing paths using in-built library instead of string manipulation. See #143
  • Explicitly setting destructive annotation to false. See #143

SECURITY

  • Rename TFE_SKIP_TLS_VERIFY environment variable and fix GitHub Action security issue. See #164
  • Update go version from 1.24.6 to 1.24.7
v0.2.3 New feature
Notable features
  • User agent identification for Terraform registry calls
Full changelog

0.2.3 (Aug 13, 2025)

FEATURES

  • User agent to identify calls made to the Terraform registry. See 133
  • Adding Issue templates, GitHub workflows and golang version. See 134

FIXES

  • run-http command in makefile is fixed. See 132
v0.2.2 New feature
Notable features
  • Tools for getting latest provider and module versions
Full changelog

0.2.2 (Aug 5, 2025)

FEATURES

  • 2 New tools, get latest provider and module versions. See #122

IMPROVEMENTS

  • Restructure the codebase, changes too tool names from camelCase to snake_case. See #118
  • Change tool names to be more consistent. See #123

FIXES

  • Enhanced provider documentation tool. See #120
  • StreamableHttp endpoint customization, thanks to @sachinmalanki. See #116
v0.2.1 Security relevant
Security fixes
  • CORS support with strict default mode
  • Stateless streamable HTTP mode
Full changelog

0.2.1 (July 11, 2025)

SECURITY

  • Added support for CORS (strict, development, disabled), default mode is strict. See #108
  • Added support for CORS allowed origins, default is empty. See #108
  • Added support for stateless streamable HTTP mode, see #108

IMPROVEMENTS

  • Improved the HTTP retry to the registry. See #109
v0.2.0 Mixed
Security fixes
  • Docker base image updated to scratch
Notable features
  • Streamable HTTP support
  • Policy documentation search
  • Enhanced provider and module documentation
Full changelog

0.2.0

SECURITY

  • Updated Docker base image to scratch for smaller, more secure production images.
  • Integrated security scanning (CodeQL, security scanner) and improved CI workflows for better code quality and vulnerability detection.
  • Update golang stdlib version to 1.24.4

FEATURES

  • Added support for publishing Docker images to Amazon ECR
  • Added support for searching and getting documentation for policies from the Terraform Registry
  • Enhanced toolset for resolving provider documentation, fetching provider docs, searching modules, and retrieving module details from the Terraform Registry.
  • Added support for Streamable HTTP, see #99

IMPROVEMENTS

  • Migrated to stretchr/testify for more robust test assertions and refactored test structure for maintainability.
  • Improved and expanded README with installation, usage, and development instructions.
  • Refined GitHub Actions workflows for more reliable builds, security scanning, and dependency management.
  • Updated and pinned dependencies for improved reliability and security.
  • Upgraded mcp-go from 0.27.0 to 0.32.0 to support streamable HTTP, update how tool arguments are accesseed. see #99
  • Updated e2e test to accomodate both stdio and HTTP mode, improve test report by adding test name and improve clean up process. see #99

FIXES

  • Fixed function names and improved documentation links for better usability.
  • Addressed issues with CI security scanner and permissions.
  • Corrected Go module name in go.mod for compatibility.

Beta — feedback welcome: [email protected]