drawx mcp server for VS Code
io.github.saharshpamecha/drawx-mcp-server
Generate draw.io diagrams and architecture designs from natural language, via the DrawX API.
client:VS Code
transport:stdio
runtime:npm
Install drawx mcp server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "drawx-api-key",
"description": "DRAWX_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "drawx-api-base",
"description": "DRAWX_API_BASE",
"password": true
}
],
"servers": {
"drawx-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@drawx/mcp-server"
],
"env": {
"DRAWX_API_KEY": "${input:drawx-api-key}",
"DRAWX_API_BASE": "${input:drawx-api-base}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs