Terraform by hashicorp for Terraform: safety score
B 77 Provisional Not reviewed Not tested
Terraform by hashicorp is a vendor MCP server for Terraform with 13 read, 14 write and 0 destructive tools. It does not have a read-only mode and needs to run locally; its provisional OpsMCP grade is B (77%), last checked 3 Dec 2026.
Grades are automated opinions from public data, provided as is with no warranty, and are not professional advice. Test any server yourself before production. You use it at your own risk. Read the full disclaimer.
Generate more accurate Terraform and automate workflows for HCP Terraform and Terraform Enterprise.
Tool capability partly scored. Access partly scored. 2 of 4 factors scored.
Evidence
- Latest release is v1.4.1, published 23 Oct 2026. Source Checked 3 Dec 2026.
- OSV lists CVE-2026-16498, severity critical, published 28 Jul 2026. Source Checked 3 Dec 2026.
- Last commit on the default branch (main) was 2 Dec 2026. Source Checked 3 Dec 2026.
- The README describes the Terraform MCP server, which talks to the Terraform Registry and HCP Terraform APIs for infrastructure as code. Source Checked 13 Nov 2026.
Tool names
Tool names documented in README.md. Source
Checked 13 Nov 2026.
-
delete_project -
delete_team -
delete_variable_in_variable_setDelete a variable in a variable set. -
delete_workspace_safelyDeletes a Terraform workspace by ID only if it is not managing any resources. This prevents accidental deletion of workspaces that still have active infrastructure. -
error_code -
get_apply_detailsFetches detailed information about a specific Terraform apply. -
get_plan_detailsFetches detailed information about a specific Terraform plan. -
get_plan_json_outputRetrieves the JSON output of a specific Terraform plan. This includes detailed information about resource changes (create, update, delete), attribute values before and after, an... -
get_plan_logsRetrieves the logs of a specific Terraform plan. -
get_run_details -
get_stack_details -
get_team
Show all 15 tools
-
get_token_permissionsFetches the permissions the current token has for the specified terraform organization. -
http_status -
whoamiReturns the identity of the currently authenticated Terraform token. Use this to determine which user or service account the active token belongs to.
Can it change or delete things?
It can change data. No destructive tool was found in the extracted list.
| Tool | Class |
|---|---|
add_team_member Adds a single member to a Terraform Cloud/Enterprise team. Provide either a username (accepted invites only) or an organization membership ID (accepted and pending invites), not both. Classified from the name (add). | Write |
attach_variable_set_to_workspaces Attach a variable set to one or more workspaces. Classified from the name (set). | Write |
create_project Creates a new Terraform project in the specified organization. Classified from the name (create). | Write |
create_team Creates a new team in a Terraform Cloud/Enterprise organization. Classified from the name (create). | Write |
create_variable_in_variable_set Create a new variable in a variable set. Classified from the name (create). | Write |
create_variable_set Create a new variable set in an organization. Classified from the name (create). | Write |
create_workspace Creates a new Terraform workspace in the specified organization. Classified from the name (create). | Write |
create_workspace_tags Add tags to a Terraform workspace. If a tag with the same key already exists, its value is replaced with the new value. Classified from the name (create). | Write |
create_workspace_variable Creates a new variable in a Terraform workspace. Use category terraform for Terraform input variables and env for environment variables. Set hcl to true only when the value is HCL syntax rather than a plain string. Classified from the name (create). | Write |
detach_variable_set_from_workspaces Detach a variable set from one or more workspaces. Classified from the name (set). | Write |
get_latest_module_version Fetches the latest version of a Terraform module from the public registry. Classified from the name (get). | Read |
get_module_details Fetches up-to-date documentation on how to use a Terraform module. You must call 'search_modules' first to obtain the exact valid and compatible module_id required to use this tool. Classified from the name (get). | Read |
get_policy_details Fetches up-to-date documentation for a specific policy from the Terraform registry. You must call 'search_policies' first to obtain the exact terraform_policy_id required to use this tool. Classified from the name (get). | Read |
get_private_module_details This tool retrieves detailed information about a specific private module in your Terraform Cloud/Enterprise organization. It provides inputs, outputs, dependencies, versions, usage examples, and every published submodule with its own inputs, outputs, provider dependencies, res... Classified from the name (get). | Read |
get_private_provider_details This tool retrieves information about a specific private provider in your Terraform Cloud/Enterprise organization. It provides details on how to use the provider, permissions, available versions, and more. This tool requires a valid Terraform token to be configured. Classified from the name (get). | Read |
get_sentinel_mock Exports and downloads Sentinel mock bundle data for a Terraform plan. This data can be used to test Sentinel policies against plan output. The export is asynchronous - this tool handles polling until the export is ready. Classified from the name (get). | Read |
get_state_version Retrieves a Terraform state version. If state_version_id is provided, retrieves that specific state version. Otherwise, retrieves the latest state version for the specified workspace. One of state_version_id or workspace_id must be provided. Classified from the name (get). | Read |
get_workspace_details Fetches detailed information about a specific Terraform workspace, including configuration, variables, and README content. Classified from the name (get). | Read |
grant_team_access Grants a team permission to access a workspace or a project in Terraform Cloud/Enterprise. Provide either workspace_id (for workspace-level access) or project_id (for project-level access), not both. Returns the created access grant including its ID, team ID, target resource I... | Unknown |
list_state_versions List all the state versions for a given Terraform workspace and organization. Classified from the name (list). | Read |
list_terraform_orgs Fetches a list of all Terraform organizations. Supports Pagination for large result sets. Classified from the name (list). | Read |
list_variable_sets List variable sets in an organization. Returns all variable sets when query is empty. Classified from the name (sets). | Write |
list_workspace_policy_sets annotation disagrees Read all policy sets attached to a workspace. Returns both directly attached policy sets and global policy sets that apply to all workspaces. Classified from the name (sets). | Write |
list_workspaces Search and list Terraform workspaces within a specified organization. Returns all workspaces when no filters are applied, or filters results based on name patterns, tags, or search queries. Supports pagination for large result sets. Returns a truncated summary of the workspace... Classified from the name (list). | Read |
read_workspace_tags Read all tags from a Terraform workspace. Classified from the name (read). | Read |
search_private_modules This tool searches for private modules in your Terraform Cloud/Enterprise organization. It retrieves a list of private modules that match the search criteria. This tool requires a valid Terraform token to be configured. Classified from the name (search). | Read |
update_workspace Updates an existing Terraform workspace configuration. To add or update workspace tags, use create_workspace_tags. Classified from the name (update). | Write |
update_workspace_variable Updates an existing variable in a Terraform workspace. Only the fields you provide are changed. Use list_workspace_variables to find the variable_id. Classified from the name (update). | Write |
Score
71 of 100 from the four factors. Advisory adjustment +6. Score 77. A factor that was not scored counts as 0 of its full weight.
| Factor | Points | Full weight | Status |
|---|---|---|---|
| Tool capability | 25 | 35 | Partly scored |
| Access | 6 | 25 | Partly scored |
| Maintenance | 20 | 20 | Scored |
| Publisher | 20 | 20 | Scored |
Tool capability
13 read, 14 write, 0 destructive, 1 unknown.
Access
| Part | Value | Points | Where this came from |
|---|---|---|---|
| What it can reach | unknown | unknown | unknown |
| Where it runs | Local process | 6 of 8 | Registry package transport is stdio. |
| Credentials | unknown | unknown | unknown |
Maintenance
| Part | Value | Points |
|---|---|---|
| Last code change | 1 days | 8 of 8 |
| Releases | 41 days | 6 of 6 |
| Issues | 77 closed / 91 issues (0.85) | 6 of 6 |
Publisher
| Part | Value | Points | Where this came from |
|---|---|---|---|
| Who publishes it | published by the vendor | 8 of 8 | GitHub owner 'hashicorp' is on the vendor allowlist (HashiCorp). |
| Official MCP registry | Listed | 5 of 5 | Official registry server io.github.hashicorp/terraform-mcp-server (status active). |
| License | MPL-2.0 | 4 of 4 | GitHub SPDX license MPL-2.0. |
| Stars | 1565 | 2 of 2 | 1565 GitHub stars. |
| Repository age | 593 days | 1 of 1 | Repository created 2025-04-19T19:49:09Z. |
Security advisories
Newest offered version 1.4.1 , from GitHub releases. Checked 3 Dec 2026.
Advisory adjustment +6.
| Advisory | Severity | Affected range | Patched version | Published | Adjustment |
|---|---|---|---|---|---|
| CVE-2026-14869 Newest offered version 1.4.1 is outside the affected range. Patched version 1.1.0 shipped within 14 days of publication, so the score gains 2. | high CVSS 8.6 from the vector on the OSV record | >= 0.3.0, < 1.1.0 | 1.1.0 · 14 Jul 2026 | 28 Jul 2026 | +2 |
| CVE-2026-16496 Newest offered version 1.4.1 is outside the affected range. Patched version 1.1.0 shipped within 14 days of publication, so the score gains 2. | high CVSS 8.9 from the vector on the OSV record | >= 0.3.0, < 1.1.0 | 1.1.0 · 14 Jul 2026 | 28 Jul 2026 | +2 |
| CVE-2026-16498 Newest offered version 1.4.1 is outside the affected range. Patched version 1.1.0 shipped within 14 days of publication, so the score gains 2. | critical CVSS 10.0 from the vector on the OSV record | >= 0.3.0, < 1.1.0 | 1.1.0 · 14 Jul 2026 | 28 Jul 2026 | +2 |
Grade history
| Date | Old score | New score | Reason | What changed | Evidence |
|---|---|---|---|---|---|
| 5 Nov 2026 | B, provisional, 71 out of 100 | B, provisional, 77 out of 100 | Scorer change | Scorer 2026-11-05.1. Factor weights unchanged: capability 35, access 25, maintenance 20, publisher 20. Newest offered version 1.4.1 from github-releases. Advisory adjustment CVE-2026-14869 +2, CVE-2026-16496 +2, CVE-2026-16498 +2, total +6. Score B 71 to B 77. | Public evidence |
What this score does not cover
This score is not a code audit and it is not a human review. It has not been hands-on tested. Nothing on this page is a certification.
Access needed
Environment variables: unknown. The registry entry does not list any.
Maintenance
- Archived
- no
- Last commit
- 2 Dec 2026 · f52d03d
- Latest release
- v1.4.1 · 23 Oct 2026
- Issues
- 13 open · 78 closed
- Stars
- 1,565
- License
- MPL-2.0
- Repository created
- 19 Apr 2025
npm and PyPI
- npm
- No npm package in the registry entry.
- PyPI
- No PyPI package in the registry entry.
- Maintainers
- unknown
Install
docker run docker.io/hashicorp/terraform-mcp-server:1.0.0 Badge
Sources for this listing
registry:terraformgithub:terraform mcp in:name
Get score changes by email
OpsMCP Weekly is one email each Tuesday with score changes and new security advisories for the IT MCP servers OpsMCP grades. New subscribers also get the free MCP server security checklist.
One email a week. You can unsubscribe from any issue, and we never sell your address.