自作MCPサーバーを公式レジストリと各ディレクトリに載せる — 全手順とハマりどころA practical guide covering the full process of listing a custom MCP server on…
自作のMCPサーバーを公式レジストリやサードパーティのディレクトリに掲載するための具体的な手順と、つまずきやすいポイントをまとめた実践ガイド。公開までの流れを把握したい開発者にとって有用な情報源となっている。
A practical guide covering the full process of listing a custom MCP server on the official registry and third-party directories, including common pitfalls. Useful for developers looking to make their MCP servers discoverable by a wider audience.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (zenn.dev) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (zenn.dev).
Model Context Protocol(MCP)は、AIアシスタントを外部のデータソースやツールへ標準的な方法で接続するためのオープンプロトコルだ。今回取り上げるのは、自作のMCPサーバーを公式レジストリやサードパーティのディレクトリに掲載し、より多くのユーザーに見つけてもらうための実践ガイドである。
MCPは2024年後半にAnthropicが公開して以降、Claudeをはじめとする複数のAIクライアントが対応を進め、対応ツールやサーバーが急速に増えてきた。サーバーを作るだけでは他者の目に触れにくいため、公開して配布する仕組みが重要になる。公式のMCPレジストリは、こうしたサーバーを一元的に検索・参照できる場として位置づけられており、掲載することで導入のハードルを下げられる可能性がある。
ガイドでは、公開までの一連の流れが順を追って解説されている。一般的には、サーバーのメタデータを記述した設定ファイル(server.jsonなどのマニフェスト)を用意し、名前や説明、インストール方法、対応するトランスポート(標準入出力やHTTPなど)といった情報を正確に記載する必要がある。加えて、名前空間の指定やパッケージレジストリ(npmやPyPIなど)との紐付け、認証や検証の手順でつまずきやすいとされる。
サードパーティのディレクトリについても触れられている。コミュニティ主導で運営される一覧サイトやまとめリポジトリは複数存在し、掲載条件や必要な情報がそれぞれ異なる。公式レジストリと併用することで露出を広げられるが、記載フォーマットの違いにより二重の作業が発生する場合がある点には注意が必要だ。
MCP対応のエコシステムは発展途上であり、仕様やレジストリの運用方法も更新が続くと見られる。掲載を検討する開発者にとって、本ガイドのような手順とハマりどころの整理は、公開作業の見通しを立てるうえで有用な参照先となりそうだ。最新の仕様や要件については、公式ドキュメントを都度確認することが望ましい。
The Model Context Protocol (MCP) has quickly become a common way to connect AI assistants to external tools and data, and getting a self-built server in front of users increasingly depends on where it is listed. This guide walks through the full process of publishing a custom MCP server to the official registry and to third-party directories, along with the mistakes that commonly trip up first-time publishers.
MCP, introduced by Anthropic in late 2024, is an open standard that lets clients such as Claude Desktop, various IDE extensions, and other agent frameworks call out to servers that expose tools, resources, and prompts. A server can wrap almost anything, from a database query to a filesystem operation or a third-party API. Building one is only half the work, though. Unless it appears in a catalog that clients and developers actually browse, discovery relies on word of mouth or direct links.
The official MCP registry, which launched in preview form, functions as a central metadata catalog rather than a package host. It does not store your code. Instead it records where a server lives, typically an npm package, a PyPI package, a Docker image, or a remote endpoint, and describes how clients should install and run it. The core of a listing is a server.json file that declares the name, description, version, and one or more package or remote entries. Names use a reverse-DNS-style namespace, commonly in the form io.github.username/server-name, which ties the listing to an identity the publisher controls.
Publishing generally happens through a dedicated command-line tool, often referred to as the publisher CLI. The typical flow is to authenticate, validate the server.json against the expected schema, and then push the entry. Authentication frequently uses GitHub for io.github.* namespaces, while custom domains can be verified through DNS records. This ownership check is meant to prevent someone from claiming a namespace they do not control, and it is one of the first places where the process can stall if the authenticated identity does not match the declared namespace.
Several pitfalls recur often enough to be worth flagging in advance. A frequent one is registering a listing before the underlying package is actually published to npm or PyPI, which leaves clients unable to install the server even though the entry exists. Versioning is another: published versions are generally treated as immutable, so attempting to overwrite an existing version tends to fail and requires a version bump instead. Schema validation errors, malformed package metadata, and incorrect runtime or transport declarations also account for a large share of rejected submissions. Testing the server locally with a real client before publishing usually surfaces these problems earlier.
Beyond the official registry, a number of third-party directories aggregate MCP servers. Examples that have appeared in the ecosystem include Smithery, Glama, and PulseMCP, among others. Some of these pull automatically from the official registry, while others require a separate submission. Several add features such as search, one-click installation, hosted execution, or usage metrics. Because their ingestion methods differ, a server that is correctly listed in the official registry may still need manual steps, or a waiting period, before it appears elsewhere. Maintainers who want broad reach generally treat the official registry as the canonical source and then confirm how each directory consumes that data.
It helps to understand a few prerequisite concepts. MCP servers communicate over defined transports, historically standard input/output for local processes and increasingly HTTP-based transports for remote or hosted servers, and the registry entry needs to reflect whichever the server supports. Clear documentation, a license, and a stable repository also matter, since both the registry and downstream directories surface that information to potential users.
The broader context is an ecosystem still in flux. The registry remains relatively new, tooling and schemas continue to evolve, and directory conventions are not fully standardized, so specific commands and field requirements are likely to change over time. Anyone publishing today should expect to check the current documentation rather than rely solely on older walkthroughs. Even so, the general shape of the process, namely declare metadata, prove ownership, validate, publish, and then propagate to directories, appears stable enough to make listing a custom server a manageable task for most developers.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko自作のMCPサーバーを作ったあと、公開するにはまず何をすることになるの?Once I've built my own MCP server, where do I start if I want to publish it?
- TECHガイドTECH Guideこの記事だと、まず公式のMCP Registryに登録するのが起点です。そこからGlamaやmcp.soなどのディレクトリが、自動クロールで拾ってくれる流れだそうです。This article says to start with the official MCP Registry. Directories like Glama and mcp.so can then pick your server up through automatic crawling.
- ポコPoko登録って、前はもっと大変だったの?今回は何が楽になったんだろう。Was registering harder before? What's become easier this time?
- TECHガイドTECH Guide以前との比較は書かれていないので、違いは分からないんだ。筆者は「思ったより簡単」と書いていて、公開鍵を置き、CLIでログインし、server.jsonを登録する流れだよ。The article doesn't compare with before, so I can't say. The author calls it easier than expected: place a public key, log in with the CLI, and register server.json.
- ポコPokoじゃあ一番の収穫は、APIキーなしでも起動してtools/listに答えられることが、掲載の事実上の条件ってこと?So the big takeaway is that starting without an API key and answering tools/list is basically a requirement for directory listings?
- TECHガイドTECH Guideそう、そこが筆者のいう一番のハマりどころだね。あと、登録後もwell-knownファイルは消さずに配信し続ける点も、注意として書かれているよ。Right, that's the author's biggest pitfall. Also worth noting: keep serving the well-known file after registration, since it's checked at every re-login.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy



