Skip to main content
Feedback

Terraform MCP connector

Terraform Cloud is HashiCorp's platform for managing infrastructure as code through workspaces, runs, and state management. The Terraform MCP connector allows AI agents to list and configure workspaces, trigger and monitor infrastructure runs, and manage variable sets across environments. It also supports retrieving run details, accessing workspace state, and coordinating infrastructure deployments across teams.

Authentication type

  • API Key - Requires a static API key to be configured before the agent can connect to the service.

Uses

Use the Terraform MCP connector to perform the following actions:

  • Audit infrastructure deployments across all Terraform Cloud workspaces in your organization
  • Identify which teams manage specific cloud resources and infrastructure projects
  • Monitor active workspace configurations to enforce standardized deployment policies
  • Track Terraform run history to verify compliance with change management procedures
  • Discover unused or dormant workspaces to optimize cloud costs and licensing
  • Generate infrastructure inventory reports for governance and disaster recovery planning
  • Validate workspace naming conventions and tagging standards across your organization

Example prompts

Use the following example prompts to invoke Terraform MCP connector tools from your AI assistant or Boomi Connect workflow:

  • Show me all workspaces in our Terraform Cloud organization.
  • List every workspace we have and which team owns each one.
  • Find workspaces that haven't had any runs in the last 30 days.
  • Display all Terraform workspaces and their current state.
  • Give me a complete inventory of our infrastructure workspaces.
  • Which workspaces are connected to our production environment.
  • Show me all workspaces and their most recent deployment status.
  • List Terraform workspaces so we can audit our cloud infrastructure.
  • Find all workspaces in Terraform Cloud that our DevOps team manages.
  • Display workspace names and their associated projects for compliance review.

Terraform MCP connector tools

The Terraform MCP connector provides the following tools. Each tool maps to a specific action you can invoke from your AI agent or automation.

ToolDescription
terraform_terraformlistworkspaces_invokeRetrieves a list of all available workspaces in Terraform.
On this Page