How do I publish my MCP server so other people can install it?
I built an MCP server for our internal team (TypeScript, stdio transport, a handful of read only tools) and a few people outside the company have asked to try it. Right now they clone the repo, run npm install, build it and paste an absolute path into their client config. That does not scale and half of them get the path wrong.
Cite
GitShowcase Forum, "How do I publish my MCP server so other people can install it?", https://gitshowcase.com/forum/discuss/how-do-i-publish-my-mcp-server-so-other-people-can-install-it/, accessed 2026-12-01.I would like a proper install story: something like
npxwith a package name, and ideally a listing where clients and people can discover it. I have seen mentions of an "MCP Registry" but I do not understand how it relates to npm. Do I publish to the registry instead of npm, or in addition? Who verifies that the server is really mine? What about secrets, since the server needs an API key from the user?Current setup is Node 22, the official TypeScript SDK, and a GitHub repo. No Docker yet. If the answer differs for a Python server, I would like to know that too, because a colleague has one.
Write something first.
Give people something to work with: at least 30 words on what happened and what you tried.
That is too long. Keep it under 6,000 characters.
Write the question as the title, 15 to 140 characters, no links.
Pick a category.
Add a name (2 to 40 characters, no links).
That email address does not look right.
That was quick. Read the thread, then try again.
The form expired. Reload the page and post again.
Something went wrong with the form. Reload and try again.
Please complete the check and post again.
Limit reached for now. Try again later.
This thread is closed to new replies.
This thread no longer accepts replies.
Something went wrong with the form. Reload and try again.
Post a reply or question first (name and email), then this browser can vote, edit and accept answers.
You cannot vote on your own post.
Only the author (within 30 days) or the forum team can do that.
That email already has an account. Use your sign-in link instead.
New accounts are paused for the moment. Try again later.
That was already posted.
2 answers
- Kwesi A.Member ·
Not an expert, but I only ever used
npx -y some-packagein my client config and it just worked, so I would publish to npm first and treat the listing as a bonus. Make sure thebinfield inpackage.jsonpoints at your built entry file, and that file starts with a shebang, otherwisenpxruns nothing.