Datadef MCP server

This URL is a Model Context Protocol endpoint (Streamable HTTP), not a web page. Connected agents like Claude Code, Cursor, Claude Desktop, Codex or ChatGPT can create, edit, lay out and export Datadef architecture diagrams directly, reading your repository for context. Registry name: io.datadef/mcp.

Connect

Create an API key at datadef.io/settings/mcp. Every account can create one and connecting is free. The tools that run AI generation spend credits from the account balance; listing, reading, exporting and repository status do not. Then:

# Claude Code
claude mcp add --transport http datadef https://datadef.io/mcp --header "Authorization: Bearer YOUR_KEY"

# Any desktop MCP client (stdio bridge)
npx -y mcp-remote https://datadef.io/mcp --header "Authorization: Bearer YOUR_KEY"

Per-client setup for Cursor, VS Code, Claude Desktop and ChatGPT is documented at datadef.io/docs/mcp.

Listing the tools without a key

The handshake and the listings are anonymous. initialize, ping, tools/list, prompts/list and resources/list answer with no credentials, so a client, a directory, or a crawler can read the whole tool surface before a key exists. Only tools/call requires authentication.

curl -s https://datadef.io/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Tools

36 tools in total: 9 outcome tools and 27 fine-grained canvas tools.

Common uses

More: repo to diagram · documentation · llms.txt