Skip to content

MCP server

SHEET
D4
REV
flowfig 0.8.4
SOURCE
README.md
DATE
2026-10-06

npx flowfig mcp serves the tools docs, check, render, verify and diff over stdio, for an agent with no shell. render writes the SVG file and returns the check lines and the path, so no SVG text goes through the model. docs takes an optional topic.

npx flowfig init registers the server for Claude Code (.mcp.json), Cursor (.cursor/mcp.json), GitHub Copilot (.vscode/mcp.json), Gemini CLI (.gemini/settings.json) and Kiro (.kiro/settings/mcp.json). It merges one entry into the file and keeps every other server. --no-mcp skips this step. If you formatted the file with other spacing, the first run rewrites it once. For any other client, add:

{ "mcpServers": { "flowfig": { "command": "npx", "args": ["flowfig", "mcp"] } } }