HashiCorp Terraform MCP Server

HashiCorp's official MCP server for Terraform — gives agents access to the Terraform Registry to discover providers and modules, read documentation, and assist with infrastructure-as-code authoring.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Developer Tools terraform hashicorp mcp official infrastructure-as-code providers modules registry
⚙ Agent Friendliness
86
/ 100
Can an agent use this?
🔒 Security
86
/ 100
Is it safe for agents?
⚡ Reliability
84
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
85
Documentation
88
Error Messages
80
Auth Simplicity
100
Rate Limits
80

🔒 Security

TLS Enforcement
100
Auth Strength
80
Scope Granularity
75
Dep. Hygiene
88
Secret Handling
90

No credentials required for public registry access — minimal attack surface. HTTPS enforced. Official HashiCorp project with security practices appropriate for infrastructure tooling. Read-only access eliminates write-path risks.

⚡ Reliability

Uptime/SLA
88
Version Stability
85
Breaking Changes
82
Error Recovery
80
AF Security Reliability

Best When

Your agent generates or reviews Terraform infrastructure code and needs accurate, current provider schema and module documentation. Prevents hallucinated resource attributes.

Avoid When

You need to actually run Terraform — this is documentation/discovery only. For execution, combine with terraform-cloud-api or local Terraform CLI.

Use Cases

  • Agents discovering and selecting Terraform providers for infrastructure requirements
  • Looking up Terraform module documentation and examples from the registry
  • Generating Terraform configurations with accurate provider schema knowledge
  • Browsing available resource types and their required arguments
  • Assisting with Terraform code generation with up-to-date API knowledge

Not For

  • Executing Terraform plans or applies (read-only registry access)
  • Managing Terraform Cloud workspaces (use terraform-cloud-api)
  • Real-time infrastructure state inspection (use Terraform state files)

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: none
OAuth: No Scopes: No

No authentication required for registry read access. Terraform Registry is publicly accessible. Optional token for private module registries or higher rate limits.

Pricing

Model: open_source
Free tier: Yes
Requires CC: No

MIT licensed, free. Terraform Registry public API is free. HashiCorp Business Source License applies to Terraform itself, but this MCP server is MIT.

Agent Metadata

Pagination
cursor
Idempotent
Full
Retry Guidance
Not documented

Known Gotchas

  • Registry data is cached — very recent provider versions may not appear immediately
  • Provider documentation quality varies significantly by provider/community maintenance
  • Module schema and resource attributes can be complex — agents may need to query sub-resources
  • Not a Terraform executor — cannot validate or apply configurations
  • Official server covers registry access only; actual Terraform execution requires separate tooling

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for HashiCorp Terraform MCP Server.

$99

Scores are editorial opinions as of 2026-03-06.

5190
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered