TerraVision
MCP server by patrickchugh Community
Converts Terraform code into cloud architecture diagrams that can be regenerated as the code changes. Aimed at architects and DevOps teams who want diagrams kept current in CI/CD pipelines. AWS is fully supported and GCP and Azure are partially supported.
Install TerraVision
Built from the published package, never by AI.
claude mcp add terravision -- uvx terravisionRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"terravision": {
"args": [
"terravision"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"terravision": {
"args": [
"terravision"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"terravision": {
"args": [
"terravision"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add terravision -- uvx terravision{
"mcpServers": {
"terravision": {
"args": [
"terravision"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add terravision uvx terravisionGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the terravision block.
About
TerraVision is an AI-assisted command line tool that converts Terraform code into cloud architecture diagrams. It works from the Terraform plan rather than the remote state file, so it does not need access to a cloud account or running infrastructure. It handles conditionally created resources and variable files, and it downloads external modules. Diagrams can be exported as SVG or PDF, and it can also export resource relationships as JSON.
The project is built as docs as code. It can run in a CI/CD pipeline after the build and test stages to update diagrams automatically. Teams can add a YAML annotation file to include unmanaged resources or external systems that are not in the Terraform code. It is intended for cloud architects and platform teams who need diagrams that match what is deployed. The project is alpha software and is provided as is.
Written from the project's README and checked against it.
What you need
- Python 3.10+
- Terraform 1.x
- Git
- Graphviz
- Ollama (optional, only for the ollama AI backend)
Try asking
- Draw an architecture diagram from my Terraform code in ~/src/my-terraform-code
- Generate a PDF diagram of the production workspace using prod.tfvars
- Export the resource relationships from my Terraform code as JSON
Good to know
- Alpha software, provided as is without warranties.
- AWS has full support. Google Cloud and Azure have partial support.
- The default AI backend is AWS Bedrock, which requires deploying the included Terraform proxy.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Generate AWS architecture diagrams from Terraform code
- Keep architecture docs current in CI/CD pipelines
- Create diagram variants from different tfvars files
Alternatives to TerraVision
All alternatives →Appllama gives AI assistants research on top-grossing mobile apps, plus a build bar for native-feeling Expo and React Native screens. It suits developers building mobile apps with AI assistants.
Creates, edits and exports editable designs for AI assistants through the CoDesign MCP server, built on IMG.LY's CE.SDK design engine. It suits social teams, agencies and designers who need posters, social posts, videos and print layouts.
Pascal 3D Editor lets AI agents inspect, edit, validate, and save editable 3D building scenes through an MCP server. It is aimed at architecture, engineering, construction, and operations teams. Local use needs no Pascal account.
Agent-Native Design is the Design agent in Agent-Native, an open-source TypeScript framework. It generates and refines interactive designs with agent help. The same actions serve both the agent and the UI.
Draws and edits draw.io diagrams on a live browser canvas for AI agents such as Claude Code, Cursor and VS Code. It suits people who want to draw diagrams with AI and keep editing them by hand.
Framelink MCP for Figma gives coding assistants access to your Figma files. It supplies design data so the assistant can implement designs in any framework, mainly for use with Cursor.
Compare with Appllama, codesign or Pascal 3D Editor
TerraVision: common questions
Does TerraVision need access to my cloud account?
No. The source says it runs client side and works from your Terraform plan, so it does not need access to your cloud environment or credentials.
Can TerraVision run in a CI/CD pipeline?
Yes. The source describes it as a docs as code tool that can run after build, test and release stages to update architecture diagrams.
Which cloud providers are supported?
AWS is listed as fully supported with 200+ services. Google Cloud Platform and Microsoft Azure are listed as partially supported.
How do I install TerraVision?
In Claude Code run claude mcp add terravision -- uvx terravision. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is TerraVision the official server?
TerraVision is a community project by patrickchugh, not verified by a company domain.
Is TerraVision free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is TerraVision safe to use?
It scores 88 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to TerraVision?
Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.
Does TerraVision work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
