How to install GitDiagram in VS Code
To install GitDiagram in VS Code, click "Add to VS Code" on this page or add the "gitdiagram" block under "servers" in .vscode/mcp.json, then pick it in Copilot Chat agent mode.
Built from the published package · server updated 5 days ago
- 1
One click (fastest)
Click the button to open VS Code with this server ready to install.
Add GitDiagram to VS Code - 2
Or add it by hand
Create .vscode/mcp.json and paste this. Note that VS Code uses "servers", not "mcpServers".
{ "servers": { "gitdiagram": { "url": "https://gitdiagram.com/mcp" } } } - 3
Start it in Copilot Chat
Open Copilot Chat in Agent mode and pick the server from the tools menu.
Config file: .vscode/mcp.json in your workspace
MCP servers run with your permissions. If GitDiagram needs an API key, add it under env in the config. Check its README.
Install GitDiagram in another app
Similar servers
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Questions
Does GitDiagram work in VS Code?
Yes. VS Code supports local and remote mcp servers in copilot agent mode, and GitDiagram installs with the steps above.
GitDiagram does not show up in VS Code. What now?
Restart VS Code fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is GitDiagram safe?
It scores 100 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
