Terraform Cloud MCP Server (Official)
Official HashiCorp Terraform MCP server enabling AI agents to interact with Terraform Cloud and the Terraform Registry — querying workspace runs, reading resource state, accessing module documentation, and managing infrastructure workflows.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
HTTPS enforced. Team tokens with permission-based access. Infrastructure mutation requires careful scoping — read-only recommended for agents. SOC 2, ISO 27001.
⚡ Reliability
Best When
An agent needs to interact with Terraform Cloud workspaces — checking run status, reading state, or triggering infrastructure operations.
Avoid When
You're using Pulumi, CDK, or Ansible — use those platforms' integrations.
Use Cases
- • Querying Terraform workspace run status from CI/CD agents
- • Accessing Terraform Registry module documentation for IaC generation agents
- • Reading workspace state to understand current infrastructure configuration
- • Triggering Terraform plan and apply runs from deployment agents
- • Querying workspace variables and outputs for configuration agents
Not For
- • Teams using Pulumi, CDK, or other IaC tools
- • Direct cloud provider resource creation (use cloud provider MCPs)
- • Teams without Terraform Cloud (Open TF/OpenTofu users need different approach)
Interface
Authentication
User tokens for individual access; Team tokens for shared agents; Organization tokens for admin operations. Team tokens recommended for agents — scoped to team permissions.
Pricing
Free tier is generous for small teams. API access included. MCP server is open source.
Agent Metadata
Known Gotchas
- ⚠ Run operations are async — agents must poll for run completion
- ⚠ Organization name required for workspace queries — not just workspace name
- ⚠ Applying infrastructure changes via agent is high-risk — implement approval gates
- ⚠ Workspace variables can contain sensitive values — access control is critical
- ⚠ State files can be large — implement pagination for state reads
- ⚠ Terraform Registry access is separate from Terraform Cloud workspace access
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Terraform Cloud MCP Server (Official).
Scores are editorial opinions as of 2026-03-06.