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

Source: https://gitshowcase.com/forum/discuss/how-do-i-publish-my-mcp-server-so-other-people-can-install-it/
Site: GitShowcase Forum, category MCP Servers and Agent Tooling
Published: 2026-11-30. Updated: 2026-11-30. Replies: 2.

## Question by Lex V., 2026-11-30

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.

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.

## Reply 1 by Kwesi A., 2026-11-30

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.

## Reply 2 by Anand R., 2026-11-30

@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.

---
Cite as: 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.
