Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| start_session | Start browser preview and open Excalidraw editor interface. Multi-session support:
After calling this tool:
Please pass the same sessionId when using tools like add_elements, update_element subsequently. |
| list_sessions | List all currently active Excalidraw sessions. |
| create_diagram | Create a new diagram or clear an existing session. This action will:
Usage scenarios: • Starting a new project (no sessionId specified) • Clearing an existing diagram (sessionId specified) • Creating multiple independent diagrams (specify different sessionIds each time) |
| delete_diagram | Delete the specified diagram session. Note: This will completely delete the session and all its elements, and cannot be undone. If you only want to clear elements but keep the session, use create_diagram and specify the sessionId. |
| add_elements | Add multiple Excalidraw elements to the canvas. Supported element types:
Style options:
Advanced options:
Multi-session support: Specify sessionId to target a specific session. |
| create_from_mermaid | Create diagram elements from Mermaid syntax. Converts Mermaid text to Excalidraw elements through connected browser client. If browser is not connected yet, request is queued and sent after websocket ready. Returns clear errors for timeout and mermaid syntax problems. |
| add_template_architecture | Add a built-in architecture diagram template to the canvas. This template visualizes the MCP server architecture with grouped layers and connected arrows. By default it resets the current session before adding template elements. |
| update_element | Update attributes of an existing element. Updatable attributes:
Multi-session support: Specify sessionId to target a specific session. |
| delete_element | Delete a specific element from the canvas. Usage scenarios:
Multi-session support: Specify sessionId to target a specific session. |
| get_scene | Retrieve complete information about the current diagram scene. Returns:
Usage scenarios:
Multi-session support: Specify sessionId to query a specific session. |
| export_diagram | Export the current diagram to a PNG, SVG, or JSON file. Notes:
Multi-session support: Specify sessionId to target a specific session. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |