Terraform Cloud MCP integration
Infrastructure as code provisioning and workspace management platform
Sign in, add Terraform Cloud in Apps, then choose the account your AI can use.
Get started with Terraform Cloud
- Add Terraform Cloud to your Weavz workspace and connect the account you want to use.
- Review the available tools below and enable the actions your task needs. Check the account permissions before allowing changes.
- Connect a compatible AI client to your workspace, or use the actions API from your application.
Tools
| Name | Description |
|---|---|
List Workspaces list_workspacesList all workspaces in an organization | List all workspaces in an organization |
Get Run get_runGet details of a specific Terraform Cloud run | Get details of a specific Terraform Cloud run |
Create Run create_runQueue a new plan and apply run for a workspace | Queue a new plan and apply run for a workspace |
List Runs list_runsList runs for a workspace | List runs for a workspace |
Custom API Call custom_api_callMake a custom API call to Terraform Cloud | Make a custom API call to Terraform Cloud |
Triggers
| Name | Description |
|---|---|
Run Completed run_completedTriggers when a Terraform Cloud run reaches a terminal status (applied, errored, discarded, canceled, etc.) | Triggers when a Terraform Cloud run reaches a terminal status (applied, errored, discarded, canceled, etc.) |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('terraform-cloud', 'list_workspaces', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'terraform-cloud',
input: { /* ... */ },
})Related Integrations
Explore integrations in other categories
Frequently Asked Questions
Is there a Terraform Cloud MCP server through Weavz?
Yes. Add the Terraform Cloud integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 5 Terraform Cloud actions.
What can an AI agent do with Terraform Cloud?
Available actions include List Workspaces, Get Run, Create Run, List Runs, Custom API Call. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.
How do I connect Terraform Cloud to Claude or ChatGPT?
Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add Terraform Cloud, connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.
Can I use Terraform Cloud through an API or SDK?
Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.
What authentication does Terraform Cloud require?
The catalog lists an API key for Terraform Cloud. Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.
How do I review sensitive Terraform Cloud actions?
Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.
What limits or costs apply to Terraform Cloud?
Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.
What Terraform Cloud triggers are available?
The catalog lists 1 triggers, including Run Completed. Configure the trigger and your event handler before using incoming events to start work.
Connect Terraform Cloud in minutes
Get 20,000 free action executions every month. No credit card required.