Terraform Cloud MCP MCP Server

A Model Context Protocol (MCP) server that integrates AI assistants with the Terraform Cloud API, allowing you to manage your infrastructure through

Remote serverstreamable-httpPython

What is the Terraform Cloud MCP MCP server?

If you already use Terraform Cloud MCP, the terraform cloud mcp mcp server is the piece that lets your assistant work with it directly. A Model Context Protocol (MCP) server that integrates AI assistants with the Terraform Cloud API, allowing you to manage your infrastructure through natural.

What the server does

  • Account Management — Get account details for authenticated users or service accounts
  • Workspace Management — Create, read, update, lock/unlock workspaces, and optionally delete workspaces (with safety controls)
  • Project Management — Create, list, update projects, and optionally delete projects; manage project tag bindings and move workspaces between projects
  • Run Management — Create runs, list runs, get run details, apply/discard/cancel runs
  • Plan Management — Retrieve plan details and JSON execution output with advanced HTTP redirect handling
  • Apply Management — Get apply details and recover from failed state uploads

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — The Installation tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: TFC_TOKEN, TFC_ADDRESS, ENABLE_DELETE_TOOLS, READ_ONLY_TOOLS, YOUR_TF_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Python 3.12+ - MCP (includes FastMCP and development tools) - uv package manager (recommended) or pip - Terraform Cloud API token

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Where it fits

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Terraform Cloud MCP's toolset — Prerequisites, Installation — is a fair guide to whether it matches your workflow. It is maintained by severity1; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
InstallationThe Installation tool exposed by this server.

How to install the Terraform Cloud MCP MCP server

##### Docker Configuration:
```json
{
  "mcpServers": {
    "terraform-cloud-mcp": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "TFC_TOKEN",
        "-e", "TFC_ADDRESS",
        "-e", "ENABLE_DELETE_TOOLS",
        "-e", "READ_ONLY_TOOLS",
        "terraform-cloud-mcp:latest"
      ],
      "env": {
        "TFC_TOKEN": "your_actual_token_here",
        "TFC_ADDRESS": "https://app.terraform.io",
        "ENABLE_DELETE_TOOLS": "false",
        "READ_ONLY_TOOLS": "false"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.12+ - MCP (includes FastMCP and development tools) - uv package manager (recommended) or pip - Terraform Cloud API token
VariableDescriptionRequired
TFC_TOKENCredential the server authenticates with.Yes
TFC_ADDRESSConfiguration value read at startup.Optional
ENABLE_DELETE_TOOLSConfiguration value read at startup.Optional
READ_ONLY_TOOLSConfiguration value read at startup.Optional
YOUR_TF_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Terraform Cloud MCP to Prerequisites.
  • Use Terraform Cloud MCP to Installation.

Frequently asked questions

It connects Terraform Cloud MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Prerequisites, Installation) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Terraform Cloud MCP directly.