Skip to content

chore: shorten description ≤100 chars + bump v0.2.3 — fix MCP registry publish#11

Merged
rafael5 merged 1 commit into
mainfrom
chore/bump-v0.2.3-shorten-description
May 11, 2026
Merged

chore: shorten description ≤100 chars + bump v0.2.3 — fix MCP registry publish#11
rafael5 merged 1 commit into
mainfrom
chore/bump-v0.2.3-shorten-description

Conversation

@rafael5
Copy link
Copy Markdown
Contributor

@rafael5 rafael5 commented May 11, 2026

Summary

v0.2.2 published successfully to PyPI (m-dev-tools-mcp 0.2.2 is live), but the MCP registry rejected the server.json with HTTP 422:

validation failed: expected length <= 100
body.description: "MCP server for the m-dev-tools org catalog — exposes route_intent, describe, and verify as first-class agent tools." (116 chars)

The official registry caps description at 100 characters. This PR shortens it to 76 chars (well under the cap), bumps to v0.2.3 (PyPI 0.2.2 is immutable), and folds in the belt-and-suspenders Makefile cleanup that didn't make it into PR #10.

Changes

  • server.json + pyproject.toml description: shortened to "MCP server wrapping the m-dev-tools catalog: route_intent, describe, verify." (76 chars; same gist as before). Kept in sync between the two files.
  • Version bump to 0.2.3 across pyproject.toml, __init__.py, server.json, dist/mcp-tools.json regen.
  • Makefile clean: adds rm -f dist/*.whl dist/*.tar.gz for the case where python -m build is invoked without --outdir and writes wheels under dist/. Defensive — the wheel-out shift in PR chore: build wheel to wheel-out/ + bump to v0.2.2 — fix Phase-6 publish #10 already prevents this for normal runs.

Verified locally

  • Description length: 76 chars (well under the 100-char cap)
  • make check clean — ruff + mypy + 41/41 pytest + manifest + check-agents drift gates
  • make buildwheel-out/m_dev_tools_mcp-0.2.3-py3-none-any.whl

Step status from v0.2.2's run

Step v0.2.2 result
Build wheel
GH Release with wheel
PyPI publish via Trusted Publisher OIDC m-dev-tools-mcp 0.2.2 LIVE
Install mcp-publisher
Update server.json version
Publish to MCP registry 422 — description too long (this PR fixes)

Test plan

  • Local gates green
  • Description ≤ 100 chars
  • Wheel builds to wheel-out/
  • CI green
  • After merge: push v0.2.3 tag → release.yml fires end-to-end → all four publish steps succeed → m-dev-tools-mcp 0.2.3 live on PyPI and the MCP registry under io.github.m-dev-tools/m-dev-tools-mcp.

…y publish

v0.2.2 published successfully to PyPI (m-dev-tools-mcp 0.2.2 live)
but the MCP registry rejected the server.json with HTTP 422:

  validation failed: expected length <= 100
  body.description: "MCP server for the m-dev-tools org catalog —
  exposes route_intent, describe, and verify as first-class agent
  tools." (116 chars)

The official registry caps `description` at 100 characters; ours was
116. Easy fix: shorten to a 76-char form that keeps the same gist.

Description rewritten everywhere it appears:

* server.json description: now 76 chars
* pyproject.toml description: same, kept in sync (no length limit on
  PyPI side, but the two should match — registry consumers read both)

Bump to v0.2.3 (PyPI 0.2.2 is live + immutable):

* pyproject.toml: version 0.2.2 → 0.2.3
* src/m_dev_tools_mcp/__init__.py: __version__ → "0.2.3"
* server.json: top-level version + packages[0].version → "0.2.3"
* dist/mcp-tools.json regen

Also lands the belt-and-suspenders cleanup line in Makefile's
clean target that didn't make it into PR #10 — adds `rm -f
dist/*.whl dist/*.tar.gz` so a forgotten `python -m build` without
--outdir doesn't leak through to a future PyPI upload.

### Verified locally

* make check — ruff + mypy + 41/41 pytest + manifest + check-agents
  drift gates all clean
* make build → wheel-out/m_dev_tools_mcp-0.2.3-py3-none-any.whl
* description-length sanity: server.json description is 76 chars
  (well under the 100-char registry cap)

### After merge

Push v0.2.3 tag. release.yml fires; expected: 4-of-4 steps pass
(build / GH-Release / PyPI / MCP registry), m-dev-tools-mcp 0.2.3
live on both PyPI and registry.modelcontextprotocol.io.
@rafael5 rafael5 merged commit 9e4a065 into main May 11, 2026
1 check passed
@rafael5 rafael5 deleted the chore/bump-v0.2.3-shorten-description branch May 11, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant