mcp-terraform

Automate Terraform workflows including plan, apply, validate, and manage state and workspaces via MCP server.

1|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/JimmyPaolini/monorepo --skill mcp-terraform
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-terraform
Source: https://github.com/JimmyPaolini/monorepo/tree/main/documentation/skills/mcp-terraform
Command: npx skills add https://github.com/JimmyPaolini/monorepo --skill mcp-terraform

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates Terraform infrastructure workflows that are typically manual.

Core Features & Use Cases

  • Plan, apply, and validate Terraform configurations using the MCP server
  • Manage Terraform state and workspaces across environments
  • Generate infrastructure documentation and facilitate drift detection and rollback

Quick Start

Use MCP Terraform to initialize, plan, and apply your infrastructure in a single workflow.

Frequently Asked Questions about mcp-terraform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Terraform plan and apply workflows across multiple environments?

You can automate Terraform plan and apply workflows across multiple environments using a centralized MCP server that enforces initialization, validation, formatting, and workspace management in a single workflow.

Can I manage Terraform state and workspaces without running CLI commands manually?

Yes, you can manage Terraform state and workspaces without manual CLI commands by routing state operations and workspace commands through the MCP Terraform server specification.

What is the best way to validate Terraform configurations before applying infrastructure changes?

The best way to validate Terraform configurations is using an MCP server that enforces validation and formatting checks before executing plan or apply operations in your infrastructure workflow.

Does Terraform MCP support drift detection and rollback for infrastructure state?

Yes, the Terraform MCP server supports drift detection and rollback by managing state operations centrally, allowing you to identify and revert infrastructure configuration changes.

Do I need to initialize Terraform before using MCP server commands?

Yes, the MCP Terraform server requires and enforces initialization before executing any plan, apply, validate, or state management operations on your infrastructure configurations.

Can I generate infrastructure documentation automatically from Terraform configurations?

Yes, you can generate infrastructure documentation automatically from Terraform configurations using the MCP server, which facilitates documentation generation alongside planning and applying workflows.