@vertiman/mcp-dbdiagram
v1.0.0
Published
MCP server for the Dbdiagram.io API
Readme
MCPDb
An MCP (Model Context Protocol) server for the Dbdiagram.io API.
MCP Config
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"dbdiagram": {
"command": "npx",
"args": ["-y", "@vertiman/mcp-dbdiagram"],
"env": {
"DBDIAGRAM_API_TOKEN": "your-api-token",
"DBDIAGRAM_DIAGRAM_ID": "optional-default-diagram-id"
}
}
}
}DBDIAGRAM_API_TOKEN(required) — your workspace API tokenDBDIAGRAM_DIAGRAM_ID(optional) — default diagram ID used when not specified per-call
Tools
| Tool | Description |
|------|-------------|
| list_diagrams | List all diagrams in the workspace |
| get_diagram | Get a specific diagram by ID |
| create_diagram | Create a new diagram with DBML content |
| update_diagram | Update a diagram's name and/or content |
| delete_diagram | Delete a diagram |
| get_embed_link | Get the embed link for a diagram |
| create_embed_link | Create an embed link for a diagram |
| update_embed_link | Update embed link settings |
| delete_embed_link | Delete an embed link |
