How to Submit Your MCP Server to the Official MCP Registry (server.json, mcp-publisher & Aggregators) featured image
MCP Registry · server.json · mcp-publisher CLI · Ecosystem Discovery

How to Submit Your MCP Server to the Official MCP Registry (server.json, mcp-publisher & Aggregators)

Pull requests to add server.json directly to the registry repository are rejected. Publishing to registry.modelcontextprotocol.io runs exclusively through cryptographic namespace verification, package artifact binding, and the mcp-publisher CLI. Here is the end-to-end engineering and distribution playbook—from writing a dual-mode server.json and automating GitHub OIDC releases to keeping downstream aggregators and curated SaaS directories in sync.

Critical rule

The Official MCP Registry hosts immutable versioned metadata—not source code—and rejects manual pull-request submissions.

Verification two-step

Prove namespace ownership via GitHub or DNS Ed25519 TXT records, then bind your artifact via mcpName or OCI labels.

Distribution payoff

One clean server.json feeds v0.1/servers syncs across aggregators while curated directories convert human buyers.

How to submit an MCP server to the official registry: the quick answer

To submit your Model Context Protocol (MCP) server to the Official MCP Registry at registry.modelcontextprotocol.io, you publish your underlying package or remote endpoint first, bind the artifact back to your chosen reverse-DNS or GitHub namespace, author a schema-valid server.json manifest, authenticate with mcp-publisher, and push an immutable release from the command line or GitHub Actions.

Unlike legacy awesome-lists on GitHub, the Official MCP Registry does not accept pull requests containing server entries, and it does not host tarballs, containers, or runtime servers. Instead, it operates as a vendor-neutral metadata catalog backed by cryptographic namespace proof and package-registry cross-checks. Once published, there is no manual editorial queue: your version appears immediately in the public REST API (/v0.1/servers) where downstream aggregators, IDE registries, and AI host directories ingest updates.

Follow these five steps in strict order to avoid the validation errors that trip up first-time maintainers:

  1. Ship the runnable artifact first: Publish your npm package, PyPI distribution, OCI container image, or live HTTPS streamable-http remote endpoint before running mcp-publisher publish. The registry validates package ownership live against the upstream package host.
  2. Pick a namespace you actually control: Use io.github.<username-or-org>/<server-slug> for GitHub authentication, or a reversed custom domain such as com.<company>/<server-slug> when authenticating via DNS TXT records or HTTP verification.
  3. Add the ownership back-link inside your artifact: Place "mcpName" in npm package.json, <!-- mcp-name: ... --> in your PyPI README.md, or LABEL io.modelcontextprotocol.server.name in your Docker image so third parties cannot hijack your package under their own namespace.
  4. Author and validate server.json: Run mcp-publisher init (or craft your manifest against the current server.schema.json), declaring every packages[] transport, environmentVariables[], packageArguments[], and remotes[] endpoint cleanly.
  5. Authenticate, publish, and verify: Run mcp-publisher login github or mcp-publisher login dns, execute mcp-publisher publish, and confirm your live record via curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=...".

Why maintainers get stuck on day one

Published versions in the Official MCP Registry are immutable. If you push version 1.0.0 with a typo in your description or a missing environment variable, you cannot overwrite 1.0.0 in place—you must bump to 1.0.1 and publish a new version.

How the Official MCP Registry works vs. ecosystem directories

Developers discussing MCP launches in r/mcp and r/SaaS frequently conflate three different layers of software discovery: the canonical Official MCP Registry, automated MCP aggregators, and curated SaaS/AI buyer directories. Treating them as interchangeable causes teams either to skip the official registry completely—losing automated client sync—or to assume a bare server.json record is enough to win SaaS buyer evaluations.

In reality, the Official MCP Registry sits upstream as the machine-readable source of truth. Downstream MCP directories (such as Glama, PulseMCP, mcp.so, and community catalogs) poll the registry’s incremental updated_since feed, enrich entries with repository stars or uptime probes, and expose web search interfaces. Meanwhile, curated AI assistant connector directories and commercial software directories—such as the SaaSLyra SaaS & AI tool directory—serve human software buyers, engineering leads, and AI answer engines that evaluate pricing models, category fit, security posture, and product comparisons before installing anything.

MCP Server Official Registry and Ecosystem Distribution FlowPackage registries and remote endpoints bind via mcpName or OCI labels into server.json, publish through mcp-publisher CLI into registry.modelcontextprotocol.io, and fan out to automated aggregators and curated SaaS directories.1. UPSTREAM ARTIFACTnpm (mcpName)PyPI (mcp-name tag)OCI (server.name label)Remote HTTPS /mcp2. MANIFEST + PROOFserver.json schemaGitHub OIDC or DNS TXTmcp-publisher publish3. OFFICIAL REGISTRYregistry.modelcontextprotocol.ioImmutable versionsGET /v0.1/servers APIMCP AGGREGATORSAuto-sync via updated_sinceIDE & client catalogsSAAS DIRECTORIESSaaSLyra & buyer hubsPricing, fit & AI answers
The Official MCP Registry is the cryptographic metadata spine; aggregators and curated buyer directories turn that metadata into adoption.
Surface TypeSubmission MechanismVerification & Trust GateWhat It Optimizes ForWhat It Misses Alone
Official MCP Registry
(registry.modelcontextprotocol.io)
server.json + mcp-publisher CLI / GitHub OIDCNamespace ownership (GitHub/DNS) + upstream package cross-check (mcpName, PyPI, OCI)Canonical machine discovery, standardized install/remote schemas, client auto-syncNo product screenshots, pricing comparisons, buyer reviews, or commercial positioning
MCP Aggregators & Indexers
(e.g., Glama, PulseMCP, mcp.so)
Automatic sync from Official Registry API + GitHub/web claimsAutomated uptime/health scans and repository activity checksDeveloper browsing, popularity sorting, quick copy-paste client configsOAuth-protected remote servers can look “unhealthy” if 401/discovery headers fail scanners
AI Assistant Connector Catalogs
(e.g., host-specific connector portals)
Dedicated connector portal & safety reviewStrict tool annotations (readOnlyHint, destructiveHint), OAuth conformance, human reviewOne-click end-user installation inside consumer or enterprise AI hostsSlow approval lead times and strict remote-only hosting requirements
Curated SaaS & AI Directories
(e.g., SaaSLyra)
Structured founder profile & category submissionEditorial review, pricing model clarity, audience tags, structured schemaHigh-intent software buyers, comparison research, LLM answer corroborationNot a runtime package resolver for local CLI installers

Understanding this division of labor solves an immediate strategic mistake: publishing to registry.modelcontextprotocol.io is mandatory infrastructure for developer distribution, not a substitute for human-readable product positioning. If you are building a commercial SaaS with an MCP server, pair your technical registry entry with the broader commercial evidence covered in the MCP server listing checklist and our Agent Experience for SaaS checklist.

Choose your namespace and verification method before naming anything

Every server in the Official MCP Registry is uniquely identified by a reverse-DNS-style name formatted as <namespace>/<server-slug>. You cannot pick an arbitrary short name like stripe or analytics; namespaces exist specifically to prevent squatting and impersonation. Your namespace prefix dictates which authentication path mcp-publisher login expects—and changing your namespace later effectively creates a brand-new server identity.

Best for open-source maintainers and individual/org repos. Use io.github.<github-username-or-org>/<server-name> (for example, io.github.saaslyra/directory-mcp). Authenticate locally via mcp-publisher login github using GitHub’s OAuth device flow, or non-interactively in CI/CD via mcp-publisher login github-oidc. Remember that GitHub organization namespaces require your authenticated GitHub account (or workflow repository) to hold permission for that org or user namespace.

Best for commercial SaaS brands with a custom domain. Reverse your domain segments—such as com.saaslyra/mcp-server for saaslyra.com. Generate an Ed25519 keypair, publish the public key in a DNS TXT record on your domain, and authenticate via mcp-publisher login dns --domain saaslyra.com --private-key <hex-key>. Using your company domain ensures your registry ID matches your canonical brand and remote API host even if your GitHub organization changes.

Best when DNS changes require slow IT tickets. Reversed custom domain namespaces can also prove control via HTTP verification by serving an Ed25519 signature/public key challenge at a well-known path over HTTPS on the target domain, then authenticating with mcp-publisher login http. Keep the keypair in your team’s secrets manager—never commit private signing keys into the repository alongside server.json.

Naming rules and common namespace mistakes

  • Match casing and reverse-DNS order exactly: For a domain acme.io, the namespace prefix is io.acme, not acme.io. For a GitHub org AcmeCorp, match the GitHub handle cleanly in lowercase (io.github.acmecorp/billing-mcp).
  • Use custom domains for production SaaS servers: Even if your code lives in a personal or temporary repo today, publishing commercial SaaS endpoints under com.yourcompany/product-mcp aligns your MCP identity with your website domain, OAuth issuer, and AI search entity signals.
  • Never publish throwaway test names into production namespaces: Because published server versions are immutable and remain discoverable unless explicitly marked deleted, validate experimental manifests against a local/staging workflow or a dedicated sandbox slug before touching your flagship brand name.

Bind your distribution artifacts so the registry accepts ownership

Proving you own io.github.yourname or com.yourcompany is only half of the security model. Without a second check, an attacker could declare someone else’s popular npm package or Docker image inside their own server.json and trick users into running it under a misleading description. To block package hijacking, the Official MCP Registry enforces bidirectional verification: your server.json points to the package, and the published package metadata must point back to your exact server.json name.

Distribution ChannelregistryType / EntryRequired Back-Link ProofWhere Proof LivesCommon Validation Failure
npm (Node.js / TypeScript)"registryType": "npm""mcpName": "io.github.user/server"Published package.json on registry.npmjs.orgAdded mcpName locally after running npm publish, so live npm tarball lacks it
PyPI (Python / uvx)"registryType": "pypi"<!-- mcp-name: io.github.user/server --> (or mcp-name: ... text)Published package description / README.md rendered on pypi.orgMarkdown stripped or commented syntax altered by build backend before upload to PyPI
Docker / OCI Containers"registryType": "oci"LABEL io.modelcontextprotocol.server.name="io.github.user/server"Pushed image manifest / Dockerfile metadata on GHCR or Docker HubLabel applied to local build only or omitted on multi-arch manifest index
NuGet (.NET)"registryType": "nuget"Package metadata / README ownership tag matching server namePublished .nupkg package metadata on NuGetPackage version mismatch between .csproj and server.json
Remote Hosted Serverremotes[] (streamable-http / sse)Domain/HTTPS endpoint alignment + compliant MCP & OAuth handshakeLive public endpoint URL (e.g., https://mcp.yourcompany.com/mcp)Endpoint returns HTML 404/500 or non-standard auth challenge to registry/aggregator probes

Exact snippets for package ownership proofs

Copy the exact snippet for your runtime before cutting your release tag. Every string must match the top-level "name" field in server.json character-for-character:

// 1. npm package.json
{
  "name": "@yourorg/your-mcp-server",
  "version": "1.2.0",
  "mcpName": "com.yourcompany/your-mcp-server",
  "bin": {
    "your-mcp-server": "dist/index.js"
  }
}

# 2. PyPI README.md (invisible in rendered HTML, readable by registry verifier)
<!-- mcp-name: com.yourcompany/your-mcp-server -->

# 3. Dockerfile (OCI image label)
LABEL io.modelcontextprotocol.server.name="com.yourcompany/your-mcp-server"

Notice the release ordering requirement: npm, PyPI, or OCI publish must finish and propagate before mcp-publisher publish executes. If your CI/CD workflow runs both jobs in parallel, mcp-publisher will query npm or PyPI a few seconds too early and reject the submission with a missing-ownership or version-not-found error.

Anatomy of a production server.json manifest

A minimal server.json works for a toy local script, but production SaaS and developer-tool servers need explicit runtime hints, argument definitions, secret environment-variable flags, and repository pointers. Clients and aggregators read these fields to generate one-click install buttons, prompt users safely for API keys, and display accurate source links without scraping your README.

Below is a clean, schema-aligned template supporting both local CLI execution (packages[] via npx or OCI) and a hosted remote endpoint (remotes[] via streamable-http) in a single canonical record:

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "com.yourcompany/your-mcp-server",
  "title": "YourCompany MCP Server",
  "description": "Connect AI agents to YourCompany workspaces to search records, audit configurations, and export reports.",
  "version": "1.2.0",
  "websiteUrl": "https://yourcompany.com/docs/mcp",
  "repository": {
    "url": "https://github.com/yourcompany/your-mcp-server",
    "source": "github"
  },
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@yourorg/your-mcp-server",
      "version": "1.2.0",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "packageArguments": [
        {
          "type": "named",
          "name": "--mode",
          "description": "Execution mode for tool exposure (readonly or full)",
          "isRequired": false,
          "default": "readonly"
        }
      ],
      "environmentVariables": [
        {
          "name": "YOURCOMPANY_API_KEY",
          "description": "Scoped workspace API token generated in Dashboard -> Settings -> API",
          "isRequired": true,
          "format": "string",
          "isSecret": true
        }
      ]
    },
    {
      "registryType": "oci",
      "identifier": "ghcr.io/yourcompany/your-mcp-server:1.2.0",
      "transport": {
        "type": "streamable-http",
        "url": "http://{host}:{port}/mcp"
      }
    }
  ],
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/v1/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "Bearer OAuth access token or scoped API key",
          "isRequired": true,
          "isSecret": true
        }
      ]
    }
  ]
}

Field-by-field quality checks before you publish

  • Pin the exact schema URL: Keep $schema pointing to the active version supported by your installed mcp-publisher binary (verify with mcp-publisher --version and mcp-publisher init if upgrading across draft schema dates).
  • Keep description concrete and scannable: Registry schemas enforce tight length limits on descriptions (typically concise single-sentence summaries around 100 characters). State the exact job to be done and supported capabilities—skip marketing fluff like “revolutionary AI platform.”
  • Declare every secret with "isSecret": true: MCP host UIs use isSecret and isRequired on environmentVariables and remote headers to mask input fields and prevent accidental plaintext logging during client setup.
  • Specify runtimeHint and packageArguments accurately: Setting runtimeHint (npx, uvx, or docker) and typed arguments lets clients assemble valid launch commands automatically without making developers debug missing flags.
  • Document permission posture cleanly: If your server exposes a read-only mode or scoped OAuth grants, explain it in your docs and align your server’s runtime tool annotations with our MCP tool permissions matrix.

Step-by-step publishing, CI/CD automation, and REST verification

Once your package is live and your server.json passes validation, you can publish manually from your terminal for an initial launch and immediately wire subsequent version bumps into GitHub Actions so server.json never drifts behind your npm or PyPI releases.

1. Install mcp-publisher and authenticate locally

# macOS via Homebrew
brew install mcp-publisher

# Or verify installation & scaffold a fresh manifest if starting from scratch
mcp-publisher --version
mcp-publisher init

# Authenticate using GitHub device flow (for io.github.* namespaces)
mcp-publisher login github

# OR authenticate using DNS Ed25519 private key (for com.* / custom domains)
mcp-publisher login dns --domain yourcompany.com --private-key "$MCP_DNS_PRIVATE_KEY"

# Validate and publish server.json in the current directory
mcp-publisher publish

If mcp-publisher publish rejects your payload, read the exact diagnostic line before changing versions: schema errors identify the invalid JSON path, authentication errors point to an expired session or mismatched domain/GitHub handle, and package errors identify a missing mcpName or unpublished version tag.

2. Automate releases with GitHub Actions OIDC (recommended)

Manual CLI publishing works once, then fails the first time a teammate cuts a patch release on Friday afternoon and forgets to run mcp-publisher publish. For io.github.* namespaces, GitHub Actions supports OpenID Connect (OIDC) authentication via id-token: write—meaning zero stored GitHub PATs or long-lived registry tokens:

name: Publish to Official MCP Registry
on:
  release:
    types: [published]

permissions:
  contents: read
  id-token: write

jobs:
  publish-mcp-registry:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: actions/setup-node@v4
        with:
          node-version: "22"
          registry-url: "https://registry.npmjs.org"

      - run: npm ci && npm run build
      - run: npm publish --access public
        env:
          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

      # Ensure server.json version matches release tag before publishing
      - name: Install mcp-publisher
        run: |
          curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar -xz mcp-publisher
          sudo mv mcp-publisher /usr/local/bin/

      - name: Login via GitHub OIDC and publish server.json
        run: |
          mcp-publisher login github-oidc
          mcp-publisher publish

Keep one simple release discipline in CI: bind both package.json (or pyproject.toml) and server.json to the same git release tag version in your release script. Because the registry rejects duplicate version numbers, bumping both files atomically guarantees every tagged release ships a synchronized manifest.

3. Verify your listing via the Official Registry REST API

Do not rely on assumption or wait passively for third-party sites to update. Query the registry API directly right after publishing to confirm your latest version, packages, and remotes appear cleanly:

# Search by server name or keyword
curl -s "https://registry.modelcontextprotocol.io/v0.1/servers?search=com.yourcompany/your-mcp-server" | jq .

# Filter to latest versions only, or paginate with cursor
curl -s "https://registry.modelcontextprotocol.io/v0.1/servers?version=latest&limit=50"
curl -s "https://registry.modelcontextprotocol.io/v0.1/servers?limit=50&cursor=com.example/my-server:1.0.0"

# Incremental sync check used by downstream aggregators
curl -s "https://registry.modelcontextprotocol.io/v0.1/servers?updated_since=2026-11-25T00:00:00Z"

4. Prevent aggregator “unhealthy” flags on OAuth-protected remote servers

One of the most frequent complaints from remote MCP builders on Reddit is publishing a valid remotes[] entry to the Official Registry, only to watch downstream aggregators flag the endpoint as Unhealthy or 0% uptime. Why does that happen? Automated health scanners probe your remote URL without user credentials. If your gateway crashes with a 500, returns a generic web 404 on GET/POST, or hides OAuth metadata behind an app login wall, the scanner assumes your server is broken.

Make sure your remote server follows standard MCP authorization discovery: return a clean HTTP 401 Unauthorized with the proper WWW-Authenticate resource metadata pointer, serve valid Protected Resource Metadata and Authorization Server Metadata, prefer Client ID Metadata Documents (CIMD) cleanly, and avoid fragile OAuth recovery loops. You can validate your remote auth setup using our MCP CIMD compatibility checklist, MCP invalid_client recovery playbook, and MCP OAuth audit log schema.

Score your MCP Registry submission readiness

Rate each release control from 0 to 10 before running mcp-publisher publish. The scorecard weights namespace ownership, artifact binding, and remote health/auth behavior highest because those three checks cause the vast majority of failed publishes and broken aggregator syncs.

MCP Registry pre-flight readiness score

0/100

Move a slider to calculate readiness.

Treat a score below 80 as a concrete pre-release punch list: confirm the live package already exists on npm/PyPI/GHCR with the exact matching server string, test server.json locally, and verify your remote server’s unauthenticated probe behavior before locking a version number in the official registry.

Turn registry metadata into human buyer & AI answer discovery

Shipping a valid server.json to registry.modelcontextprotocol.io ensures MCP clients and automated scrapers can install or connect to your server. Yet for SaaS founders and developer-tool product marketers, technical installability is only step one of adoption. When engineering managers, security reviewers, or AI assistants research which MCP-enabled SaaS tool to adopt, a 100-character registry description cannot answer buyer questions about pricing tiers, supported audiences, security boundaries, or alternatives.

Close the gap between technical registry presence and commercial software discovery with four practical steps:

  1. Publish a structured SaaS product profile: Submit your product once on SaaSLyra so human buyers and AI answer engines see verified categories, target audiences, pricing models, AI-native status, screenshots, and clear value propositions alongside your MCP capabilities.
  2. Keep listing copy consistent everywhere: Conflicting pricing, unsupported claims, or vague taglines across directories erode both user trust and LLM citations. Align every field using our SaaS product page fields for AI answers guide and SoftwareApplication structured data checklist.
  3. Audit paid vs. free directory ROI before spending: Many third-party AI and MCP directories charge for expedited listings or featured slots. Score candidate directories objectively with the free SaaSLyra Directory ROI Calculator before committing budget.
  4. Track downstream referral and search lift: Tag outbound documentation and product links cleanly, and use your founder dashboard on SaaSLyra to manage submission tasks, refine AI-assisted listing copy, and monitor visibility score trends over time.

For a complete pre-launch audit covering pricing evidence, support channels, maintenance cadence, and buyer trust signals across your MCP server and SaaS homepage, pair this submission workflow with our pillar guide: MCP Server Listing Checklist: Make Your SaaS Discoverable and Trustworthy.

Frequently asked questions about submitting to the Official MCP Registry

Can I submit my MCP server to the Official MCP Registry via a GitHub pull request?

No. Pull requests adding server.json directly to the registry repository are rejected. All submissions must go through the mcp-publisher CLI (or its GitHub Actions OIDC flow) after proving namespace ownership and package verification.

Can I edit or overwrite a server.json version after publishing?

No. Published versions in registry.modelcontextprotocol.io are immutable. To fix a typo, update an environment variable, or add a new remote URL, increment your version string (and matching package tag) and run mcp-publisher publish again.

Should I use an io.github.* namespace or a custom domain namespace like com.company/*?

Use io.github.<username>/<slug> if your server is primarily an open-source GitHub project and you want zero-secret GitHub Actions OIDC publishing. Use a reversed custom domain (com.yourcompany/<slug>) with DNS TXT or HTTP verification for commercial SaaS products so your canonical server identity stays tied to your brand domain.

Why does mcp-publisher say my npm or PyPI package is not verified?

The registry cross-checks your published package on npm or PyPI to verify ownership. For npm, ensure "mcpName": "<exact-server-name>" is inside the already-published package.json. For PyPI, ensure <!-- mcp-name: <exact-server-name> --> is present in the published README on PyPI before running mcp-publisher publish.

Can one server.json include both local packages and a hosted remote URL?

Yes. A single server.json can declare local installable distributions in packages[] (such as npm, PyPI, or OCI containers) alongside hosted network endpoints in remotes[] (such as streamable-http), allowing MCP clients to pick the best connection mode.

Do I still need to submit manually to Glama, PulseMCP, or mcp.so after publishing?

Many MCP aggregators poll the Official Registry’s /v0.1/servers?updated_since=... API automatically. However, claiming your profile on key aggregators and submitting a complete commercial listing on SaaSLyra helps you control screenshots, pricing context, and buyer-facing positioning.

Why do aggregators mark my remote OAuth MCP server as unhealthy?

Automated scanners test endpoints without interactive logins. If your remote MCP endpoint returns a 500, redirects to an HTML login page, or omits standard OAuth 401 Unauthorized / Protected Resource Metadata headers, scanners report downtime. Return standards-compliant 401 challenges and discovery metadata.

Is the Official MCP Registry free to submit to?

Yes. Publishing to registry.modelcontextprotocol.io via mcp-publisher is free and vendor-neutral.

Ship the manifest, then own the buyer narrative

Once your server.json verifies cleanly on registry.modelcontextprotocol.io, make sure human buyers and AI answer engines find accurate pricing, category context, and trust signals too—list and optimize your product profile on SaaSLyra.

Primary sources

Sources reviewed November 25, 2026. Schema dates and CLI flags evolve with registry releases; always verify the current schema reference via mcp-publisher init before publishing.