I've been working with MCP (Model Context Protocol) servers and found the install/config process painful:
- Find the server on GitHub
- Read the docs to figure out the config
- Manually edit JSON config files for Claude Desktop / Cursor
- 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
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
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
GitHub: https://github.com/Ricardo-M-L/mcphub
Would love feedback and contributions!
Top comments (0)