Terraform Cloud MCP Server
by severity1
A Model Context Protocol (MCP) server that integrates AI assistants with the Terraform Cloud API, allowing you to manage your infrastructure through natural conversation. It's built with Pydantic models and structured around domain-specific modules.
Last updated: N/A
What is Terraform Cloud MCP Server?
This is a Model Context Protocol (MCP) server designed to bridge the gap between AI assistants and the Terraform Cloud API. It enables users to interact with and manage their Terraform Cloud infrastructure using natural language through platforms like Claude, Cursor, and Copilot Studio.
How to use Terraform Cloud MCP Server?
To use this server, you need to install it, configure it with your Terraform Cloud API token, and then add it to your MCP-compatible platform (e.g., Claude Code CLI, Claude Desktop). The README provides detailed installation and configuration instructions for various platforms.
Key features of Terraform Cloud MCP Server
Account Management
Workspace Management (CRUD, Lock/Unlock)
Run Management (Create, List, Apply/Discard/Cancel)
Plan Management (Retrieve Details and JSON Output)
Apply Management (Get Apply Details, Recover Failed States)
Organization Management (CRUD, View Entitlements)
Use cases of Terraform Cloud MCP Server
Managing Terraform Cloud infrastructure through natural language conversations.
Automating Terraform Cloud tasks using AI assistants.
Integrating Terraform Cloud with various AI platforms like Claude, Cursor, and Copilot Studio.
Troubleshooting and recovering from failed Terraform Cloud applies.
FAQ from Terraform Cloud MCP Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a protocol that allows AI assistants to interact with external tools and services.
What platforms are supported?
What platforms are supported?
The server is compatible with any MCP-supporting platform including Claude, Claude Code CLI, Claude Desktop, Cursor, Copilot Studio, and others.
What are the prerequisites for installation?
What are the prerequisites for installation?
You need Python 3.12+, MCP (includes FastMCP and development tools), uv
package manager (recommended) or pip
, and a Terraform Cloud API token.
How do I add the server to Claude Desktop?
How do I add the server to Claude Desktop?
You need to create a claude_desktop_config.json
file with the correct command, arguments, and environment variables, as described in the README.
Where can I find more detailed documentation?
Where can I find more detailed documentation?
The codebase includes comprehensive documentation in the docs/
directory, including development standards, coding guidelines, and usage examples.