L'Atlas / MCP servers / CodePic

CodePic

io.github.abelce/codepic

MCP server OK

Get a review See pricing

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

Technical sheet

Author
abelce (registry namespace)
Repository
github.com/abelce/codepic-mcp
Site
—
Version
1.0.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://codepic.cc/api/mcp/mcp Streamable HTTP required header : Authorization
Tools
7
Categories
AI, agents and memory, Images, audio and video
Last updated
16 Jun 2026
Published
16 Jun 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.abelce/codepic.svg?lang=en)](https://latlas.dev/en/mcp/io.github.abelce/codepic)
HTML
<a href="https://latlas.dev/en/mcp/io.github.abelce/codepic"><img src="https://latlas.dev/badge/fiche/io.github.abelce/codepic.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://codepic.cc/api/mcp/mcp
Last result
OK 28 Nov 2026, 10:37
Response time
2,345 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
mcp-typescript server on vercel 0.1.0
Tools
7

History

DateResultResponseTools
28 Nov 2026, 10:37OK2,345 ms7

Exposed tools (7, from tools/list, 28 Nov 2026)

get_shape_docs

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 capabilities; use this tool when you need complete fields or type-specific data (e.g. select options, triangle direction, callout tail). No authentication required.

No parameters.

get_shape_catalog

Get Shape Catalog

Return 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 filterable.

ParameterTypeRequiredDescription
categoryenum: "basic" | "flow" | "container" | "ui" | "architecture" | "misc"noFilter by the shape category.
tagstringnoFilter by one exact AI tag, e.g. container-capable, decision, database, or architecture.
containerModeenum: "native" | "adaptive" | "none"noFilter by container support. adaptive shapes become containers when they receive children.

list_templates

List Templates

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 call this as a preparatory step when the user just described a diagram they want — in that case go straight to `create_diagram`. Discovering slugs here is only meaningful before a user-confirmed `create_from_template` call.

ParameterTypeRequiredDescription
categoryenum: "collaboration" | "planning" | "design" | "flowchart" | "engineering"noFilter by category

create_from_template

Create from Template

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 call this tool when the user has **explicitly** asked to use a template. Explicit signals include phrases like: "use a template", "from template", "用模板", "从模板创建", "list templates and pick one", or the user directly naming/selecting a template slug. If the user merely describes a diagram they want (e.g. "draw an A/B test flowchart", "帮我画一个登录流程", "给我做一个系统架构图"), **DO NOT** call this tool. Call `create_diagram` instead and build the diagram from the user's description. Never silently substitute a template for a described diagram — the user will get a generic result that does not match what they asked for. 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 directly in their AI client (Cursor / Claude / etc.).

ParameterTypeRequiredDescription
slugstringyesTemplate slug (e.g. 'flowchart', 'erd', 'kanban'). Call list_templates to see all.
namestringnoDocument name (defaults to template name)
localeenum: "en" | "zh"noLanguage for template content (default: en)

create_diagram

Create Diagram

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-DESCRIBED DIAGRAM.** Whenever the user describes a diagram they want ("draw an A/B test flowchart", "帮我画一个登录流程", "a system architecture with a load balancer and 3 servers", etc.), build it here from their description. Do NOT fall back to `create_from_template` / `list_templates` unless the user explicitly asked for a template. 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 directly in their AI client (Cursor / Claude / etc.). **Container nesting (IMPORTANT — use whenever possible):** - Set `parentId` on a node to nest it inside another node. ANY node type can be a container. - The parent automatically becomes draggable-as-a-group and users can keep dropping elements into it. - Call `get_shape_catalog` with tag `container-capable` to choose among native structural containers and adaptive semantic shapes such as rectangles, circles, ellipses, diamonds, cylinders, and hexagons. - Parent bounds are expanded automatically using the selected shape's title and outline safe area. - Use absolute canvas coordinates for all nodes — child coordinates are auto-converted to parent-relative. - Set node `name`, `description`, and `tags` when later MCP/Agent reads need stable business semantics beyond visible text. - **Ru…

ParameterTypeRequiredDescription
namestringyesDocument name
nodesarray<object>yesArray of shape nodes to place on the canvas
edgesarray<object>noArray of connector edges between nodes
backgroundColorstringnoCanvas background color (default: '#f8f9fa')

get_diagram

Get Diagram

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 update_diagram when you need to: add nested children to existing containers, make targeted edits to specific elements, or understand the current structure. Requires API Key authentication.

ParameterTypeRequiredDescription
documentIdstringyesDocument ID to fetch

update_diagram

Update Diagram

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 user, present the returned URL as a clickable markdown link (e.g. `[Open in CodePic →](URL)`) so the user can click it directly in their AI client (Cursor / Claude / etc.).

ParameterTypeRequiredDescription
documentIdstringyesDocument ID to update (from a previous create call)
namestringnoNew document name
nodesarray<object>noFull replacement of all nodes. If provided, replaces the entire canvas content.
edgesarray<object>noFull replacement of all edges
addNodesarray<any>noNodes to add (without replacing existing ones)
addEdgesarray<any>noEdges to add
removeNodeIdsarray<string>noIDs of nodes to remove
removeEdgeIdsarray<string>noIDs of edges to remove
backgroundColorstringnoNew canvas background color

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://codepic.cc/api/mcp/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http codepic https://codepic.cc/api/mcp/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : codepic ; URL : https://codepic.cc/api/mcp/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : codepic ; Server URL : https://codepic.cc/api/mcp/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "codepic": {
      "url": "https://codepic.cc/api/mcp/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "codepic": {
      "type": "http",
      "url": "https://codepic.cc/api/mcp/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "codepic": {
      "url": "https://codepic.cc/api/mcp/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "codepic": {
      "httpUrl": "https://codepic.cc/api/mcp/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.codepic]
url = "https://codepic.cc/api/mcp/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

CodePic · L’Atlas · Tested on

Markdown
[CodePic — L’Atlas](https://latlas.dev/en/mcp/io.github.abelce/codepic)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.