A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

MCP server for DiagramAI
An MCP server that integrates with DiagramAI, letting AI agents manage diagrams through tools for creating, retrieving, updating, deleting, and listing diagrams, plus adding nodes and edges.
WHAT IT DOES
- •Creates, retrieves, updates, and deletes diagrams through dedicated tools.
- •Adds nodes and edges to diagrams and lists accessible diagrams.
- •Exposes diagram lists, project structure, and real-time diagram state as resources.
- •Supports checking diagram state and metadata.
BEST FOR
- •AI agents that need to author and maintain diagrams in a DiagramAI instance.
- •Building flowcharts or node-based diagrams programmatically with nodes and edges.
ABOUT MCP-SERVER-DIAGRAMAI
MCP server for DiagramAI is cataloged as an MCP server attributed to padsterh2012. An MCP server that integrates with DiagramAI, letting AI agents manage diagrams through tools for creating, retrieving, updating, deleting, and listing diagrams, plus adding nodes and edges. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for MCP server for DiagramAI are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
上游原版 README
README.md · 8b91f8c78c04 · 采集于 2026-11-13 11:32:38 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
mcp-server-diagramai
An MCP server implementation for DiagramAI integration, enabling AI agents to create, read, edit, and delete diagrams in real-time.
Features
Resources
- Expose diagram list and project structure
- Real-time diagram state access
- Project-based organization
Tools
- create_diagram: Create new diagrams with specified content
- get_diagram: Retrieve diagram by ID
- update_diagram: Modify existing diagrams
- delete_diagram: Remove diagrams
- add_node: Add nodes to diagrams
- add_edge: Add connections between nodes
- list_diagrams: Get all accessible diagrams
- get_diagram_status: Check diagram state and metadata
Installation
From npm (Recommended)
npm install -g mcp-server-diagramai
From source
git clone https://github.com/PadsterH2012/mcp-server-diagramai.git
cd mcp-server-diagramai
npm install
npm run build
Usage with Claude Desktop
Configuration File
Paths to Claude Desktop config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Published Package Configuration
{
"mcpServers": {
"diagramai": {
"command": "npx",
"args": [
"mcp-server-diagramai",
"--api-url", "${DIAGRAMAI_API_URL}",
"--api-key", "${DIAGRAMAI_API_KEY}"
]
}
}
}
Development Configuration
{
"mcpServers": {
"diagramai": {
"command": "/PATH/TO/node",
"args": [
"/PATH/TO/mcp-server-diagramai/dist/index.js"
],
"env": {
"DIAGRAMAI_API_URL": "http://localhost:3000",
"DIAGRAMAI_API_KEY": "your-api-key-here"
}
}
}
}
Environment Variables
Create a .env file or set environment variables:
# DiagramAI API Configuration
DIAGRAMAI_API_URL=http://localhost:3000
DIAGRAMAI_API_KEY=your-api-key-here
# Optional: WebSocket URL (if different from API URL)
DIAGRAMAI_WS_URL=ws://localhost:3000
# Optional: Request timeout (milliseconds)
REQUEST_TIMEOUT=30000
# Optional: Enable debug logging
DEBUG=false
API Key Setup
- Access DiagramAI Settings: Navigate to your DiagramAI instance settings
- Generate API Key: Create a new API key with appropriate permissions
- Configure MCP: Add the API key to your Claude Desktop configuration
Required Permissions
diagrams:create- Create new diagramsdiagrams:read- Read diagram contentdiagrams:update- Modify diagramsdiagrams:delete- Delete diagramsprojects:read- Access project information
Available Tools
Diagram Management
// Create a new diagram
create_diagram({
title: "My Flowchart",
type: "reactflow", // or "mermaid"
content: {...}, // Diagram content
projectId?: "project-uuid"
})
// Get diagram by ID
get_diagram({
diagramId: "diagram-uuid"
})
// Update existing diagram
update_diagram({
diagramId: "diagram-uuid",
title?: "New Title",
content?: {...}
})
// Delete diagram
delete_diagram({
diagramId: "diagram-uuid"
})
// List all diagrams
list_diagrams({
projectId?: "project-uuid",
limit?: 10
})
Node and Edge Operations
// Add node to diagram
add_node({
diagramId: "diagram-uuid",
node: {
id: "node-1",
type: "process",
position: { x: 100, y: 100 },
data: { label: "Process Step" }
}
})
// Add edge between nodes
add_edge({
diagramId: "diagram-uuid",
edge: {
id: "edge-1",
source: "node-1",
target: "node-2"
}
})
Development
Building
npm run build
Running in Development
npm run dev
Testing
npm test
Troubleshooting
Common Issues
Connection Failed
- Verify DiagramAI is running and accessible
- Check API URL and port configuration
- Ensure API key is valid and has required permissions
Authentication Errors
- Verify API key format (should start with
da_) - Check API key permissions in DiagramAI settings
- Ensure API key hasn't expired
Tool Execution Errors
- Check diagram ID format (should be valid UUID)
- Verify user has access to the specified diagram
- Check network connectivity to DiagramAI instance
Debug Mode
Enable debug logging by setting DEBUG=true in your environment variables.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Support
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for DiagramAI from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-diagramai)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related media design MCP Servers
Alternative and complementary servers in the same category

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.
