GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Draw cloud architecture diagrams with official AWS, Azure and GCP icons from a prompt or Terraform.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"terravision": {
"command": "uvx",
"args": [
"terravision",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add terravision -- uvx terravision mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"terravision": {
"command": "uvx",
"args": [
"terravision",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"terravision": {
"type": "stdio",
"command": "uvx",
"args": [
"terravision",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub patrickchugh ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.56.1) เข้า registry 6 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
TerraVision is an AI-powered CLI tool that converts Terraform code into Professional Cloud Architecture Diagrams and solves the problem of keeping the most important document in cloud projects, the architecture diagram, up to date. With high velocity releases the norm now, code is the new source of truth so machine generated architecture diagrams are more accurate than relying on the freestyle diagram drawn by the cloud architect that probably doesn't match the reality of what is actually deployed in the cloud anymore.
TerraVision securely runs 100% Client Side without any dependency or access to your Cloud environment, dynamically parses your conditionally created resources and variables and generates an automatic visual of your architecture. TerraVision is designed to be a 'Docs as Code' (DaC) tool that can be included in your CI/CD pipeline to update architecture diagrams after your build/test/release pipeline phases and supplement other document generators like readthedocs.io alongside it.
Turn this...
into this...
⚠️ Alpha Software Notice
This software is still in alpha testing and code is shared on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Use at your own risk.
TerraVision seamlessly integrates into your CI/CD pipeline to automatically keep architecture diagrams synchronized with your infrastructure code:
graph TD
A[Developer Commits Terraform Code] --> B[Git Push] B --> C[CI/CD Pipeline Triggered] C --> D[Build Stage] D --> E[Test Stage] E --> F[Terraform Plan] F --> G[🎨 TerraVision Generate Diagrams] G --> H[Deploy Stage] H --> I[Update Docs] I --> J[Publish to Confluence/ReadTheDocs]
style G fill:#ff9900,stroke:#232f3e,stroke-width:3px,color:#fff style A fill:#4a90e2,stroke:#2e5c8a,stroke-width:2px,color:#fff style J fill:#36b37e,stroke:#1f7a54,stroke-width:2px,color:#fff
--aibackend ollama) # macOS
brew install graphviz
sudo apt-get install graphviz
# Most systems have git pre-installed
git --version
# Verify installation
terraform version
# Clone the repository
git clone https://github.com/patrickchugh/terravision.git cd terravision
pip install -r requirements.txt
chmod +x terravision.py
ln -s $(pwd)/terravision.py $(pwd)/terravision
export PATH=$PATH:$(pwd)
For Windows:
# Clone the repository
git clone https://github.com/patrickchugh/terravision.git cd terravision
pip install -r requirements.txt
echo @python "%~dp0terravision.py" %* > terravision.bat
copy terravision.bat C:\Windows\System32\
# MacOS or Linux users - Install Poetry if not already installed
curl -sSL https://install.python-poetry.org | python3 -
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
git clone https://github.com/patrickchugh/terravision.git cd terravision poetry install
source $(poetry env info --path)/bin/activate
ln -s $(pwd)/terravision.py $(pwd)/terravision
export PATH=$PATH:$(pwd)
# Basic usage - analyze current directory
terravision draw
terravision draw --source ~/src/my-terraform-code
terravision draw --source ~/src/my-terraform-code --workspace production
terravision draw --source ~/src/my-terraform-code --varfile prod.tfvars
terravision draw --source ~/src/my-terraform-code --format svg terravision draw --source ~/src/my-terraform-code --format pdf
terravision draw --source ~/src/my-terraform-code --show
terravision draw --source ~/src/my-terraform-code --aibackend bedrock terravision draw --source ~/src/my-terraform-code --aibackend ollama
# Analyze Git repository
terravision draw --source https://github.com/your-repo/terraform-examples.git
terravision draw --source https://github.com/your-repo/terraform-examples.git//aws/vpc
# Export resource relationships as JSON
terravision graphdata --source ~/src/my-terraform-code
terravision graphdata --source ~/src/my-terraform-code --show_services
terravision graphdata --source ~/src/my-terraform-code --outfile my-resources.json
# Add your own custom annotations such as labels, resources or new connections
terravision draw --source https://github.com/your-repo/terraform-examples.git --annotate ./custom-annotations.yml
# Export and reuse graph data
terravision graphdata --source ~/src/terraform --outfile graph.json
terravision draw --source ./graph.json terravision draw --source ./graph.json --format svg
terravision draw --source /your_source_files --debug # createas a tfdata.json in current folder terravision draw --source tfdata.json
# Enable debug output for troubleshooting and which will dump all state info into tfdata.json
terravision draw --source ~/src/my-terraform-code --debug
TerraVision can use AI models to automatically refine and improve your architecture diagrams by fixing resource groupings, adding missing connections, and ensuring proper AWS architectural conventions.
Uses AWS Bedrock API via API Gateway for cloud-based AI refinement.
# Use Bedrock backend (default)
terravision draw --source ~/src/my-terraform-code --aibackend bedrock
Configuration: Edit modules/cloud_config.py to set your Bedrock API endpoint:
BEDROCK_API_ENDPOINT = "https://your-api-id.execute-api.us-east-1.amazonaws.com/prod/chat"
Uses a local Ollama server for privacy-focused, offline AI refinement.
# Use Ollama backend
terravision draw --source ~/src/my-terraform-code --aibackend ollama
Setup:
# Start Ollama (runs automatically on macOS/Linux after install)
ollama serve
ollama pull llama3
export OLLAMA_KEEP_ALIVE=1h
3. Edit `modules/cloud_config.py` to set your Ollama server (default is localhost):
OLLAMA_HOST = "http://localhost:11434"
The AI models use specialized prompts defined in modules/cloud_config.py:
TerraVision includes Terraform code to deploy a serverless AWS Bedrock proxy with API Gateway:
# Navigate to the Terraform directory
cd ai-backend-terraform
cp terraform.tfvars.example terraform.tfvars
terraform init terraform apply
terraform output api_endpoint
Infrastructure Components:
Terraform Variables:
variable "bedrock_modตัดมาแค่ช่วงต้น อ่านต่อใน repo