Skip to Content
GenerateSaaS

Official MCP Registry

Publish your MCP server to the official MCP Registry under your own domain, so MCP directories such as mcptry list it and agents can find it.

The official MCP Registry is where MCP clients and directories find servers. You publish a server.json that describes your MCP server, and pnpm mcp:server-json writes it from your config.

The script refuses while config.mcpServer.enabled is off: there is no server to list.

Generate server.json

pnpm mcp:server-json                                    # API at <baseUrl>/api
pnpm mcp:server-json --api-url https://api.example.com  # a separately deployed backend
FieldComes from
nameconfig.mcpServer.registryName when set (a GitHub namespace such as io.github.<owner>/acme), else config.domain reversed plus your site name, e.g. com.example/acme
titleconfig.siteName
descriptionconfig.seo.description: 1-100 characters, and 40 or more reads better in directories
versionversion in the root package.json (1.0.0 when absent)
websiteUrlconfig.baseUrl
iconsconfig.logo.square, resolved against config.baseUrl
repositoryrepository in the root package.json, when it is on GitHub or GitLab
remotes<api>/mcp over streamable HTTP

The file is gitignored: it is derived from config, so generate it right before each publish. The registry accepts each version once, so raise version in the root package.json before you publish a change.

Publish it

Install the publisher: brew install mcp-publisher, or a binary from the registry releases.
Prove you own the domain in name (under a GitHub namespace, skip this and log in with mcp-publisher login github instead). Generate a key pair and publish its public key as a DNS TXT record on the apex domain, or as a file served at https://<your-domain>/.well-known/mcp-registry-auth (put it in apps/web/public/.well-known/). The registry's authentication guide has the exact openssl commands.
Log in with the private key: mcp-publisher login dns --domain example.com --private-key <key>, or mcp-publisher login http with the same flags.
Publish: run mcp-publisher publish in the folder that holds server.json.
Claim the listing on directories that read the registry, such as mcptry, so you can edit it and answer reviews.

Keep key.pem out of the repo (*.pem is gitignored). macOS's built-in openssl cannot make Ed25519 keys; use OpenSSL 3 (brew install openssl@3) or the ECDSA P-384 commands.

Directories that read the registry grade the tool list itself - see what directories grade.

On this page