{"id":50541779,"url":"https://github.com/hoangdh2001/excalidraw-export-mcp","last_synced_at":"2026-06-03T20:30:56.138Z","repository":{"id":356220281,"uuid":"1231529488","full_name":"hoangdh2001/excalidraw-export-mcp","owner":"hoangdh2001","description":"MCP server: export .excalidraw diagrams to PNG/JPG/SVG with Virgil font","archived":false,"fork":false,"pushed_at":"2026-05-15T05:09:30.000Z","size":3105,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-15T07:14:35.821Z","etag":null,"topics":["claude","claude-code","excalidraw","export","mcp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoangdh2001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-07T03:37:19.000Z","updated_at":"2026-05-15T05:09:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hoangdh2001/excalidraw-export-mcp","commit_stats":null,"previous_names":["hoangdh2001/excalidraw-export-mcp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hoangdh2001/excalidraw-export-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangdh2001%2Fexcalidraw-export-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangdh2001%2Fexcalidraw-export-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangdh2001%2Fexcalidraw-export-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangdh2001%2Fexcalidraw-export-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoangdh2001","download_url":"https://codeload.github.com/hoangdh2001/excalidraw-export-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangdh2001%2Fexcalidraw-export-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33878990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude","claude-code","excalidraw","export","mcp"],"created_at":"2026-06-03T20:30:55.442Z","updated_at":"2026-06-03T20:30:56.133Z","avatar_url":"https://github.com/hoangdh2001.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# excalidraw-export-mcp\n\nMCP server for exporting `.excalidraw` files to **PNG**, **JPG**, and **SVG** — with authentic Virgil handwriting font and rough.js sketch style. Runs fully offline using a bundled copy of `@excalidraw/excalidraw` and headless Chromium via Playwright.\n\n## Setup\n\n### 1. Install dependencies\n\n```bash\ncd /path/to/excalidraw-export-mcp\nnpm install\nnpx playwright install chromium\n```\n\n### 2. Add to Claude Desktop config\n\nOpen `~/Library/Application Support/Claude/claude_desktop_config.json` and add:\n\n```json\n{\n  \"mcpServers\": {\n    \"excalidraw-export\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/excalidraw-export-mcp/index.js\"]\n    }\n  }\n}\n```\n\nRestart Claude Desktop to load the server.\n\n---\n\n## Tools\n\n### `export_excalidraw`\n\nExport a single `.excalidraw` file.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `input_path` | string | **required** | Absolute path to `.excalidraw` file |\n| `format` | `png` \\| `jpg` \\| `svg` | **required** | Output format |\n| `output_path` | string | auto | Output file path (defaults to same folder, same name) |\n| `scale` | number | `2` | Resolution scale for PNG/JPG (1 = normal, 2 = 2×, 3 = 3×) |\n| `background` | boolean | `true` | Include background color |\n| `dark_mode` | boolean | `false` | Export with dark theme |\n\n**Example prompt:**\n\u003e Export `/Users/me/diagrams/flow.excalidraw` to PNG at 3× resolution\n\n### `export_excalidraw_batch`\n\nExport multiple files in one call.\n\n```json\n{\n  \"exports\": [\n    { \"input_path\": \"/path/to/a.excalidraw\", \"format\": \"png\" },\n    { \"input_path\": \"/path/to/b.excalidraw\", \"format\": \"svg\", \"output_path\": \"/path/to/b-export.svg\" },\n    { \"input_path\": \"/path/to/c.excalidraw\", \"format\": \"jpg\", \"scale\": 3 }\n  ]\n}\n```\n\n### `get_excalidraw_info`\n\nRead metadata from a `.excalidraw` file without exporting.\n\nReturns element counts, canvas size, background color, and asset count.\n\n---\n\n## Notes\n\n- **No internet required** — all rendering is done locally using the bundled Excalidraw library\n- **SVG output** has the Virgil font embedded as base64, so it displays correctly anywhere\n- **PNG/JPG** are rendered at `scale: 2` by default (retina-quality)\n- The `excali_bundle.js` file (14 MB) must stay in the same directory as `index.js`\n- The `fonts/Virgil-Regular.woff2` file must stay in the `fonts/` subdirectory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoangdh2001%2Fexcalidraw-export-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoangdh2001%2Fexcalidraw-export-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoangdh2001%2Fexcalidraw-export-mcp/lists"}