Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Security-hardened Excalidraw MCP server with auth, rate limiting, and 14 tools
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"excalidraw": {
"command": "npx",
"args": [
"-y",
"excalidraw-mcp-server"
]
}
}
}在终端中运行这条命令
claude mcp add excalidraw -- npx -y excalidraw-mcp-server粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"excalidraw": {
"command": "npx",
"args": [
"-y",
"excalidraw-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"excalidraw": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"excalidraw-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 debu-sinha 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.2)于9个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Aiterm MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Persistent terminals and one launcher for Claude, Codex, Grok, Cursor, and Antigravity harnesses.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
The only Excalidraw MCP server with security hardening, inline diagram rendering, and real-time canvas sync.
Ask your AI to draw a diagram, and it appears right inside the chat. The MCP server gives Claude Desktop, ChatGPT, VS Code, and Cursor a full set of drawing tools backed by the Excalidraw format -- with API authentication, rate limiting, and input validation on every operation.
v2.0 adds MCP Apps support: diagrams stream inline as interactive SVG widgets with draw-on animations, and you can export any diagram to excalidraw.com with one click.
Standalone mode (default) -- just install and go. The server runs with an in-process element store. No canvas server, no API keys, no setup. Your MCP client calls the tools, and diagrams render inline.
Connected mode -- start the optional canvas server for real-time browser sync. Multiple clients can collaborate on the same canvas through authenticated WebSocket connections. File persistence keeps state across restarts.
The server auto-detects which mode to use: if a canvas server is reachable, it connects to it. Otherwise it falls back to standalone.
*Diagram created with excalidraw-mcp-server -- edit in Excalidraw*
MCP Apps (v2.0)
read_me tool16 MCP tools
Security
.strict() on every endpointInfrastructure
npm install -g excalidraw-mcp-server
Or run directly:
npx excalidraw-mcp-server
Just point your MCP client at the server. No canvas server needed.
{
"mcpServers": { "excalidraw": { "command": "npx", "args": ["excalidraw-mcp-server"] } } }
Then ask your AI: *"Draw an architecture diagram showing a load balancer, three app servers, and a database"*
# Generate an API key
node scripts/generate-api-key.cjs
EXCALIDRAW_API_KEY= npm run canvas
Point your MCP client at the server with the same API key:
{
"mcpServers": { "excalidraw": { "command": "npx", "args": ["excalidraw-mcp-server"], "env": { "EXCALIDRAW_API_KEY": " ", "CANVAS_SERVER_URL": "http://127.0.0.1:3000" } } } }
| Tool | Description |
|---|---|
create_view | Render elements as an inline SVG widget with streaming animations (MCP Apps) |
read_me | Get the element reference cheatsheet (types, colors, sizing tips) |
create_element | Create a single element (rectangle, ellipse, diamond, arrow, text, line, freedraw) |
update_element | Update an existing element by ID |
delete_element | Delete an element by ID |
query_elements | Search elements by type, locked status, or group ID |
get_resource | Get scene state, all elements, theme, or library |
batch_create_elements | Create up to 100 elements in one call |
group_elements | Group multiple elements together |
ungroup_elements | Remove elements from a group |
align_elements | Align elements (left, center, right, top, middle, bottom) |
distribute_elements | Distribute elements evenly (horizontal or vertical) |
lock_elements | Lock elements to prevent modification |
unlock_elements | Unlock elements |
create_from_mermaid | Convert a Mermaid diagram to Excalidraw elements |
export_scene | Export the canvas as SVG or PNG |
| Feature | Typical MCP servers | excalidraw-mcp-server |
|---|---|---|
| Authentication | None | API key (constant-time compare) |
| CORS | * wildcard | Origin allowlist |
| WebSocket auth | None | Token + origin validation |
| Rate limiting | None | Standard + strict tiers |
| Input validation | Minimal | Bounded Zod with .strict() |
| Security headers | None | Helmet.js + CSP |
| Request size limit | None | 512KB body, 1MB WebSocket |
| Audit logging | None | Structured pino logs |
All settings via environment variables. Copy .env.example to .env and adjust as needed.
| Variable | Default | Description |
|---|---|---|
STANDALONE_MODE | true | Use in-process store (no canvas server needed) |
CANVAS_HOST | 127.0.0.1 | Canvas server bind address |
CANVAS_PORT | 3000 | Canvas server port |
EXCALIDRAW_API_KEY | Auto-generated | API key for auth (min 32 chars) |
CORS_ALLOWED_ORIGINS | http://localhost:3000,http://127.0.0.1:3000 | Comma-separated origin allowlist |
RATE_LIMIT_WINDOW_MS | 60000 | Rate limit window in milliseconds |
RATE_LIMIT_MAX_REQUESTS | 100 | Max requests per window (standard tier) |
PERSISTENCE_ENABLED | false | Enable file-based persistence |
PERSISTENCE_DIR | ./data | Directory for persistent storage |
CANVAS_SERVER_URL | http://127.0.0.1:3000 | URL the MCP server uses to reach the canvas |
LOG_LEVEL | info | Log level: debug, info, warn, error |
AUDIT_LOG_ENABLED | true | Enable audit logging |
MAX_ELEMENTS | 10000 | Maximum elements on canvas |
MAX_BATCH_SIZE | 100 | Maximum elements per batch create |
Add to claude_desktop_config.json:
{
"mcpServers": { "excalidraw": { "command": "npx", "args": ["excalidraw-mcp-server"] } } }
Add to .cursor/mcp.json in your project root:
{
"mcpServers": { "excalidraw": { "command": "npx", "args": ["excalidraw-mcp-server"] } } }
Add to your MCP settings:
{
"mcpServers": { "excalidraw": { "command": "npx", "args": ["excalidraw-mcp-server"] } } }
For connected mode, add "env": { "EXCALIDRAW_API_KEY": " ", "CANVAS_SERVER_URL": "http://127.0.0.1:3000" } to the config above. Replace with the key from node scripts/generate-api-key.cjs.
# Install dependencies
npm ci
npm run dev
npm test
npm run test:coverage
npm run lint
npm run type-check
npm run build
src/
mcp/ MCP server (stdio transport) tools/ 16 tool implementations apps/ MCP Apps wiring, standalone store, cheatsheet schemas/ Zod schemas and input limits canvas-client.ts HTTP client for canvas server index.ts MCP server entry point canvas/ Canvas server (Express + WebSocket) middleware/ Auth, CORS, rate limiting, audit, security headers routes/ REST API routes + SVG export ws/ WebSocket handler and protocol store/ Element storage (memory + file) index.ts Canvas server entry point shared/ Shared config, types, logging widget/ MCP Apps inline widget (Vite + singlefile build) frontend/ Excalidraw React frontend (browser) test/ Unit and integration tests (290 tests)
Zero-config upgrade. All 14 original tools work identically -- create_view and read_me are additive. The canvas server is now optional (standalone mode activates automatically).
npm install -g excalidraw-mcp-server@2
Existing MCP client configs (stdio transport, tool names) continue to work without changes.
MIT