CodePic MCP Server
Official hosted CodePic MCP server (Streamable HTTP) that lets AI coding agents (Cursor, Claude Code/Desktop, VS Code, Codex, Windsurf, Cline) create and edit editable hand-drawn CodePic diagrams. Write tools require a Bearer API key with the cpk_ prefix; the shape/template reference tools are documented as requiring no authentication.
One-click install for Cursor, VS Code, Claude, and 20+ other MCP clients, powered by API Commons MCP Install — visit install.apicommons.org for more information.
Endpoint
Hosted endpoint · transport
Connect
This is a remote MCP server — point an MCP client at the endpoint URL. Clients with native remote support (Claude, Cursor, VS Code, …):
For stdio-only clients (older Claude Desktop, etc.), bridge with mcp-remote:
If the server requires authentication, add the provider's token/header (e.g. an X-API-Key) per its docs. A quick reachability check:
Tools
get_shape_docs— Return the full CodePic shape reference — all element types, their fields, data payloads, and JSON examples.get_shape_catalog— Return compact, filterable machine-readable shape metadata (semantic tags, geometry family, container support, padding, default size).list_templates— List available CodePic diagram templates, optionally filtered by category.create_from_template— Create a new diagram from a predefined template slug; returns public view and edit URLs. Only for explicit template requests.create_diagram— Create a custom hand-drawn diagram from nodes and edges (supports parentId container nesting); returns a public view URL. Default tool for user-described diagrams.get_diagram— Fetch a compact summary of an existing diagram's elements (IDs, types, positions, parent-child relationships).update_diagram— Rename, replace, or incrementally add/remove nodes and edges of an existing diagram.
About MCP
The Model Context Protocol (MCP) is an open protocol Anthropic introduced for connecting LLM-based agents to external tools and data sources. Providers publish MCP servers that expose their API surface as structured, discoverable tools — an MCP-compatible client (Claude Desktop, Cursor, Cline, Continue, etc.) can connect to the server and call its tools without any per-provider integration code.
Browse every MCP server on the APIs.io network or compare with the broader Agent Skill surfaces of the same providers.
Work with this as data
Every MCP server here is available over the APIs.io API and to AI agents over MCP.