Antu
Legal diagrams (fact, procedure, relationship, justification) from JSON, as one offline HTML page.
Connector by zh-xx · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/zh-xx-antu
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 5 read · 2 write · 0 delete · 5 not yet classified
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 12
Read from the source code; the running server may list different tools.
Read 5 · Look things up without changing anything.
antu_examplesantu_previewantu_validatelist_filesread_file
Write 2 · Create, change, send or run things.
antuwrite_file
Not yet classified 5 · We could not tell from the name and description.
antu_guideantu_layoutantu_renderantu_schemaantu_versions
Network hosts it talks to 4
api.deepseek.com· found in codeapi.github.com· found in codegithub.com· found in coderegistry.npmmirror.com· found in code
Files it touches
/opt/pw-browsers/chromium-1194/chrome-linux/chrome/opt/pw-browsers/chromium/chrome-linux/chrome/tmp/mcp-preview.png/tmp/mcp-test-out.html- Any path the agent passes to its tools
Tools (12)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
antuRun the skill's command line: node <skill-dir>/scripts/antu.mjs <args>. Give the arguments after antu.mjs, e.g. ["validate","spec.json"], ["layout","spec.json"], ["render","spec.json","-o","diagram.html"], ["preview","spec.json","-o","shot.png"]. File names are in your working folder.
antu_examplesSee the examplesList the small examples of one type, or fetch one in full. With no arguments you get the English examples (about 1 KB each, one idea each). A good first pass is: antu_schema for the fields, antu_guide for the mechanism, then fetch 1-minimal.en.json here to see how one is written. Pass file to fetch one; pass lang "zh-CN" to list the Chinese copies of the same examples.
antu_guideMechanism notesOne page on how the data becomes the picture for one type. Read it once before writing JSON; it saves a few rounds of validation. The field list is antu_schema, real examples to copy from are antu_examples.
antu_layoutWork out the geometryWithout rendering, work out the layout: content size, fit zoom, suggested orientation, whether it fits. Faster than a screenshot for "will this be too wide?".
antu_previewScreenshot it and lookRender this diagram as a PNG and return it. Passing validation does not mean it looks good. Look at the picture for what validation cannot see: are the cards or nodes crowded together, is the text too small to read, does a line run through a card, is the whole diagram mostly empty, are headings cut off. If it does not look right, change the JSON and look again. Needs Chrome on this machine (without it, use only antu_validate and antu_layout).
antu_renderBuild the self-contained HTMLTurn the JSON into one self-contained HTML under the session workspace. Validates first; produces no file if that fails. The chat card draws from the call arguments; the file is for archive and open-in-sidebar.
antu_schemaField tableThe field list of one diagram type: what is required, of what type, one line of explanation. Read this before writing JSON. Then call antu_guide (how the data becomes the picture) and antu_examples (how one is written). Cross-field rules are not in this table: call antu_validate after writing and it reports each one.
antu_validateValidate JSONCheck whether an Antu JSON is valid. Returns each problem (field path and event id). When it passes it may still add notes. Run this right after writing JSON; do not render first.
antu_versionsVersions of the types and the diagramsWhich diagram types and which ways of drawing (`kind`) there are, with the version and status of each way and the generation of each type's JSON format. Read-only; no arguments needed. Use it to see what `kind` values exist and whether one is still experimental or deprecated.
list_filesList the files and folders of a folder. Paths: skill/... (the skill folder), material/..., or a folder of your working folder (. for the working folder itself).
read_fileRead a text file. Paths: skill/... (the skill folder), material/... (the case material), or a file in your working folder.
write_fileWrite a text file in your working folder (a relative path, no ..).
Compare and alternatives
Featured in
Signals
- Stars
- 8
- Forks
- 0
- Open issues
- 24
- Last commit
- Oct 24, 2026 (4 days ago)
- Last release
- Oct 20, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.zh-xx/antu- Version
- 0.16.6
- Auth
- No auth
- Packages
- npm @zh-xx/antu
- License
- AGPL-3.0
- Repository
- github.com/zh-xx/Antu
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
Antu MCP server. Agent Mart. https://agentmart.dev/connectors/zh-xx-antu (last updated 2026-10-24)