# Terraform MCP Server

[BASE product page](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/>) · [Resource](<https://github.com/hashicorp/terraform-mcp-server>)

ID: github\-com\-hashicorp\-terraform\-mcp\-server · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

An official HashiCorp MCP for Terraform Registry and HCP Terraform APIs: provider/module search, documentation, and infrastructure context\.

## Type

MCP tools for developers

## Entry type

mcp

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-access>)

You can use the code under the stated license; servers, APIs, and compute must be provided separately\.

## [Paid features and costs](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-access>)

MPL\-2\.0 applies to the MCP; Terraform/HCP, cloud resources, and the AI client have separate terms\.

## [Access and limitations](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-access>)

You can use the code under the stated license; servers, APIs, and compute must be provided separately\. MPL\-2\.0 applies to the MCP; Terraform/HCP, cloud resources, and the AI client have separate terms\.

## [Use cases](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-tasks>)

- Request current provider/module documentation and compare it with the configuration\.
- Prepare a Terraform plan and check the workspace, state, and impact on resources before apply\.

## Category IDs

- infrastructure
- integrations

## Subcategory IDs

- infrastructure\.cicd
- integrations\.code

## Tags

- Terraform MCP Server
- hashicorp
- MCP

## Also known as

- hashicorp/terraform\-mcp\-server

## [Selection purpose](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-selection>)

Request current provider/module documentation and compare it with the configuration\.

## [Choose this when](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-selection>)

- Request current provider/module documentation and compare it with the configuration\.
- Prepare a Terraform plan and check the workspace, state, and impact on resources before apply\.

## [Requirements](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-selection>)

- Determine whether only Registry or HCP workspace access is needed; prepare HCP settings for the latter\.

## [Limitations](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-selection>)

- Costs and limits of free use: MPL\-2\.0 applies to the MCP; Terraform/HCP, cloud resources, and the AI client have separate terms\.
- Terms of use: MPL\-2\.0 for Terraform MCP Server code; licenses for Terraform, HCP, and cloud products must be checked separately\.
- Workspace management tools can create, change, and delete objects; the server cannot be considered universally read\-only\.

## [Questions before use](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-faq>)

### What can you use for free in Terraform MCP Server?

You can use the code under the stated license; servers, APIs, and compute must be provided separately\.

### What additional costs might arise with Terraform MCP Server?

MPL\-2\.0 applies to the MCP; Terraform/HCP, cloud resources, and the AI client have separate terms\.

### What terms of use matter for Terraform MCP Server?

MPL\-2\.0 for Terraform MCP Server code; licenses for Terraform, HCP, and cloud products must be checked separately\.

### How do you get started with Terraform MCP Server?

Request current provider/module documentation and compare it with the configuration\. Prepare a Terraform plan and check the workspace, state, and impact on resources before apply\. Compare the result with the workflow's goal; after changing the project, run its standard checks\.

### Is an HCP Terraform token needed for every documentation search?

Terraform Registry search and HCP Terraform management are different server components\. For HCP, configure TFE\_TOKEN and, if necessary, TFE\_ADDRESS; in HTTP mode, TFE\_ADDRESS is set by the server environment rather than a client request\.

## Sources for the selection guide

- [https://github\.com/hashicorp/terraform\-mcp\-server](<https://github.com/hashicorp/terraform-mcp-server>)
- [https://raw\.githubusercontent\.com/hashicorp/terraform\-mcp\-server/main/README\.md](<https://raw.githubusercontent.com/hashicorp/terraform-mcp-server/main/README.md>)
- [https://raw\.githubusercontent\.com/hashicorp/terraform\-mcp\-server/main/LICENSE](<https://raw.githubusercontent.com/hashicorp/terraform-mcp-server/main/LICENSE>)

## [Possible workflow](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-scenario>)

Official HashiCorp MCP for Terraform Registry and HCP Terraform APIs

A possible workflow; this is not a report of hands-on testing.

## Before you start

- An IaC project, provider versions, and HCP workspace if needed\.

## Steps

1. Request current provider/module documentation and compare it with the configuration\.
2. Prepare a Terraform plan and check the workspace, state, and impact on resources before apply\.
3. Compare the result with the workflow's goal; after changing the project, run its standard checks\.

## Check your result

- The plan reflects the required changes; the workspace and provider version match\.
- Check connection permissions and dependency terms; confirm external service costs if the workflow requires them\.

## [License](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-license>)

MPL\-2\.0 for Terraform MCP Server code; licenses for Terraform, HCP, and cloud products must be checked separately\.

## License explanations for the specified scope

### MPL 2\.0 — file\-level copyleft

You can use the code in a commercial product and combine it with closed\-source files\. When distributing it, make the source code of MPL\-covered files available, including your changes to those files, and retain notices\. Independent new files can remain closed\-source\. Internal use alone does not require publishing the code\.

[License terms](<https://www.mozilla.org/en-US/MPL/2.0/FAQ/>)

## [Sources](<https://base.akulich.dev/en/library/github-com-hashicorp-terraform-mcp-server/#resource-sources>)

- [Official repository](<https://github.com/hashicorp/terraform-mcp-server>)
- [Documentation](<https://raw.githubusercontent.com/hashicorp/terraform-mcp-server/main/README.md>)
- [License](<https://raw.githubusercontent.com/hashicorp/terraform-mcp-server/main/LICENSE>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The README and license were reviewed against public primary sources on 2026\-10\-06\. The code was not installed or run; applicability depends on the project and client versions\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
