プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Codex Tldraw MCP

作者:jananadiwバージョン 0.5.0i★ –iパソコンで動く
レジストリ名io.github.jananadiw/codex-tldraw-mcp

インストール

概要

作者による説明(英語の原文)

A Codex stdio MCP server that generates repo-local tldraw diagrams and detects code graph drift.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: デザイン・画像・音声

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: TLDRAW_MCP_ALLOWED_ROOTS

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "codex-tldraw": {
      "command": "npx",
      "args": [
        "-y",
        "codex-tldraw-mcp"
      ],
      "env": {
        "TLDRAW_MCP_ALLOWED_ROOTS": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add codex-tldraw --env TLDRAW_MCP_ALLOWED_ROOTS=your-value -- npx -y codex-tldraw-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "codex-tldraw": {
      "command": "npx",
      "args": [
        "-y",
        "codex-tldraw-mcp"
      ],
      "env": {
        "TLDRAW_MCP_ALLOWED_ROOTS": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "codex-tldraw": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codex-tldraw-mcp"
      ],
      "env": {
        "TLDRAW_MCP_ALLOWED_ROOTS": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • TLDRAW_MCP_ALLOWED_ROOTS env
    Optional path-delimited allowlist restricting which repository roots this local filesystem tool can read and write.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント jananadiw で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

デザイン・画像・音声のほかのサーバーとの比較i

  • このカテゴリのほかの2751件のうち0%よりスターが多い
  • このカテゴリのほかの2751件のうち21%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2751件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Codex Tldraw MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.5.0)がレジストリに届いたのは3 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Figma Context MCP, Claude Real Video, Figma MCP Server

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Figma Context MCP

作者:GLips

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

パソコンで動く★ 16,165MIT5 か月前更新
インストール

Claude Real Video

作者:HUANGCHIHHUNGLeo

Let any LLM watch a video locally — and search everything it has ever watched.

パソコンで動く★ 2,284MIT2 か月前更新
インストール

Figma MCP Server

作者:figma

The Figma MCP server brings Figma design context directly into your AI workflow.

クラウドで動く★ 2,15213 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

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-mcp

Then 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

/boards/main.svg

Open 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.7.1 release notes for plugin fixes and verification details.

Codex Plugin

This repository also packages the server as a Codex plugin. The existing MCP tools still write .tldr and .svg files; the plugin adds a .tldr file handler that opens the editable board in an embedded React/tldraw app.

Two paths open the same editor:

Diagram tool panel — After draw_canvas, diagram_repo, or similar tools run, the inline MCP App loads the board from the repository-scoped server resource tldraw://repos/ /boards/ /file and saves through the app-only save_board tool.

`.tldr` file entrypoint — When Codex opens a repo file directly, the app uses the host file resource API (open_tldraw_file). Writable files save with ETag conflict protection.

Build the server and its single-file app:

bun install

bun run build

Install the published plugin from npm (recommended):

npm install -g codex-tldraw-mcp

codex plugin marketplace add "$(npm root -g)/codex-tldraw-mcp" codex plugin add codex-tldraw@codex-tldraw-mcp

Or install from GitHub:

codex plugin marketplace add jananadiw/codex-tldraw-mcp

codex plugin add codex-tldraw@codex-tldraw-mcp

The plugin requires Node.js 20.11 or later and npm on PATH. A GitHub plugin download does not build source or install dependencies. The launcher uses a built local copy when available; otherwise it runs the matching published npm version through npx. The first fallback launch needs registry access. No Bun installation is needed to use the plugin.

For development from this checkout:

bun run build

codex plugin marketplace add . codex plugin add codex-tldraw@codex-tldraw-mcp

The marketplace descriptor is .agents/plugins/marketplace.json, the plugin manifest is .codex-plugin/plugin.json, its MCP configuration is .mcp.json, and the bundled app is dist/app.html. MCP hosts without app support continue to use the existing text results, .tldr resources, and SVG previews.

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 file

Manual 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.
  • diagram_code_graph: scans repository-local JavaScript and TypeScript modules and appends a trackable import graph.
  • compare_code_graph: previews drift or marks changed and stale elements on an existing trackable code graph.
  • list_boards: lists boards under a repo's boards/ directory.
  • read_board_summary: summarizes generated diagrams and shape counts and returns both artifact paths.

When using the plugin, pass the absolute path of the repository as repoPath on every repository tool call. The plugin runs from its installation directory, not the chat workspace. Missing or relative paths are rejected to prevent diagrams being written to the plugin cache. For a remote repository URL, clone it locally first, then use the checkout path.

Standalone MCP tools accept an optional repoPath. Relative paths resolve from the MCP server working directory.

Every diagram-writing tool saves both artifacts and returns boardPath and svgPath in structured output. Tool content also includes MCP resource links for the editable board and SVG preview. The SVG renderer covers the text, rectangle, and arrow shapes generated by this server and needs no browser runtime.

New board resource links carry the encoded absolute repository path. They keep working after a server restart or a tool call for another repository, including when both repositories use the same board name. Resource reads still enforce TLDRAW_MCP_ALLOWED_ROOTS.

Legacy tldraw://boards/ /... resources remain available for older standalone clients and use the last selected repository. Re-run a diagram tool to replace older editor links with repository-scoped links.

The editor checks the loaded board's ETag before saving, blocks stale saves, and offers Discard and reload after a conflict. Invalid board data is rejected before replacing files. Diagram writes use a per-board filesystem lock so simultaneous calls from different server processes preserve both appends.

Code Graph Drift

diagram_code_graph stores stable repository-relative identities and fingerprints in MCP-owned shape metadata. Each source module becomes a node. Static imports, dynamic imports, re-exports, and CommonJS require calls between repository modules become edges.

Run compare_code_graph after the repository changes. Preview mode is the default and does not write the board:

Compare the current code with the newest code graph on boards/main.tldr.

To update the board, ask Codex to apply the drift markers or pass applyMarkers: true. The comparison uses four states:

  • unchanged: the stored identity and fingerprint still match.
  • changed: the module still exists, but its exports or local import relationships changed.
  • stale: the board contains an element that no longer exists in the current code graph.
  • new: the current graph contains an element that is absent from the board.

Stale elements become red and dashed. Changed modules become orange and dashed. New elements appear in the tool result; v0.4.0 does not insert or rearrange them. Re-running the comparison restores the original generated style when code matches again.

The comparison changes only MCP-generated graph styling and metadata. It preserves positions, sizes, labels, manual shapes, and other diagrams on the board, and it restores each element's prior color when drift clears. Boards created by diagram_repo, draw_canvas, or an older release do not contain trackable code-graph metadata; create a graph with diagram_code_graph before comparing drift.

The v0.4.0 scanner supports .js, .jsx, .mjs, .cjs, .ts, .tsx, .mts, and .cts modules. It reports unresolved relative imports and counts external imports without drawing external packages. It models module/import relationships, not runtime call graphs.

Prompt-Driven Diagrams

draw_canvas does not scan source files. The current repository is only the storage location for the generated board.

Example prompts:

Use codex-tldraw to draw the auth flow:

Visitor opens login -> chooses email or SSO -> completes MFA -> lands in dashboard.

Use codex-tldraw to make a state machine for password reset:

Idle -> Reset requested -> Email sent -> Token verified -> Password updated.

Use codex-tldraw to append an architecture diagram for this plan:

Web app calls API gateway, API gateway calls worker queue, worker writes generated files to object storage.

Simple Architecture

draw_architecture helps a new reader understand how work moves across a codebase. Codex inspects the code first, then sends the renderer a small model:

  • The main user flow becomes a straight row of boxes.
  • Supporting services sit below the component that calls them.
  • Each component shows at most three important actions and two short errors.
  • Each interaction gets one concise arrow; request and response share that arrow.
  • Source evidence is optional metadata and does not clutter the diagram.

Keep libraries and helper modules inside component actions. For example, "validate the response with Zod" belongs inside the API component rather than becoming a separate Zod component. Meaningful arrows have bindings to both endpoint shapes.

See Architecture Diagrams for the analysis contract and input model.

Feedback

This project is early and feedback is useful. Please open an issue if:

  • The generated workflow misses the real product flow.
  • A board does not open in your tldraw-compatible viewer.
  • Code graph drift reports an incorrect module or import relationship.
  • You have a messy repo where a PM and engineer need a clearer shared map.

Use the GitHub issue templates for bugs, feature requests, and real-world examples.

Why This Exists

This project is snapshot-only. It does not control a live browser canvas or provide live collaboration. It writes board files to the repository being diagrammed so a tldraw-compatible viewer can open them later.

The official tldraw MCP App is designed for hosts that can render an interactive tldraw canvas inside the chat context. In Codex Desktop, tool discovery worked in testing, and the tldraw search tool returned Editor API details, shape types, and helpers. The live exec path did not work: every call timed out after 30 seconds, including a read-only call to count the current page shapes.

That failure mode motivated the original file-based fallback. The v0.7.0 plugin now includes its own embedded MCP App editor, while generated SVG previews remain usable in hosts without app support.

This server started as a Codex-first fallbac

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く