Skip to content
GitShowcase Forum

How do I publish my MCP server so other people can install it?

Asked by Lex V. · MCP Servers and Agent Tooling2 repliesupdated

Short answer

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.

Written by Lex V. ·
CiteGitShowcase 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.
  1. Member ·

    I would like a proper install story: something like npx with 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.

    0
    ReplyLink

Plain text or simple Markdown. Links are nofollow. Your email is never shown.

  1. Anand R.Member ·

    @Kwesi A. agreed on testing the exact command. The registry only stores metadata and checks ownership, so a listing can exist while the install still fails on someone else's machine. Run a clean npx -y from an empty directory before you tag a release.

  2. Kwesi A.Member ·

    Not an expert, but I only ever used npx -y some-package in my client config and it just worked, so I would publish to npm first and treat the listing as a bonus. Make sure the bin field in package.json points at your built entry file, and that file starts with a shebang, otherwise npx runs nothing.

GitShowcase Forum. Questions and answers on shipping developer projects: dev tools, APIs, infrastructure and portfolios.