Terraform

10 tools. 0 can modify or destroy data without limits.

Read-only server. Low risk, but rate limits prevent runaway API costs.

Last updated:

0 can modify or destroy data
10 read-only
10 tools total

Verified server · catalogue entry verified 05/07/2026 · full schemas captured for 10 of 10 tools

How to control Terraform ↓

What Terraform exposes to your agents

Read (10) Write / Execute (0) Destructive / Financial (0)

What Terraform costs in tokens

923 tokens of tool definitions, loaded on every request
0.5% of a 200k context window
128 heaviest tool: resourceArgumentDetails

What can go wrong

Even read-only tools carry cost. An agent in a retry loop can make thousands of API calls per minute, exhausting rate limits and running up bills.

How to control Terraform

PolicyLayer is an MCP gateway — it sits between your AI agents and Terraform, and nothing reaches the server without passing your rules. These are the rules we recommend:

Cap read operations
{
  "functionDetails": {
    "limits": [
      {
        "counter": "functiondetails_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Terraform — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON TERRAFORM →

Instant setup, no code required.

All 10 Terraform tools

Questions about Terraform

Is the Terraform MCP server safe to use without restrictions? +

The Terraform server is primarily read-only with 10 read tools. While it cannot modify data, an agent in a retry loop can make thousands of API calls per minute, exhausting rate limits and running up costs. Rate limiting is still recommended.

How many tools does the Terraform MCP server expose? +

10 tools across 1 categories: Read. 10 are read-only. 0 can modify, create, or delete data.

How do I enforce a policy on Terraform? +

Register the Terraform MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Terraform tool call.

Deterministic rules across all 10 Terraform tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

10 Terraform tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.