DEV Community

GrahamduesCN
GrahamduesCN

Posted on

I built mcp-hub — a CLI to find and install MCP servers without digging through npm

MCP has 13,000+ servers and 97M monthly SDK downloads. But finding them sucks — you search npm with weird prefixes or dig through GitHub folders.

So I built mcp-hub:

npm install -g mcp-hub
mcp-hub search database
mcp-hub install @modelcontextprotocol/server-postgres
Enter fullscreen mode Exit fullscreen mode

What it does

  • mcp-hub search — find servers by keyword
  • mcp-hub install — one command, real npm package
  • mcp-hub popular — see what is trending

Terminal-based. TypeScript + Node.js. No framework, just commander + chalk.

What I got wrong

  • npm install -g needs sudo on Linux. Added --method npx but it is clunky.
  • Only 5 servers in the registry. Need a submission system.
  • Web dashboard is static HTML loading from a JSON file.

Stack

TypeScript + Node.js + commander + chalk. Zero framework.

Links

If this helps you, PayPal: paypal.me/GrahamduesCN
If it breaks, open an issue. Feedback welcome.

Top comments (0)