svg-whiteboard-mcp
MCP server that manages in-memory SVG path canvases and provides preview URLs for rendering in a sandbox iframe via AIRI's surface contract.
README
svg-whiteboard-mcp
MCP server that keeps SVG path canvases in memory, serves a loopback HTML preview (127.0.0.1), and returns proj-airi Surface embedUrl payloads so AIRI can render chat tool results in a sandbox iframe.
Tools
| Tool | Purpose |
|---|---|
create_canvas |
New canvas → id |
delete_canvas |
Remove canvas |
list_canvases |
List ids / sizes / path counts |
add_path |
Append SVG <path> (d, stroke, fill, …) |
delete_path |
Remove path by id |
list_paths |
Inspect paths on a canvas |
present_preview |
Return structuredContent.projAiriSurface with preview URL |
proj_airi_present_surface |
Same envelope for arbitrary http(s) URLs |
Run (stdio)
pnpm install
pnpm build
node dist/index.js
MCP client config example:
{
"mcpServers": {
"svg-whiteboard": {
"command": "node",
"args": ["/absolute/path/to/svg-whiteboard-mcp/dist/index.js"]
}
}
}
Requirements
- Node 20+
- Host (e.g. Electron) must allow the renderer to load
http://127.0.0.1:*preview URLs.
Contract
structuredContent includes:
{
"projAiriSurface": {
"version": 1,
"kind": "embedUrl",
"title": "...",
"data": { "url": "http://127.0.0.1:PORT/preview/CANVAS_ID", "mimeType": "text/html" }
}
}
Aligns with @proj-airi/mcp-surface-contract in the AIRI monorepo.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.