hashicorp

    hashicorp/terraform-mcp-server

    The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.

    automation
    Go
    MPL-2.0
    1.6K stars
    200 forks
    1.6K GitHub watchers
    Updated Oct 30, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    4 releases in the last 90 days, the latest 7 days ago, with 30 contributors on GitHub.

    Gained 56% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a Model Context Protocol server integrating Terraform Registry APIs for enhanced Infrastructure as Code automation and interaction.
    • Enables seamless querying and retrieval of Terraform providers, modules, and policies with support for multiple transport protocols and session modes.
    • Use for automating Terraform provider and module discovery within CI/CD pipelines to streamline infrastructure deployments.
    • Use for integrating Terraform Registry data into AI-assisted development environments like VS Code or Amazon Q for contextual code suggestions.
    • Use for deploying a containerized MCP server to enable remote, scalable Infrastructure as Code management with HTTP streaming support.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Mozilla Public License 2.0

    Weak copyleft: changes to the licensed code itself must be shared when you distribute it, but code that merely uses it can stay under your own license.

    Community files

    • README: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    The Terraform MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Terraform Registry APIs, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.

    Caution: The outputs and recommendations provided by the MCP server are generated dynamically and may vary based on the query, model, and the connected MCP server. Users should thoroughly review all outputs/recommendations to ensure they align with their organization's security best practices, cost-efficiency goals, and compliance requirements before implementation.

    Security Note: When using the StreamableHTTP transport in production, always configure the MCP_ALLOWED_ORIGINS environment variable to restrict access to trusted origins only. This helps prevent DNS rebinding attacks and other cross-origin vulnerabilities.

    Excerpt from the hashicorp/terraform-mcp-server README on GitHub (MPL-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    200+15

    Open issues

    34-19

    Compared with peers in Automation

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    hashicorp/terraform-mcp-server compared with Automation repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    D4Vinci/Scrapling98.1K+6.9K651 day ago
    Panniantong/Agent-Reach109.3K+3.0K604 days ago
    lexmount/moli22.7K+1.2K552 days ago
    superplanehq/superplane8.8K+435607 days ago
    hashicorp/terraform-mcp-server1.6K—547 days ago
    Category median22.7K+3.0K60—

    Also by hashicorp

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description