API & MCP

Everything a person can do on Terraform Plan & Drift Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Terraform Plan & Drift Explorer

Paste the JSON of a saved plan (`terraform show -json tfplan`) or the `terraform plan -json` stream. You get counts per action, every resource change with Terraform's own reason (tainted, cannot update, removed from config…), attribute-level before/after diffs with sensitive values masked and "known after apply" marked, the drift Terraform detected outside of Terraform during refresh, and risk flags for deleting or replacing databases, buckets and other stateful resources or for opening access.

Inputs of Terraform Plan & Drift Explorer
FieldTypeDefaultDescription
texttextarea—Terraform plan JSON. Run `terraform plan -out=tfplan && terraform show -json tfplan` (full detail) or paste `terraform plan -json` output (actions and reasons only, no attribute values).
filefile—Or upload the file. Read in memory as UTF-8 text and not stored. Max 5 MiB.
showNoOpbooleanfalseList unchanged (no-op) resources too

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "terraform-drift-explorer": { "type": "http", "url": "https://terraformdriftexplorer.usefulweb.site/mcp" }
  }
}