L'Atlas / Serveurs MCP / CodePic

CodePic

io.github.abelce/codepic

Serveur MCP OK

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
abelce (espace de noms du registre)
Dépôt
github.com/abelce/codepic-mcp
Site
—
Version
1.0.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://codepic.cc/api/mcp/mcp Streamable HTTP en-tête requis : Authorization
Outils
7
Catégories
IA, agents et mémoire, Images, audio et vidéo
Dernière mise à jour
16 juin 2026
Publication
16 juin 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.abelce/codepic.svg)](https://latlas.dev/mcp/io.github.abelce/codepic)
HTML
<a href="https://latlas.dev/mcp/io.github.abelce/codepic"><img src="https://latlas.dev/badge/fiche/io.github.abelce/codepic.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://codepic.cc/api/mcp/mcp
Dernier résultat
OK 28 nov. 2026, 10:37
Temps de réponse
2 345 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
mcp-typescript server on vercel 0.1.0
Outils
7

Historique

DateRésultatRéponseOutils
28 nov. 2026, 10:37OK2 345 ms7

Outils exposés (7, réponse à 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.

Aucun paramètre.

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.

ParamètreTypeRequisDescription
categoryenum: "basic" | "flow" | "container" | "ui" | "architecture" | "misc"nonFilter by the shape category.
tagstringnonFilter by one exact AI tag, e.g. container-capable, decision, database, or architecture.
containerModeenum: "native" | "adaptive" | "none"nonFilter 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.

ParamètreTypeRequisDescription
categoryenum: "collaboration" | "planning" | "design" | "flowchart" | "engineering"nonFilter 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.).

ParamètreTypeRequisDescription
slugstringouiTemplate slug (e.g. 'flowchart', 'erd', 'kanban'). Call list_templates to see all.
namestringnonDocument name (defaults to template name)
localeenum: "en" | "zh"nonLanguage 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…

ParamètreTypeRequisDescription
namestringouiDocument name
nodesarray<object>ouiArray of shape nodes to place on the canvas
edgesarray<object>nonArray of connector edges between nodes
backgroundColorstringnonCanvas 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.

ParamètreTypeRequisDescription
documentIdstringouiDocument 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.).

ParamètreTypeRequisDescription
documentIdstringouiDocument ID to update (from a previous create call)
namestringnonNew document name
nodesarray<object>nonFull replacement of all nodes. If provided, replaces the entire canvas content.
edgesarray<object>nonFull replacement of all edges
addNodesarray<any>nonNodes to add (without replacing existing ones)
addEdgesarray<any>nonEdges to add
removeNodeIdsarray<string>nonIDs of nodes to remove
removeEdgeIdsarray<string>nonIDs of edges to remove
backgroundColorstringnonNew canvas background color

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

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

Configs prêtes à copier

Adresse distante utilisée : https://codepic.cc/api/mcp/mcp. Formats repris de la documentation de chaque client.

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"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.