# Excaliself

MCP server for Claude Code, Codex, Cursor and other platforms to find, read, create, and edit Excalidraw drawings in a self-hosted Excaliself instance.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 185 repo stars
- Author: maciekzygmunt
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/maciekzygmunt/excaliself
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/excaliself

## What it does

The server connects an AI client to a self-hosted Excaliself instance using OAuth or a personal access token. An agent searches for diagrams, reads structure, proposes edits, and moves items to the trash. Changes wait for confirmation on the canvas before participants see them live.

The setup requires a running Excaliself instance with a Postgres database. Clients communicate with the server over HTTP without needing an LLM API key.

## Requirements
- Needs: Docker
- Remote server: `https://{host}/api/mcp`

## Install

### Claude Code (native platform)

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http excaliself https://{host}/api/mcp
```

### Codex

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
codex mcp add excaliself --url https://{host}/api/mcp
```

### Cursor

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "excaliself": {
            "url": "https://{host}/api/mcp"
        }
    }
}
```

### GitHub Copilot

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "excaliself": {
            "type": "http",
            "url": "https://{host}/api/mcp"
        }
    }
}
```

### Gemini CLI

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
gemini mcp add -t http excaliself https://{host}/api/mcp
```

## When to use it
- find a drawing by title or text inside
- create a new Excalidraw diagram via chat
- read and edit an existing canvas
- move drawings to the trash

## Example prompts
- Find the system architecture diagram and suggest layout improvements
- Create a new Excalidraw drawing with a user login flowchart
- Read the drawing and add missing blocks to the scheme

## Similar
- [replica-architect](https://affpapa.org/en/nevibecode/skills/replica-architect.md) — skill · 1800 installs
- [excalidraw](https://affpapa.org/en/nevibecode/skills/agents365-ai-excalidraw.md) — skill · 4700 installs
- [excalidraw-skill](https://affpapa.org/en/nevibecode/skills/excalidraw-skill.md) — skill · 1600 installs
- [codex-marketing-skills](https://affpapa.org/en/nevibecode/skills/codex-marketing-skills.md) — skill · 882 installs
- [anycap-human-interaction](https://affpapa.org/en/nevibecode/skills/anycap-human-interaction.md) — skill · 733 installs
- [hand-drawn-diagrams](https://affpapa.org/en/nevibecode/skills/muthuishere-hand-drawn-diagrams.md) — skill · 688 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
