TerraVision
Lets your AI agent draw cloud architecture diagrams with official AWS, Azure and GCP icons from a prompt or Terraform code.
1.7k stars on GitHubby Patrick ChughLicense AGPL-3.0Updated 24 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add terravision -- uvx --from "terravision[mcp]" terravision mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Draw an AWS three-tier app: React on CloudFront, ECS Fargate behind an ALB in two AZs, SQL Server on RDS Multi-AZ.
Draw the architecture of the Terraform in ./infra.
What it is
TerraVision draws cloud architecture diagrams that show resources inside their VPCs, subnets and zones, using official cloud icons. You can describe an architecture in plain words or point it at Terraform code. It can also write Terraform from a diagram. It runs on your own computer and needs no cloud access.
What it can do
- Draw a diagram from a plain-language description
- Draw a diagram of what your Terraform will deploy
- Write Terraform from a TerraVision diagram
- Export PNG, SVG and editable draw.io files
- Make an interactive HTML version of a diagram
- GitHub Action to redraw diagrams in CI
When to use
- βΊWhen you need an architecture diagram for a design review.
- βΊWhen you want a diagram of Terraform code without access to the cloud account.
- βΊWhen you want diagrams in your docs to update whenever the Terraform changes.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
terraform-module-libraryEnables your agent to use production-ready Terraform module patterns for AWS, Azure, and GCP. It helps build cloud infrastructure efficiently and reliably.senior-devopsHelps your agent build CI/CD pipelines, write Terraform infrastructure files and manage releases on AWS, GCP or Azure.terraform-module-libraryHelps your agent build reusable code blocks for managing cloud infrastructure. This makes it easier and faster to set up servers and services on platforms like AWS, Azure, or Google Cloud.Frequently asked questions
Is it free?
Yes, the readme describes it as a free, open-source diagram generator.
Does it need access to my cloud account?
No. It draws from the Terraform code alone, using terraform plan, so the infrastructure does not need to exist.
Which clouds are supported?
AWS, Azure and Google Cloud.
Which apps can use it?
Claude Desktop (as an extension), the ChatGPT desktop app, Claude Code, Codex CLI, GitHub Copilot, Cursor and other MCP clients.
Where do the diagrams go?
In Claude Code they are saved in a diagrams folder in your project. In Claude Desktop they appear in the chat.
Does it run locally?
Yes. The readme says it runs on your own computer and is 100 percent client-side.
If it does not work
- βΊInstall Graphviz and Git, then open a new terminal and restart your AI app so they see the new programs.
- βΊIf Claude Code shows TerraVision failed to connect on first start, choose Reconnect or pre-install with uvx --from terravision[mcp] terravision --version.
- βΊAsk the assistant Is TerraVision set up correctly? to see what is missing.
5 new skills a week. 1 minute to read.