Skip to content

ci: publish server.json to the MCP Registry on release (GitHub OIDC)#2

Open
AlexDuchDev wants to merge 1 commit into
mainfrom
feat/publish-mcp-registry
Open

ci: publish server.json to the MCP Registry on release (GitHub OIDC)#2
AlexDuchDev wants to merge 1 commit into
mainfrom
feat/publish-mcp-registry

Conversation

@AlexDuchDev
Copy link
Copy Markdown
Collaborator

Wires up automated publishing of the existing server.json to registry.modelcontextprotocol.io.

What it does — on a v*.*.* tag (or manual dispatch): installs mcp-publisher, authenticates via GitHub OIDC (no secrets, no browser login), syncs server.json version to the tag, and runs mcp-publisher publish. The repo's org (Moai-Team-LLC) authorizes the io.github.* namespace.

Why OIDC + remotesserver.json uses the remotes transport (self-hosted {baseUrl}/mcp), so no published npm/Docker artifact is needed; OIDC avoids any interactive login.

Heads-up (first run): if publish fails with a permission/namespace error, the fix is almost always to lowercase the namespace in server.jsonio.github.moai-team-llc/agenticmind (GitHub-OIDC derives the namespace from the org login, typically lowercased). The schema itself allows mixed case, so I left your value as-is.

To publish: merge, then push a tag (e.g. git tag v0.3.1 && git push origin v0.3.1).

Adds .github/workflows/publish-mcp.yml — on a v*.*.* tag it installs
mcp-publisher, authenticates with GitHub OIDC (no secrets), syncs
server.json version to the tag, and publishes to registry.modelcontextprotocol.io.
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