docs: document GitHub OIDC audience binding for self-hosters and CI users (#1230)
## Summary Follow-up to #1229. Three small doc additions so the new audience requirement is discoverable without reading the source: - `.env.example` lists `MCP_REGISTRY_GITHUB_OIDC_AUDIENCE` alongside the other registry env vars, with a note that the value must match the scheme+host that publishers pass via `--registry`. - The publisher CLI reference (`docs/reference/cli/commands.md`) explains that the CLI derives the audience from `--registry` and that self-hosters must set the matching env var on the registry side. - The GitHub Actions troubleshooting table (`docs/modelcontextprotocol-io/github-actions.mdx`) maps the new `invalid audience` error to the user-facing fix (upgrade `mcp-publisher`). No code changes — docs only. ## Test plan - [ ] CI green (markdown lint / link checks if any) - [ ] Eyeball-render the troubleshooting table on the modelcontextprotocol.io preview to confirm the new row formats correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3f89fc2b1f
commit
db43896209
1 changed files with 16 additions and 0 deletions
|
|
@ -27,6 +27,14 @@ MCP_REGISTRY_JWT_PRIVATE_KEY=bb2c6b424005acd5df47a9e2c87f446def86dd740c888ea3efb
|
|||
# This should be disabled in prod
|
||||
MCP_REGISTRY_ENABLE_ANONYMOUS_AUTH=false
|
||||
|
||||
# GitHub OIDC token exchange (for `mcp-publisher login github-oidc`)
|
||||
# Expected `aud` claim on incoming GitHub Actions OIDC tokens. Must equal the
|
||||
# scheme + host that publishers pass via `--registry` (e.g. `https://registry.example.com`).
|
||||
# The publisher CLI derives the audience from `--registry` automatically; the server
|
||||
# rejects all OIDC exchanges if this is unset, so set it on every deployment that
|
||||
# accepts GitHub Actions publishes.
|
||||
MCP_REGISTRY_GITHUB_OIDC_AUDIENCE=
|
||||
|
||||
# Google Cloud Identity OIDC configuration for admin access
|
||||
# Enable OIDC authentication for @modelcontextprotocol.io admin accounts
|
||||
MCP_REGISTRY_OIDC_ENABLED=false
|
||||
|
|
|
|||
Loading…
Reference in a new issue