Terraform

By thumbsupordown

The official HashiCorp Terraform MCP server connects AI agents to the Terraform ecosystem — searching provider and module documentation, reading Sentinel policies, and managing Terraform Cloud and Enterprise organizations, workspaces, runs, plans, variables, and stacks for Infrastructure-as-Code workflows.

Tools

action_run

Apply, discard, or cancel an existing Terraform run.

create_run

Create a new Terraform run inside a chosen workspace.

create_workspace

Create a new workspace in a Terraform organization.

get_latest_module_version

Retrieve the most recent version of a Terraform module.

get_latest_provider_version

Obtain the most recent version of a Terraform provider.

get_module_details

Get comprehensive information about a Terraform module.

get_plan_details

Fetch detailed metadata about a specific Terraform plan.

get_policy_details

Retrieve detailed documentation for a Sentinel policy.

get_provider_details

Retrieve full documentation for a specific provider component.

get_run_details

Get detailed information about a specific Terraform run.

get_workspace_details

Get comprehensive details about a Terraform workspace.

list_runs

List or search the runs within a Terraform workspace.

list_terraform_orgs

Fetch all Terraform Cloud/Enterprise organizations.

list_terraform_projects

Fetch all projects within a Terraform organization.

list_workspaces

Search and list workspaces in a Terraform organization.

search_modules

Find Terraform Registry modules by name or functionality.

search_policies

Locate Terraform Sentinel policies by topic or requirement.

search_providers

Locate Terraform provider documentation by service name.

Want to create your own MCP server?

Create an account to add and manage your own MCP servers.