DocDiagram MCP Server - Embedded diagrams in MDX docs for AI assistants
Project description
docdiagram-mcp
MCP server exposing the DocDiagram API to any MCP-compatible client
(Claude Code, Cursor, Continue, Cody). The same surface area as the
Claude Code skills in ../skills/, expressed as typed tool calls.
Install
uvx docdiagram-mcp # one-shot, recommended
# or
pip install docdiagram-mcp
Configure
Set DOCDIAGRAM_API_KEY or create ~/.docdiagram/config.yaml:
api_key: dd_live_xxxxxxxxxxxxx
server_url: https://app.docdiagram.com # optional, defaults to prod
Mint a key with the Claude Code plugin: claude /docdiagram:auth.
Tools
Repos
repo_upsert- register or refresh a repo (idempotent on host_id)repo_lookup- look up by GitHub node idrepo_get- fetch by DocDiagram UUID
Embedded diagrams
embedded_diagram_create- bind a new diagram to (repo, docs_path, slot)embedded_diagram_revise- follow-up prompt against an existing bindingembedded_diagram_regenerate- re-run the last promptembedded_diagram_get- fetch a binding by idembedded_diagram_by_sidecar- fetch by (repo, docs_path, slot)embedded_diagram_list_for_repo- cursor-paginated listembedded_diagram_delete- soft-deleteembedded_diagram_render_svg- return an SVG URL (bytes not inlined)embedded_diagram_render_png_url- return a PNG URL
Sync (requires GitHub App install per TECH-064)
sync_start- open a PR with pending revisionssync_get_status- poll a sync runsync_list- list recent runs
Releasing
See RELEASING.md for the tagged-release publish flow and the registry submission runbook.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docdiagram_mcp-0.1.0.tar.gz.
File metadata
- Download URL: docdiagram_mcp-0.1.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db21000888832740630cf6768e3665088a932b79cb439607c8554ce1c5d4600d
|
|
| MD5 |
af75ac730d2c84926341348ddbe8ac09
|
|
| BLAKE2b-256 |
3a3330d051c6d89c20572ef8092be7ca135eb44af2a65ec089122f14f774e32b
|
Provenance
The following attestation bundles were made for docdiagram_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on docdiagram/agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
docdiagram_mcp-0.1.0.tar.gz -
Subject digest:
db21000888832740630cf6768e3665088a932b79cb439607c8554ce1c5d4600d - Sigstore transparency entry: 1652583273
- Sigstore integration time:
-
Permalink:
docdiagram/agents@5e3bc94708f275a53e802e6c7d59f5bf34d05706 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/docdiagram
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5e3bc94708f275a53e802e6c7d59f5bf34d05706 -
Trigger Event:
push
-
Statement type:
File details
Details for the file docdiagram_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: docdiagram_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf240f825fdf52fc713e1d7af308736c235c0f4c6bc217d392e4b0b7aa955673
|
|
| MD5 |
0c628a9d53703a05dc8fc5029c3d0774
|
|
| BLAKE2b-256 |
0415016524bb25c03c237f11d098f3bcd33c8140edd26d8b1446648dfe45f2aa
|
Provenance
The following attestation bundles were made for docdiagram_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on docdiagram/agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
docdiagram_mcp-0.1.0-py3-none-any.whl -
Subject digest:
cf240f825fdf52fc713e1d7af308736c235c0f4c6bc217d392e4b0b7aa955673 - Sigstore transparency entry: 1652583301
- Sigstore integration time:
-
Permalink:
docdiagram/agents@5e3bc94708f275a53e802e6c7d59f5bf34d05706 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/docdiagram
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5e3bc94708f275a53e802e6c7d59f5bf34d05706 -
Trigger Event:
push
-
Statement type: