CodePic

io.github.abelce/codepic · v1.0.0 · design

CodePic is failing the MCP handshake.

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

Endpoint: https://codepic.cc/api/mcp/mcp (streamable-http)

Repository · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeFailing
Auth needed–
Tool count–
Latency–
Last checked (UTC)2026-11-30T22:55:15.673Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T22:55:15.673ZFailing565initialize HTTP 530
2026-11-28T13:05:12.522ZFailing184initialize HTTP 530
2026-11-26T05:05:28.560ZHealthy2584
2026-11-23T22:50:53.768ZHealthy2267
2026-11-21T18:35:30.278ZHealthy4052
2026-11-19T15:55:10.998ZHealthy2290
2026-11-17T14:10:33.094ZHealthy1199
2026-11-15T14:00:43.501ZHealthy2412
2026-11-13T15:05:59.496ZHealthy3748
2026-11-11T17:10:32.941ZHealthy2920
2026-11-09T20:20:30.894ZHealthy1911
2026-11-08T00:50:25.358ZHealthy2098
2026-11-06T06:35:42.785ZHealthy429
2026-11-04T12:55:35.718ZHealthy5050
2026-11-02T20:15:31.599ZHealthy2804
2026-11-01T04:45:23.098ZHealthy864
2026-10-30T14:10:30.485ZHealthy736
2026-10-29T00:20:11.214ZHealthy1143
2026-10-27T10:55:13.902ZHealthy913
2026-10-25T22:55:11.358ZHealthy1504

Tools (7)

get_shape_docsReturn 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 capabilities; use this tool when you need complete fields or type-specific data (e.g. select options, triangle direction
get_shape_catalogReturn compact machine-readable shape metadata for planning a diagram: semantic tags, geometry family, container support, recommended padding, default size, and MCP availability. Use this before create_diagram when choosing shapes or containers. Unlike get_shape_docs, this tool is concise and filter
list_templatesList 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 call this as a preparatory step when the user just described a diagram they want — in that case go straight to `create_dia
create_from_templateCreate 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 call this tool when the user has **explicitly** asked to use a template. Explicit signals include phrases like: "use a
create_diagramCreate 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-DESCRIBED DIAGRAM.** Whenever the user describes a diagram they want ("draw an A/B test flowchart", "帮我画一个登录流程", "a sys
get_diagramFetch 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 update_diagram when you need to: add nested children to existing containers, make targeted edits to specific elements, o
update_diagramUpdate 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 user, present the returned URL as a clickable markdown link (e.g. `[Open in CodePic →](URL)`) so the user can click it di