MCP Directory

hashicorp/terraform-mcp-server

GitHub
Cloud

The official Terraform MCP Server seamlessly integrates with the Terraform ecosystem, enabling provider discovery, module analysis, and direct Registry API integration for advanced Infrastructure as Code workflows.

Direct install

Run the underlying MCP server directly — without Agent-CoreX routing.

npx -y terraform-mcp-server

Use with Agent-CoreX

Agent-CoreX intelligently routes which tools from hashicorp/terraform-mcp-server your AI agent actually needs per request — reducing token usage and cost.

agent-corex.json

{
  "mcpServers": {
    "terraform-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "terraform-mcp-server"
      ]
    }
  }
}

Route hashicorp/terraform-mcp-server intelligently

Connect in 2 minutes. Only pay for the tools your agent actually uses.

Installation Guide

Use with Agent-CoreX

Recommended: intelligent tool routing, lower costs

uvx agent-corex mcp add terraform-mcp-server

Agent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.

Direct Install

Use hashicorp/terraform-mcp-server directly without routing

npx -y terraform-mcp-server

New to Agent-CoreX? View setup guide →

hashicorp/terraform-mcp-server MCP Server — Agent-CoreX