Learning resourcesReviewed · Model Context Protocol

How to Authenticate When Publishing to the Official MCP Registry

This guide helps MCP server developers authenticate before publishing to the official MCP Registry, but interactive GitHub login currently cannot authorize organization namespaces. It explains GitHub authentication and domain verification through DNS or HTTPS, with troubleshooting for token permissions, keys and network access. The Registry is in preview.

Researched 14 Nov 2026

In short.

This guide helps developers authenticate to publish MCP servers in the official Registry, but interactive GitHub login currently grants only personal namespaces. It connects authentication choices to permitted server names and documents GitHub token requirements, DNS and HTTPS proof records, local keys, and cloud-managed signing examples. Its troubleshooting covers several concrete failure modes, although its advice about multiple DNS keys is internally inconsistent. The Registry is in preview, prices and licensing terms are unspecified, and no commands or authentication flows were executed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete page at [https://modelcontextprotocol.io/registry/authentication.md], including namespace rules, GitHub permissions and login limitations, DNS and HTTP authentication, local and cloud-key examples, OpenSSL notices, preview warnings and troubleshooting. Linked pages, documentation indexes, GitHub issues and provider documentation are excluded. Authentication success, publication, cloud integrations, network behavior and overlapping DNS-key behavior were not tested.

The overview

identity

This is the official MCP Registry documentation page for authentication before publishing a server listing [https://modelcontextprotocol.io/registry/authentication.md]. Its scope is publisher identity and permission to use a server-name prefix, called a namespace.

GitHub authentication permits names under io.github.username/* or an authorized organization namespace. Domain authentication uses a reverse-DNS namespace; the page gives io.modelcontextprotocol/everything as an example. Authentication for access to a running MCP server is outside this page’s scope.

assessment

The guide is useful for choosing a publishing identity and diagnosing why authentication fails. Its strongest details concern organization permissions, placement of DNS proof records, and the exact HTTPS response the Registry accepts.

It needs careful reading: organization ownership alone does not overcome the documented interactive-login limitation, and two passages disagree about how multiple DNS keys are handled. The documentation does not establish actual login success or operational reliability.

users

The intended readers are developers publishing MCP servers, organization owners managing a shared publishing namespace, and maintainers configuring automated publication. Domain administrators may also need it when adding DNS records or hosting the verification file.

Beginners get concrete commands and expected output, but the instructions assume familiarity with terminals, GitHub authorization and, for domain authentication, public/private keys and DNS or web hosting. Experienced developers get permission details and network requirements useful for troubleshooting.

capabilities

The page documents GitHub device login, GitHub Personal Access Token authentication, DNS TXT verification and HTTPS verification through a well-known file. Domain examples cover Ed25519 and ECDSA P-384 keys, including Google KMS and Azure Key Vault variants.

It also explains organization-role visibility, public-key mismatches, algorithm selection, misplaced DNS records, HTTP redirects, response limits and network blocks. These are documented procedures and diagnostic checks; their behavior was not independently assessed.

Using it

requirements

The instructions assume an available mcp-publisher CLI and a server project whose server.json name matches the chosen namespace. Organization publishing requires GitHub Owner status. For token authentication, a classic PAT needs read:org, while a fine-grained PAT needs Organization permissions → Members → Read-only and can see only its configured resource owner. The page says repository scopes are unnecessary.

Domain authentication requires control of the relevant DNS records or HTTPS endpoint and access to a matching signing key. The Ed25519 generation commands require OpenSSL 3.0 or later; the page warns that macOS’s system LibreSSL does not support that operation. ECDSA P-384 is documented as working with LibreSSL.

The cloud-key examples require the relevant provider CLI and configuration. Google KMS signing also uses Application Default Credentials. The required mcp-publisher version and a complete provider-permissions specification are not supplied.

mechanism

GitHub authentication establishes the publisher’s account identity and available namespaces. Domain authentication uses a signing key paired with a publicly discoverable proof record containing a protocol marker, algorithm and public key. The documented algorithm identifiers are ed25519 and ecdsap384.

DNS proof belongs at the domain apex, such as example.com. HTTP proof belongs at /.well-known/mcp-registry-auth. For HTTP verification, the Registry sends a GET with Accept: text/plain and User-Agent: mcp-registry/1.0. It requires status 200, accepts a body of at most 4096 bytes, trims surrounding whitespace, allows 10 seconds for the request and does not follow redirects.

The hosted Registry fetches from Google Cloud infrastructure, and the endpoint must resolve to a reachable public address. A successful request from the publisher’s own computer therefore does not establish Registry reachability.

setup

First choose the intended namespace and align the server.json name with it. For a personal GitHub namespace, the documented command is mcp-publisher login github, followed by browser authorization at [https://github.com/login/device]. For an organization namespace, the page directs publishers to a suitably permissioned PAT or GitHub Actions.

For domain authentication, generate or configure a signing key and publish its proof record at the DNS apex or the required HTTPS path. Allow DNS changes to propagate, then use the corresponding login dns or login http command with the domain and key configuration. The algorithm flag must match the published record; its default is ed25519.

The page supplies local-key and cloud-key commands but does not provide a complete CLI installation or server-publication walkthrough.

example

For a developer whose GitHub username is alice, the page’s example server name is io.github.alice/weather-server. The documented personal login starts with mcp-publisher login github and asks the developer to enter a terminal-provided code in GitHub’s device-authorization page. The displayed success messages are illustrative documentation output.

For a domain example, an HTTPS proof file would be served directly at [https://example.com/.well-known/mcp-registry-auth]. Its algorithm and public key must match the expected record printed by the login command. A redirect, an HTML error page returned with status 200, or a blocked request from the Registry can prevent verification. Neither example was executed.

Assessment & evidence

limitations

The Registry is explicitly in preview, with possible breaking changes or data resets before general availability. The page says interactive GitHub login cannot currently authorize organization namespaces because its GitHub App user tokens cannot expose organization memberships. It links this limitation to issue 1468 [https://github.com/modelcontextprotocol/registry/issues/1468].

The DNS guidance is internally inconsistent. An early warning says a stale TXT record is tried first and can cause verification failure; later troubleshooting says all valid published MCP keys are tried and another record does not take precedence. Actual behavior with overlapping keys remains unresolved by this page.

HTTP verification depends on public reachability from the Registry. WAF challenges, cloud-address blocks, unreachable DNS addresses, redirects and incorrect response bodies can cause failure. No CLI execution, cloud integration, endpoint verification or completed publication was assessed.

reasoning

The practical lesson is to check authorization, key consistency and proof reachability separately. Owning a GitHub organization is insufficient if the authentication method cannot reveal that role. Likewise, publishing the correct public key is insufficient if the Registry cannot retrieve it.

Based on the documented steps, personal GitHub login offers the most direct starting point for an individual who accepts a personal namespace. A domain namespace requires additional DNS or hosting setup. These are comparisons of the documented requirements, not measured setup effort or reliability.

alternatives

The alternatives covered here are authentication routes within the official Registry. Personal GitHub login suits a personal namespace. For an organization namespace, the page offers an appropriately permissioned PAT or GitHub Actions using OIDC; the linked Actions instructions are outside this report’s scope.

For domain namespaces, DNS authentication requires publishing an apex TXT record, while HTTP authentication requires serving the verification file at a public HTTPS endpoint. Local keys, Google KMS and Azure Key Vault are documented signing options. Other registries and publishing tools were not assessed.

evidence

The evidence is the complete official authentication page at [https://modelcontextprotocol.io/registry/authentication.md], captured at 2026-11-14T16:04:40.009Z. It supplies procedures, warnings and illustrative output rather than independent execution results.

The captured source revision is sha256:b05d60863a78f74892ed7341592a981d601fda4173c704fe6c43dd353293bcb6. Linked documentation, issue discussions and provider pages were not assessed. No commands, logins or network requests were executed.

Access & freshness

costs

The page specifies no prices for Registry publishing, the publisher CLI, Google KMS, Azure Key Vault, DNS or HTTPS hosting. It does not establish that any route is free. Total setup and ongoing costs are unknown.

rights

The supplied page states no licence or redistribution terms for its text, command examples or the publisher CLI. Reuse permissions are unknown from this evidence. Namespace authorization establishes where an account may publish; it does not establish rights to any server code or documentation.

freshness

The capture date establishes when this text was retained, not when each instruction was last updated. The supplied page states no publication date, last-updated date or mcp-publisher release version.

Preview status and the organization-login workaround make current behavior especially relevant. Whether the linked issue has been resolved or the documented requirements have changed since capture is unknown.

actions

Choose the required namespace before configuring authentication. For organization publishing, confirm Owner status and the token’s ability to read organization membership, or consult the referenced GitHub Actions route. For domain publishing, compare the current login command’s expected proof record with the published algorithm and public key.

For HTTP failures, check the direct endpoint’s status, body and reachability from outside the local network. For DNS, verify the exact apex record and remove retired authentication records while preserving keys still in use. Resolve the contradictory overlapping-key guidance before relying on a rotation procedure, and account for the Registry’s preview status.

Evidence for this report

selected-page.txtselected · checked 2026-11-14