Skip to content

Publish copper-pilot mcp to the official MCP Registry on each release - #93

Merged
AdityaNG merged 1 commit into
mainfrom
feat/mcp_registry_1_dec_2026
Dec 1, 2026
Merged

AdityaNG merged 1 commit into
mainfrom
feat/mcp_registry_1_dec_2026

Conversation

@AdityaNG

@AdityaNG AdityaNG commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Why

Claude could not find the CopperPilot MCP: our server isn't in the official MCP Registry (registry.modelcontextprotocol.io), which the Claude app searched in Aditya's test.

What

  • server.json: io.github.CopperPilot/copper-pilot-cli, title "CopperPilot", PyPI package copper-pilot-cli with runtimeHint: uvx and the positional argument mcp. Clients start it as uvx copper-pilot-cli mcp (checked on 1.0.6: the server comes up as copperpilot 1.0.6). The file validates against the live registry with mcp-publisher 1.8.21.

  • README: <!-- mcp-name: io.github.CopperPilot/copper-pilot-cli -->, which the registry checks in the PyPI description to prove we own the package. The line takes effect from the next release, 1.0.7.

  • release.yml: a new mcp-registry job runs after the PyPI upload:

    • downloads a pinned mcp-publisher and verifies its cosign signature (the registry docs' recommended pattern);
    • writes the tag's version into server.json, then validates it;
    • waits for the version to appear on PyPI;
    • logs in with github-oidc, then publishes, with retries.

    OIDC is the only route that can publish to an org namespace today; the interactive login gets only the personal namespace (registry issue #1468). It needs no secret.

  • Tests: tests/test_mcp_registry.py keeps server.json, the README line and pyproject consistent, and checks the 100-character description limit.

  • Docs: docs/development.md explains the registry step.

After merge

Release 1.0.7 (a release PR, then tag). The tag publishes to PyPI and then to the registry in the same run.

- server.json: io.github.CopperPilot/copper-pilot-cli, PyPI copper-pilot-cli,
  run as 'uvx copper-pilot-cli mcp' (stdio). Validated with mcp-publisher 1.8.21.
- README carries the mcp-name ownership line the registry checks on PyPI.
- release.yml: an mcp-registry job after the PyPI upload: pinned, cosign-verified
  mcp-publisher, tag version written into server.json, waits for PyPI, GitHub OIDC
  login (org namespace, no secret), publish with retries.
- tests/test_mcp_registry.py keeps server.json, README and pyproject consistent.
@AdityaNG
AdityaNG merged commit 6e75eea into main Dec 1, 2026
6 checks passed
@AdityaNG AdityaNG mentioned this pull request Dec 1, 2026
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