Official MCP server and REST SDK for LetDraw, the hand-drawn diagram tool. Hosted Streamable HTTP endpoint plus an npx stdio bridge.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add letdraw-mcp -- npx -y @letdraw/mcp{
"mcpServers": {
"letdraw-mcp": {
"command": "npx",
"args": ["-y", "@letdraw/mcp"]
}
}
}MCP Servers overview
<p align="center">
<a href="https://letdraw.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/letdraw-logo-dark.svg">
<img src="docs/assets/letdraw-logo.svg" alt="LetDraw" width="320">
</picture>
</a>
</p>
<h1 align="center">LetDraw MCP + REST</h1>
<p align="center">
Connect AI assistants and your own scripts to <a href="https://letdraw.com">LetDraw</a> —
read and author diagrams in your account through the
<b>Model Context Protocol (MCP)</b> or the <b>public REST API</b>.
</p>
<p align="center">
<a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
<img alt="Node 18+" src="https://img.shields.io/badge/node-18%2B-brightgreen">
<img alt="MCP: stdio + HTTP" src="https://img.shields.io/badge/MCP-stdio%20%2B%20HTTP-8A2BE2">
</p>
LetDraw is a hand-drawn–style online whiteboard and diagramming app. With this
integration an MCP client (desktop AI apps, Cursor, VS Code, Codex, …) or any HTTP client
can list workspaces, create and update diagrams, build a diagram from code
(compose / Kubernetes / DOT / Terraform / SQL / …), stamp real product icons,
export to Mermaid or D2, and share read-only links.
> This repository ships the **client-side integration**: a zero-config MCP
> bridge, a typed REST SDK, the API spec, and setup docs. The LetDraw app and
> server are not part of this repo.
## What's here
| Path | What it is |
|---|---|
| [`packages/mcp`](packages/mcp) | `@letdraw/mcp` — zero-config stdio bridge to the hosted MCP server (`npx @letdraw/mcp`) |
| [`packages/sdk`](packages/sdk) | `@letdraw/sdk` — typed REST client for scripting |
| [`spec/mcp-tools.md`](spec/mcp-tools.md) | The MCP tools, resources, and scopes |
| [`spec/openapi.yaml`](spec/openapi.yaml) | OpenAPI 3.1 spec for the REST API |
| [`spec/capabilities.md`](spec/capabilities.md) | "How to draw well in LetDraw" guide for AI clients |
| [`docs/`](docs) | Getting started + per-client setup (desktop apps, HTTP clients, Cursor, VS Code, Codex) |
| [`examples/`](examples) | Copy-paste recipes |
## Endpoints
```
REST base https://api.letdraw.com/api-v1
MCP URL https://api.letdraw.com/mcp
```
Both authenticate with a **personal API token** (`Authorization: Bearer
ld_live_…`), not a login session. Create one in the LetDraw app under
**Account → Developer**. The exact URLs and a ready-to-paste client config are
shown there too.
## 60-second start (MCP)
The hosted server speaks Streamable-HTTP, so most clients connect directly. For
a stdio client, or for the simplest possible setup, use the bridge:
```jsonc
// MCP client config (mcpServers block)
{
"mcpServers": {
"letdraw": {
"command": "npx",
"args": ["-y", "@letdraw/mcp"],
"env": { "LETDRAW_TOKEN": "ld_live_YOUR_TOKEN" }
}
}
}
```
See [docs/clients](docs/clients) for desktop apps, HTTP clients, Cursor, VS Code and Codex.
## 60-second start (REST)
```bash
curl https://api.letdraw.com/api-v1/workspaces \
-H "Authorization: Bearer ld_live_YOUR_TOKEN"
```
Or with the SDK:
```ts
import { LetdrawClient } from '@letdraw/sdk';
const ld = new LetdrawClient({ token: process.env.LETDRAW_TOKEN! });
const { workspaces } = await ld.listWorkspaces();
```
## Scopes
Tokens carry scopes; each tool/route requires one:
- `diagrams:read` — list/get workspaces, folders, diagrams, icons
- `diagrams:write` — create/update/delete/share diagrams, from-code
- `export` — export to Mermaid / D2
- `ai:generate` — generate a diagram from a prompt (uses your own AI key)
## License
MIT — see [LICENSE](LICENSE). "LetDraw" and the LetDraw logo are trademarks of
their owner; see [NOTICE.md](NOTICE.md).
What people ask about letdraw-mcp
What is letdraw/letdraw-mcp?
+
letdraw/letdraw-mcp is mcp servers for the Claude AI ecosystem. Official MCP server and REST SDK for LetDraw, the hand-drawn diagram tool. Hosted Streamable HTTP endpoint plus an npx stdio bridge. It has 0 GitHub stars and its last recorded update is dated 2026-10-03.
How do I install letdraw-mcp?
+
You can install letdraw-mcp by cloning the repository (https://github.com/letdraw/letdraw-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is letdraw/letdraw-mcp safe to use?
+
Our security agent has analyzed letdraw/letdraw-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains letdraw/letdraw-mcp?
+
letdraw/letdraw-mcp is maintained by letdraw. The last recorded GitHub activity is dated 2026-10-03, with 0 open issues.
Are there alternatives to letdraw-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy letdraw-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/letdraw-letdraw-mcp)<a href="https://claudewave.com/repo/letdraw-letdraw-mcp"><img src="https://claudewave.com/api/badge/letdraw-letdraw-mcp" alt="Featured on ClaudeWave: letdraw/letdraw-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.