Generates flowcharts, sequence diagrams, ERDs, architecture and UML diagrams from text, code, ASCII, images or Mermaid.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add ai-diagram-maker --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y ai-diagram-maker-mcp~/.codex/config.toml
[mcp_servers.ai-diagram-maker]
command = "npx"
args = ["-y", "ai-diagram-maker-mcp"]
env = { YOUR_API_KEY = "<YOUR_API_KEY>" }
# codex mcp add ai-diagram-maker --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y ai-diagram-maker-mcp~/.cursor/mcp.json
{
"mcpServers": {
"ai-diagram-maker": {
"command": "npx",
"args": [
"-y",
"ai-diagram-maker-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ai-diagram-maker": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ai-diagram-maker-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ai-diagram-maker": {
"command": "npx",
"args": [
"-y",
"ai-diagram-maker-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ai-diagram-maker": {
"command": "npx",
"args": [
"-y",
"ai-diagram-maker-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ai-diagram-maker": {
"command": "npx",
"args": [
"-y",
"ai-diagram-maker-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Environment variables
YOUR_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.