Codex Tldraw MCP server
io.github.jananadiw/codex-tldraw-mcp·v0.5.0·26 starsA Codex stdio MCP server that generates repo-local tldraw diagrams and detects code graph drift.
26 stars56 downloads/wk
Reviews
Write oneNobody has reviewed Codex Tldraw yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Codex Tldraw tools (7)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compare_code_graphCompares the current JavaScript and TypeScript module graph with an existing trackable code graph. Preview is the default; applyMarkers updates only generated graph styling.
diagram_code_graphScans repository-local JavaScript and TypeScript modules and appends a trackable module/import graph to a tldraw board.
diagram_repoScans a local repository and appends a simple product workflow diagram to a tldraw board. Use this when the user asks Codex to draw what a project does.
draw_architectureAppends a simple architecture diagram with a straight main flow, supporting components below it, concise calls, and errors inside components. Inspect the codebase first and keep implementation libraries inside component actions.
draw_canvasAppends a prompt-provided workflow, state machine, architecture sketch, or plan to a tldraw board without scanning repository source.
list_boardsLists tldraw boards stored under the target repository boards directory.
read_board_summarySummarizes shapes and workflow diagrams in a tldraw board.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan16 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 12 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Codex Tldraw compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- Tools
- 7
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 26
- more than 91% of 28,688 servers
- Downloads a week
- 56
- more than 46% of 12,191 servers with a package
What its tools let an agent do: 7 read
Install Codex Tldraw in Claude Code, Cursor or VS Code
Runs npx -y codex-tldraw-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add codex-tldraw-mcp -- npx -y codex-tldraw-mcp
What the publisher says
From the Codex Tldraw repository's README, as published. We do not edit it. Read it on GitHub
codex-tldraw-mcp
A stdio MCP server that generates editable repo-local tldraw diagrams, portable SVG previews, and trackable code graphs with drift detection.
Quick Start
Add the server to Codex:
codex mcp add codex-tldraw -- npx -y codex-tldraw-mcpThen ask Codex to diagram the current repo:
Use codex-tldraw to diagram this repo.Reverse-engineer its runtime architecture:
Use codex-tldraw to show how this repo works across its main components.
Show the main flow first, keep short errors inside components, and label each interaction once.Or ask for a diagram directly:
Use codex-tldraw to draw a password reset state machine.Create a trackable JavaScript or TypeScript module graph:
Use codex-tldraw to create a code graph for this repo.After the code changes, compare it with the saved graph:
Use codex-tldraw to preview code graph drift, then mark stale elements.The default outputs are:
<repo>/boards/main.tldr
<repo>/boards/main.svgOpen the .tldr board in a tldraw-compatible viewer to edit it. Any MCP host, browser, documentation system, or code review can display the .svg preview directly.
See the v0.6.0 release notes for compatibility and verification details.
What You Get
- A repo-local .tldr board that stays with the project it explains, plus a portable .svg preview.
- A user-facing product workflow inferred from package metadata and source text.
- A prompt-driven offline canvas API for drawing workflows, state machines, plans, and architecture sketches that are not tied to repo scanning.
- Simple architecture diagrams showing the main flow first, with supporting services below it.
- A trackable JavaScript and TypeScript module/import graph with drift detection.
- Red markers for stale nodes and edges, orange markers for changed modules, and a report of new elements.
- tldraw steps and arrows laid out left to right.
- Non-destructive updates: existing boards get the next diagram appended to the right.
- MCP resources for listing boards and reading board summaries.
For a handwriting font app, the workflow may be inferred as:
User writes alphabet on paper -> User takes a photo of the paper -> User uploads the image -> AI generates a font -> User downloads a .ttf fileManual Configuration
If you prefer editing Codex MCP config directly:
[mcp_servers.codex-tldraw]
command = "npx"
args = ["-y", "codex-tldraw-mcp"]Tools
- diagram_repo: scans a repo and appends a product workflow diagram to /boards/.tldr.
- draw_canvas: appends a prompt-provided workflow, state machine, architecture sketch, or plan to /boards/.tldr.
- draw_architecture: appends a simple codebase architecture view with a main flow, supporting components, actions, calls, and errors.
- diagramcodegraph: scans repository-local JavaScript and TypeScript modules and appends a trackable import graph.
- comparecodegraph: previews drift or marks changed and stale elements on an existing trackable code graph.
- list_boards: lists boards under a repo's boards/ directory.
- readboardsummary: summarizes generated diagrams and shape counts and returns both artifact paths.
Each tool accepts an optional repoPath. Relative paths are resolved from the MCP server working directory.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Codex Tldraw: common questions
- Is Codex Tldraw MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Codex Tldraw safety report
- How do I install Codex Tldraw?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Codex Tldraw need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Codex Tldraw maintained?
- The last commit was 54 days ago (2026-09-11). The latest release is v0.5.0.
- How does Codex Tldraw compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); tools 7 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.