drawx-mcp-server
v0.1.1Generate draw.io diagrams and architecture designs from natural language, via the DrawX API.
Values you need
| Variable | What it is | |
|---|---|---|
DRAWX_API_KEY | required secret | Your DrawX API key (create one at https://getdrawx.com → Settings → API keys; starts with drawx_live_). |
DRAWX_API_BASE | optional | Override the DrawX API base URL (defaults to https://getdrawx.com/api/v1). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add drawx-mcp-server -e 'DRAWX_API_KEY=<DRAWX_API_KEY>' -- npx -y --package=@drawx/mcp-server@0.1.1 drawx-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"drawx-mcp-server": {
"args": [
"-y",
"--package=@drawx/mcp-server@0.1.1",
"drawx-mcp"
],
"command": "npx",
"env": {
"DRAWX_API_KEY": "<DRAWX_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"drawx-mcp-server": {
"args": [
"-y",
"--package=@drawx/mcp-server@0.1.1",
"drawx-mcp"
],
"command": "npx",
"env": {
"DRAWX_API_KEY": "<DRAWX_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "DRAWX_API_KEY",
"id": "drawx-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"drawx-mcp-server": {
"args": [
"-y",
"--package=@drawx/mcp-server@0.1.1",
"drawx-mcp"
],
"command": "npx",
"env": {
"DRAWX_API_KEY": "${input:drawx-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.drawx-mcp-server]
command = "npx"
args = ["-y", "--package=@drawx/mcp-server@0.1.1", "drawx-mcp"]
env = { "DRAWX_API_KEY" = "<DRAWX_API_KEY>" }For AI agents
- Ask the user for: DRAWX_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: generate_diagram, architect_design, whoami.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json