Glyphic
@glyphicjs/mcp-server
The official Model Context Protocol server for Glyphic. It lets MCP-capable clients — Claude Desktop, Cursor, and others — generate diagrams as a native tool: the model emits JSON, the tool renders it, and the image comes back inline.
Setup
The server runs over stdio via npx — no global install. Add this entry to
your client's MCP config:
{
"mcpServers": {
"glyphic": {
"command": "npx",
"args": ["-y", "@glyphicjs/mcp-server"]
}
}
}Most clients use exactly that; the difference is where the config lives and a couple of key names:
Client | Config location | Notes |
Claude Desktop |
| Fully quit (⌘Q) and reopen. |
Claude Code | — |
|
Cursor |
| Enable under Settings → MCP. |
VS Code |
| Top-level key is |
Windsurf |
| Reload servers from Cascade. |
Antigravity |
| Or Manage MCP Servers → View raw config. |
See the full MCP guide for the exact per-client JSON. Restart the client, then just ask:
"Draw an ERD for a blog: users, posts, and comments with the right relationships."
The model calls render_diagram, the diagram is saved locally, and the PNG is returned in the conversation.
Related MCP server: AI Charts
Tools
Tool | Description |
| Returns the full JSON Schema of a diagram input, so the model knows every supported type and field. |
| Validates the supplied |
Rendered files are written to ~/Desktop/Glyphic Diagrams/ (<title>_<timestamp>.png / .svg / _react_flow.json), so the model can tell the user exactly where to find them.
Notes
Input is validated with
@glyphicjs/schemabefore rendering — malformed model output comes back as a clean, fixable error rather than a crash, and error messages never leak stack traces.Choose outputs with
exportFormatin the diagram JSON, e.g."exportFormat": ["png", "svg", "react-flow"](defaults to["png"]).
See the full MCP guide and the diagram types reference.
License
MIT
Maintenance
Tools
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MS-Teja/Glyphic'
If you have feedback or need assistance with the MCP directory API, please join our Discord server