@chartdown/mcp
v0.7.0
Published
Chartdown MCP server — check, render, and spec tools so AI agents can draft, validate, and visually verify plain-text TTRPG maps.
Downloads
673
Maintainers
Readme
@chartdown/mcp
MCP server for Chartdown — plain-text TTRPG maps. Gives AI agents the full authoring loop: read the spec, draft, validate fail-loud, and look at the rendered map.
# Claude Code
claude mcp add chartdown -- npx -y @chartdown/mcp| Tool | What it does |
|---|---|
| chartdown_spec | The whole language in one file (the spec digest) — read before writing |
| chartdown_check | Parse + render validation; diagnostics cite the spec sections they enforce |
| chartdown_render | Deterministic render — format: "png" (default) returns a viewable image; "svg" the text. mode, level, theme options |
| chartdown_uvtt | Universal VTT geometry export (spec 06 §9) |
PNG rendering is self-contained: @resvg/resvg-wasm (pure WebAssembly, no native binaries or browser) with a vendored DejaVu Sans — identical rasters on every machine.
The language is specified in docs/spec (CC-BY-4.0); try it in the playground.
