You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People will probably want to publish to the registry from CI environments. DNS auth can work here fine (#270). But for people who haven't set up DNS, the standard GitHub device flow won't really work here. We could make this nice by supporting GitHub Actions OIDC.
The registry would expose a /v0/auth/github-oidc endpoint that accepts GitHub's OIDC tokens directly. When a GitHub Action wants to publish, it would request an OIDC token from GitHub (using the built-in ACTIONS_ID_TOKEN_REQUEST_TOKEN and ACTIONS_ID_TOKEN_REQUEST_URL - see here for more details), configured with aud: "mcp-registry" or similar. The action would then pass this token to the registry's /v0/auth/github-oidc endpoint.
Question: For namespace permissions, should we grant io.github.<org>/* or io.github.<org>/repo/*?
I'm leaning towards the former, because many people have monorepo setups where they want to deploy many things from. But open to other opinions here! I guess should be easy to change based on feedback from people in the beta.
Activity
domdomegg commentedon Aug 18, 2025
Question: For namespace permissions, should we grant
io.github.<org>/*orio.github.<org>/repo/*?I'm leaning towards the former, because many people have monorepo setups where they want to deploy many things from. But open to other opinions here! I guess should be easy to change based on feedback from people in the beta.
auth: Add GitHub OIDC auth (modelcontextprotocol#278)
tadasant commentedon Aug 21, 2025
@domdomegg I think
io.github.<org>/*is right