Rayzia MCP
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Rayzia MCP — an MCP server that drives a real SVG editor
Rayzia is a free online SVG/vector editor. This MCP server lets an AI agent (Claude Code, Claude Desktop, or any MCP client) drive the running editor: draw with real tools, edit the artwork already on the canvas, read scene state back, and render PNGs so the model can see its own work.
Unlike generate-only servers that write an SVG file and hand it over, this one gives the agent a full observe-and-act loop on a live canvas — and the human watches every operation land, with each step one undo away.
Docs: rayzia.com/mcp · Editor: rayzia.com/vector
MCP client ──stdio JSON-RPC──▶ server.mjs ──SSE /events──▶ browser bridge
▲ │
└──────── POST /reply ───────┘
browser bridge ──▶ editor host facade ──▶ engine (runs in a worker)Zero npm dependencies — Node ≥16 built-ins only. The HTTP bridge binds to
127.0.0.1 and every operation carries a per-browser capability token.
Quickstart — the in-app way (recommended)
The editor has the browser side built in:
Open the editor at rayzia.com/vector.
Open the AI Assistant panel → settings (gear) → Claude Code (local).
Copy the SKILL.md the pane generates — it embeds this server's code, your browser's capability token and the bridge port. Give it to Claude Code; it saves the server file and registers it as an MCP server:
claude mcp add rayzia \ --env AI_MCP_PORT=<port> --env AI_MCP_TOKEN=<token> \ -- node /absolute/path/to/rayzia-mcp-server.mjsClick Connect. The status dot turns green. Type in Claude Code directly, or chat from the panel by telling Claude Code to "listen for Rayzia panel prompts".
Related MCP server: Excalidraw MCP Server
Quickstart — any MCP client
Run the editor in a browser and connect the bridge (in-app Connect as above, or paste
bridge.jsinto the editor's DevTools console).Point your MCP client at the server over stdio:
{ "mcpServers": { "rayzia": { "command": "node", "args": ["/absolute/path/to/server.mjs"], "env": { "AI_MCP_PORT": "8765", "AI_MCP_TOKEN": "<token>" } } } }
Diagnostics go to stderr (stdout is the JSON-RPC channel). Default bridge
port is 8765, override with AI_MCP_PORT.
Tools
Tool | Purpose |
| Discover everything the editor exposes: semantic verbs with param schemas, 533 raw commands, 69 effects, 57 tools. Call it first. |
| Read the scene: selection, all objects (recursed into groups) with ids, bounding boxes and paints, plus active tool, document size and view. |
| High-level verbs: shapes, text (area / on-path / vertical / per-character), gradients, blends, warps, ~200 live path effects, filters, lock/hide, asset library, batch. One undo step each. |
| Draw with a real tool via synthetic input: Pen paths or freehand strokes, with modifier keys for shape-builder punches and mesh edits. |
| Escape hatch: any raw engine command by name. File/document ops are deny-listed at the engine boundary. |
| Export the current document as a round-trip-safe SVG string. |
| Render the canvas to a PNG (MCP image block) so the model can see its work. |
| Long-poll for the next prompt the user types in the editor's AI Assistant panel. |
| Post a short assistant reply back into that panel. |
Security
The server binds to
127.0.0.1only, and rejects requests whoseHostheader is not loopback (closes the DNS-rebinding drive path).Every operation carries a capability token (
AI_MCP_TOKEN) generated once per browser; the editor bridge rejects ops with a mismatched token, so a rogue local process squatting the port cannot drive the canvas.File and document operations (save / open / new / import) are deny-listed at the engine boundary.
Connecting is opt-in from the editor's side. The panel
/promptinbox is token-authenticated too, so a local web page cannot inject prompts.
Do not expose the bridge port beyond localhost.
Self-test
_selftest.mjs spawns the server, waits for a browser bridge, then drives the
full round-trip (initialize → tools/list → get_catalog → createShape →
addGradient → get_state → get_svg):
AI_MCP_PORT=8791 node _selftest.mjsExpect SELFTEST PASS.
License
MIT © 2026 Rayzia
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create and edit architecture diagrams from your AI agent; get an SVG and a live editable canvas.
Agent-Native design tool - create and edit visual designs with agent assistance
Lets AI assistants draw: logos, posters, illustrations and scenes, as editable SVG and PNG.
AI video editor your agent can drive: plan scenes, edit a multi-track timeline, and render MP4s.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to programmatically control a live Excalidraw canvas through element-level CRUD operations and real-time synchronization. It allows agents to iteratively build, inspect, and refine diagrams while providing visual feedback via screenshots and scene descriptions.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to programmatically control a live Excalidraw canvas with element-level CRUD operations and real-time synchronization. It supports iterative diagramming through scene descriptions, screenshots, and advanced layout tools for collaborative AI-human workflows.2MIT
- AlicenseAqualityDmaintenanceEnables AI agents to vectorize raster images and import vector files (PDF/AI/EPS), then inspect, edit, render, and optimize SVGs locally.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to generate professional SVG artwork, icons, and vector logos from text prompts, and to vectorize raster images into clean, editable SVG files.MIT