DEV Community

Ricardo-M-L
Ricardo-M-L

Posted on

MCP Hub - The npm for MCP Servers (Search, Install, Manage with One Command)

I've been working with MCP (Model Context Protocol) servers and found the install/config process painful:

  1. Find the server on GitHub
  2. Read the docs to figure out the config
  3. Manually edit JSON config files for Claude Desktop / Cursor
  4. Repeat for every server

So I built MCP Hub - a CLI that does all of this in one command:

mcphub search database
mcphub install io.github.xxx/server-database
Enter fullscreen mode Exit fullscreen mode

It queries the official MCP Registry, installs the server, and auto-configures your MCP clients (Claude Desktop, Cursor). Config files are backed up before modification.

It also works as an MCP server

Add it to Claude Code and you can say "search for database MCP servers" in conversation:

go install github.com/Ricardo-M-L/mcphub/mcp@latest
claude mcp add mcphub mcphub-mcp
Enter fullscreen mode Exit fullscreen mode

Features

  • Built in Go, single binary, zero dependencies
  • Auto-detects and configures Claude Desktop + Cursor
  • Supports stdio, streamable-http, and sse transport
  • Available via curl, Homebrew, npm, and go install
  • Registry API server with SQLite + FTS5 full-text search
  • Web UI for browsing servers

Install

# One-line install
curl -fsSL https://raw.githubusercontent.com/Ricardo-M-L/mcphub/master/install.sh | sh

# Or via Go
go install github.com/Ricardo-M-L/mcphub/cmd/mcphub@latest
Enter fullscreen mode Exit fullscreen mode

GitHub: https://github.com/Ricardo-M-L/mcphub

Would love feedback and contributions!

Top comments (0)