Back to all blog posts

Introducing the Terramate MCP Server

Picture of Soren Martius
Sören Martius Chief Product Officer
Portrait of Chris Schagen
Chris Schagen Chief Executive Officer
selina nazareth
Selina Nazareth Developer Relations Manager
Reading Time:2 min read

The Terramate MCP Server connects AI tools directly to Terramate's platform. This gives AI agents, assistants, and chatbots the ability to ask questions about your infrastructure, troubleshoot deployment errors, and remediate drift and misconfigurations with the power of AI, all through natural language interactions.

Introducing Terramate MCP Server Cover

At Terramate, we believe Infrastructure as Code enables innovation and plays a fundamental role in the cloud-native era. That’s why we are building Terramate, the Infrastructure as Code development platform that helps teams to organize, transform and rapidly speed up their Terraform and OpenTofu projects.

As part of the rise of AI-native IDEs such as Claude Code, Cursor, or Zed, it becomes more relevant to bring the right context into those IDEs. To enable those workflows, we just released the Terramate MCP (Model Context Protocol) Server.

The Terramate MCP Server enables you to integrate context from your Terramate Cloud organization, including Pull Request Previews, Deployments, Alerts for drift and policy violations, and Asset Inventory, into your IDE to facilitate better AI-driven workflows.

Built for developers who want to connect their AI tools to Terramate context and capabilities, from simple natural language queries to complex multi-step agent workflows.

What You Can Do With MCP

The Terramate MCP Server unlocks valuable use cases by allowing developers to work with Terramate using natural language. To mention a few:

  • 💬 Chat with your code base: You can now discover and understand stacks and resources available in a repository.
  • 🔍 Drift Detection: View drift runs and retrieve Terraform plan outputs for AI-assisted reconciliation.
  • 🔀 Preview Integration: Review terraform plans for all stacks in PRs/MRs before merging and deploying.
  • 🚢 Deployment Tracking: Monitor CI/CD deployments, view Terraform and OpenTofu logs to debug failures.
  • 🛠 Fix Misconfigurations: Fix policy misconfigurations directly inside your IDE with AI.
  • 📊 Reporting Use Case: Create reports about your Terramate projects in your IDE using natural language.

For a demo, please watch the video below.


Play

Try it out

The Terramate MCP Server is now available as an open-source project at https://github.com/terramate-io/terramate-mcp-server. Currently, you must run it locally with Docker, then follow our installation instructions and start interacting with your environments directly from your IDE. In the future, we will integrate the MCP Server directly into Terramate Cloud.

The MCP Server is currently under heavy development, with new features being added regularly. Stay tuned for future updates and workflow enhancements.

Ready to supercharge your IaC?

Explore how Terramate can uplift your IaC projects with a free trial or personalized demo.