Skip to content

List the MCP server in the MCP Registry via CI OIDC - #56

Merged
vstantch merged 2 commits into
mainfrom
chore/mcp-registry-oidc
Sep 29, 2026
Merged

vstantch merged 2 commits into
mainfrom
chore/mcp-registry-oidc

Conversation

@vstantch

Copy link
Copy Markdown
Member

Summary

  • Adds server.json and a mcp-registry.yml workflow that publish.yml calls after the PyPI publish; it logs in with GitHub OIDC because the device login no longer grants the io.github.presidio-v namespace (403 on org namespace: token minted without org permission despite public membership and Owner role modelcontextprotocol/registry#1527, #1649). Same fix as presidio-hardened-x402-mcp#64.
  • Adds a presidio-hardened-ikigov-assess console script (alias of iga-mcp) so registry clients can launch uvx --from "presidio-hardened-ikigov-assess[mcp]==V" presidio-hardened-ikigov-assess, plus the mcp-name ownership marker in README.md.
  • tests/test_server_json.py fails CI when server.json drifts from __version__, exceeds the 100-char description limit, or loses the marker.

Sequencing: the registry reads the marker from the PyPI README, so the first listing is v0.26.0. Merge #55 first; this branch is then rebased and server.json bumped to 0.26.0 (the new test fails until it is).

Test plan

ceoofcyber
ceoofcyber previously approved these changes Sep 29, 2026
The iga MCP server was never in the registry. Port the x402-mcp fix:
the mcp-publisher device login mints tokens without the presidio-v
org namespace (modelcontextprotocol/registry#1527, #1649), so
publish.yml now calls mcp-registry.yml after PyPI and logs in with
GitHub OIDC, which grants io.github.<repo-owner>/*.

Registry clients run `uvx --from pkg[mcp] <identifier>`, and uvx runs
the script named after the identifier, so add a
presidio-hardened-ikigov-assess alias of iga-mcp. README.md carries
the mcp-name ownership marker the registry reads from PyPI, so the
first listing is the first release that ships it. A test keeps
server.json in step with the package version and the 100-char
description limit.
server.json moves to 0.26.0 with the package, so the registry job lists the release that first ships the mcp-name marker.
@vstantch

Copy link
Copy Markdown
Member Author

Rebased onto main after #55 and #57. Changes since the last approval: server.json moves to 0.26.0, the registry entries join the 0.26.0 CHANGELOG section, which is now dated 2026-09-29, and the CII maintained / tests_are_added answers cite v0.26.0. 585 tests pass locally; mcp-publisher validate passes at 0.26.0.

@vstantch
vstantch merged commit eb1dc82 into main Sep 29, 2026
6 checks passed
@vstantch
vstantch deleted the chore/mcp-registry-oidc branch September 29, 2026 21:26
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.

2 participants