Feedback

MCP Infrastructure as Code Assistant

@guilhermeyoshida Claim

Basic information

Runtime
python
License
MIT license
Transports
stdio
Author
guilhermeyoshida
Submitted by
Community
Quality
20
Stars
1

About MCP Infrastructure as Code Assistant Server

An MCP server for managing infrastructure as code using Terraform

MCP Infrastructure as Code Assistant is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by guilhermeyoshida. Supported transport: stdio. Runtime: python. License: MIT license. The repository has 1 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mcp-terraform-assistant": {
            "command": "uv",
            "args": [
                "pip",
                "install",
                "-e",
                "."
            ]
        }
    }
}

MCP Infrastructure as Code Assistant config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-terraform-assistant": {
            "command": "uv",
            "args": [
                "pip",
                "install",
                "-e",
                "."
            ]
        }
    }
}

MCP Infrastructure as Code Assistant tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Infrastructure as Code Assistant?

It is an MCP server for managing infrastructure as code with Terraform. It provides tools to initialize, plan, apply, destroy, validate, show state, and manage workspaces for Terraform configurations.

How to use MCP Infrastructure as Code Assistant?

Install using Python 3.8+ and Terraform 1.5.7+, either locally via uv or using Docker Compose. Start the server with python main.py or docker-compose up -d, then use the MCP CLI to call tools like mcp terraform_init or mcp terraform_apply.

Key features of MCP Infrastructure as Code Assistant

  • Initialize Terraform working directories
  • Generate and show execution plans
  • Apply and destroy infrastructure changes
  • Validate Terraform configurations
  • Show current state or saved plans
  • Manage Terraform workspaces

Use cases of MCP Infrastructure as Code Assistant

  • AI-assisted Terraform infrastructure provisioning
  • Automating Terraform workflows in CI/CD pipelines
  • Managing multiple Terraform workspaces on the command line
  • Validating Terraform configurations before deployment
  • Applying changes to infrastructure with auto-approve

Frequently asked questions

1 What are the prerequisites?

Python 3.8 or higher and Terraform 1.5.7 or higher are required. Docker and Docker Compose are optional for containerized usage.

2 How do I install the server?

You can install locally using uv (pip install -e .) or run via Docker Compose. See the installation section in the README.

3 What tools are available?

Tools include terraform_init, terraform_plan, terraform_apply, terraform_destroy, terraform_validate, terraform_show, terraform_workspace_list, and terraform_workspace_select.

4 How do I use it with an AI agent?

Start the MCP server, then connect using an MCP client. The AI agent can then perform Terraform operations via the available tools.

5 Does the server include example configurations?

Yes, the repository includes an example Terraform configuration for an AWS EC2 instance and additional examples in the examples directory.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬