mcpserver.lol
registry/codepic
Connection check verified live · 27h ago

codepic

AI agent draws editable hand-drawn diagrams (flowchart, ER, architecture) via MCP, not static images

Tools 7
GitHub stars
Installs / wk
Licence
Transport streamable-http
Last checked 27h ago

Tools & capabilities

7 tools

Read from the running server on 27h ago.

create_diagram name*edgesnodes*backgroundColor
Create a custom CodePic hand-drawn style diagram by specifying nodes and edges. Requires API Key authentication. Returns a public view URL. **THIS IS THE DEFAULT TOOL FOR ANY USER…
create_from_template nameslug*locale
Create a new CodePic diagram from a predefined template. Requires API Key authentication. Returns a public view URL and edit URL. **STRICT USAGE RULE — READ BEFORE CALLING:** Only…
get_diagram documentId*
Fetch the current state of an existing CodePic diagram. Returns a compact summary of all elements with their IDs, types, positions, and parent-child relationships. Use this before…
get_shape_catalog tagcategorycontainerMode
Return compact machine-readable shape metadata for planning a diagram: semantic tags, geometry family, container support, recommended padding, default size, and MCP availability. U…
get_shape_docs
Return the full CodePic shape reference — all element types, their fields, data payloads, and JSON examples. Call get_shape_catalog first for concise shape selection and container…
list_templates category
List all available CodePic diagram templates. Use this ONLY when the user has explicitly asked to browse, list, or pick from templates (e.g. "show me templates", "列出模板"). Do NOT ca…
update_diagram nameedgesnodesaddEdgesaddNodesdocumentId* +3
Update an existing CodePic diagram. You can rename it, replace all nodes/edges, or add/remove individual nodes and edges. Requires API Key authentication. When responding to the u…