Skip to content

chore(registry): list @drawio/mcp in server.json, name the formats - #117

Merged
alderg merged 3 commits into
mainfrom
voice/registry-npm
Nov 18, 2026
Merged

alderg merged 3 commits into
mainfrom
voice/registry-npm

Conversation

@alderg

@alderg alderg commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Prepares the MCP Registry entry io.draw/mcp to list the npm package as well as the hosted endpoint.

What it does

  • mcp-app-server/server.json gets a packages entry for @drawio/mcp 1.13.1 (npm, stdio) next to the existing remotes entry for https://mcp.draw.io/mcp.
  • Its description now names the input formats and the fast mode: "draw.io diagrams from Mermaid, XML, PlantUML or CSV, in chat or the editor. Fast mode for drafts." (97 of the registry's 100 characters).
  • mcp-tool-server/package.json gets "mcpName": "io.draw/mcp", which the registry checks in the published npm version before it accepts a packages entry, and is bumped to 1.13.1 in a commit of its own, the first release with it (1.13.0 and earlier lack it).
  • mcp-app-server/test/server-json.test.js checks that the entry names the tool server's package and a version from 1.13.1 up to the tool server's package.json, that mcpName matches the server's name, and that server.json's version follows the app server's.
  • The publishing runbook (mcp-app-server/README.md), the release table in AGENTS.md and the tool server's AGENTS.md say when to set packages[0].version: the registry takes each version of io.draw/mcp once and that version follows the app server's, so the registry is published on app server releases only, after the cycle's npm release, and a tool-server-only release is listed with the next app server release. The runbook checks the named version with npm view … mcpName before publishing.

Before publishing

  • Release @drawio/mcp 1.13.1 to npm first (gh workflow run publish-tool-server.yml --ref main); until then the registry refuses the packages entry, and with it the whole publish.
  • PlantUML in the description needs the app server release with PlantUML and CSV in create_diagram (feat(app-server): PlantUML and CSV in create_diagram #116).

Nothing is published by this change; the registry is updated by hand at release time.

Tests

  • server.json validated against the registry's schema (2025-12-11/server.schema.json).
  • npm test in mcp-app-server (289 pass, 3 skipped, 0 fail) and mcp-tool-server (153 pass).

🤖 Generated with Claude Code

server.json now lists @drawio/mcp (the tool server) under packages next to
the hosted remote, and its description names the input formats and the fast
mode (97 of 100 characters). mcp-tool-server/package.json gets
"mcpName": "io.draw/mcp", which the registry checks in the published npm
version before it accepts the entry; 1.13.0 doesn't carry it, so the runbook
says to publish only after an npm release that does and to set
packages[0].version to it. PlantUML in the description needs the app server
release with PlantUML and CSV in create_diagram.

Nothing is published: the registry is updated by hand at release time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment thread AGENTS.md Resolved
Comment thread mcp-app-server/server.json Resolved
Comment thread mcp-tool-server/AGENTS.md Resolved
alderg and others added 2 commits November 18, 2026 16:49
The first @drawio/mcp release with mcpName, which the MCP Registry needs
before server.json can list the package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…server releases

- server.json names 1.13.1, the first release with mcpName, instead of
  1.13.0, which the registry refuses; test/server-json.test.js checks the
  entry against the tool server's package.json and server.json's version
  against the app server's.
- The registry takes each version of io.draw/mcp once and that version
  follows the app server's, so the registry row and the runbook publish
  only on app server releases, after the cycle's npm release, with a check
  that npm has the named version with mcpName.
- The mcpName paragraph in the tool server's AGENTS.md moves after the
  Trusted Publishing paragraphs it had split.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@alderg
alderg merged commit ba493f7 into main Nov 18, 2026
1 check passed
@alderg
alderg deleted the voice/registry-npm branch November 18, 2026 16:59
alderg added a commit that referenced this pull request Nov 18, 2026
Brings in #116 (PlantUML and CSV in create_diagram) and #117 (the
@drawio/mcp npm entry in server.json, version 1.13.1, and its test).

Conflicts, both sides kept:
- server.json description: "Mermaid, PlantUML, CSV or XML in, editable
  draw.io diagrams out, live in chat. 10,000+ shapes." Since #116 the
  viewer converts PlantUML (drawio-plantuml) and CSV (draw.io's CSV
  import) into draw.io cells, and this branch makes every Mermaid type
  come out as cells, so the line is true now and is the one #121 sets.
- README comparison table: the app server takes all three and PlantUML
  (#116); the skill converts Mermaid with draw.io Desktop or an
  installed Chrome, Edge or Chromium (this branch).
- docs/app-server-tools.md: the create_diagram input lists plantuml and
  csv (#116) with this branch's Mermaid details, followed by #116's
  PlantUML and CSV paragraph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alderg added a commit that referenced this pull request Nov 18, 2026
Brings in #116 as squash-merged (identical to the two #116 commits
already on this branch) and #117 (the @drawio/mcp npm entry in
server.json at 1.13.1, its test, the tool server's mcpName).

Conflicts, both sides kept:
- the files #116 and this branch both changed: this branch's version,
  since main's #116 is the same as this branch's copy of it
- server.json description: this branch's line ("Mermaid, PlantUML, CSV
  or XML in, editable draw.io diagrams out, live in chat. 10,000+
  shapes."), with #117's version and packages entry
- mcp-app-server/AGENTS.md key files: this branch's semantic-bundle.js
  row, #117's server.json row

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant