Skip to content
VS Code

codex tldraw mcp for VS Code

io.github.jananadiw/codex-tldraw-mcp

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

client:VS Code transport:stdio runtime:npm

Install codex tldraw mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tldraw-mcp-allowed-roots",
      "description": "TLDRAW_MCP_ALLOWED_ROOTS",
      "password": true
    }
  ],
  "servers": {
    "codex-tldraw-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codex-tldraw-mcp"
      ],
      "env": {
        "TLDRAW_MCP_ALLOWED_ROOTS": "${input:tldraw-mcp-allowed-roots}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

codex tldraw mcp in other clients