$ timeahead.in
/ servers/npm/terraform-mcp-server
npm

terraform-mcp-server

MCP server for Terraform Registry operations

120 stars777/wkupdated 411d agogithub ↗
77fair
▣ Overview

What it does

This server queries the Terraform Registry API to surface provider information, resource documentation, data source details, and module metadata. It provides 24 tools for browsing the public registry—providers, resources, data sources, and functions—and, with Terraform Cloud credentials, for managing workspaces, runs, and workspace resources. Supported operations range from read-only lookups (provider versions, resource argument details, module metadata) to state-changing calls (lock/unlock workspace, apply or cancel runs, create new runs).

Who it's for

Infrastructure engineers and DevOps practitioners writing Terraform configurations who want Claude to research providers, validate resource arguments, recommend modules, or troubleshoot Terraform Cloud runs without leaving the conversation.

Common use cases

  • Look up argument details and example usage for a Terraform resource type.
  • Search the Terraform Registry for modules matching a use case.
  • Analyze failed Terraform Cloud workspace runs for troubleshooting.
  • Generate Terraform code for migrating infrastructure between cloud providers.
  • Scaffold new resource definitions with best-practice arguments.

Setup pitfalls

  • This project is archived in favor of the official Terraform MCP server from HashiCorp; the last commit was 372 days ago and this version may diverge from current Registry and Cloud APIs.
  • Terraform Cloud tools require a valid TFC_TOKEN environment variable; registry-only tools work without authentication but are rate-limited.
  • The server supports destructive operations (lock/unlock workspace, apply runs). Ensure Claude has explicit instruction about what actions to take, and restrict the token to a limited organization if possible.
  • Classified as high-risk due to network access and state-changing capabilities.
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
65
16.3
Adoption
20%
56
11.1
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
77.4
⚿ Capabilities & Risk Explainer
networkexecsecrets
◆ Risk level: high· 24 tools · auth: API key
network + exec + secrets active — can execute code, access credentials, and make external network calls.
Tool nameDescriptionDestructive?
providerDetails✓ no
resourceUsage✓ no
moduleSearch✓ no
listDataSources✓ no
resourceArgumentDetails✓ no
+19 more tools
moduleDetails✓ no
functionDetails✓ no
providerGuides✓ no
policySearch✓ no
policyDetails✓ no
listOrganizations✓ no
privateModuleSearch✓ no
privateModuleDetails✓ no
explorerQuery✓ no
listWorkspaces✓ no
workspaceDetails✓ no
lockWorkspace✓ no
unlockWorkspace✓ no
listRuns⚠ yes
runDetails⚠ yes
createRun⚠ yes
applyRun⚠ yes
cancelRun⚠ yes
listWorkspaceResources✓ no
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "terraform": {
      "command": "npx",
      "args": [
        "-y",
        "terraform-mcp-server"
      ]
    }
  }
}
📈 Score historylast 48 snapshots
4/30/20267/6/2026 · 48 snapshots
⚙ Maintenance health
8/ 100 · is this project alive?
contributors (1y)0
top contributor share0%
releases (1y)0
last release463d ago
ci✗ none
⛁ Raw data
weekly downloads777
github stars120
forks21
open issues1
license✓ present
readme length7668 chars
last publish90d ago
last commit411d ago
last updated14h ago
install verified✓ pass · 52d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points