@mazhu/mcp-hub
v1.0.0
Published
MCP Server Hub - Discover, search, and install MCP Servers
Downloads
145
Maintainers
Readme
MCP Server Hub
Discover, search, and install MCP Servers with one command
MCP Hub is a CLI tool that helps you discover and manage MCP (Model Context Protocol) servers. It provides a curated registry of high-quality MCP servers with search, categorization, and installation tracking.
🚀 Quick Start
# Install globally
npm install -g mcp-hub
# List all available servers
mcp-hub list
# Search for servers
mcp-hub search database
# Show server details
mcp-hub show github-mcp
# Install a server
mcp-hub install github-mcp
# View installed servers
mcp-hub installed📦 Available Commands
| Command | Description |
|---------|-------------|
| mcp-hub list | List all available MCP servers |
| mcp-hub search <query> | Search servers by keyword, tag, or category |
| mcp-hub show <name> | Show detailed information about a server |
| mcp-hub install <name> | Install and track an MCP server |
| mcp-hub uninstall <name> | Remove from installed list |
| mcp-hub installed | List your installed servers |
| mcp-hub categories | Browse servers by category |
| mcp-hub top [n] | Show top N servers by GitHub stars |
| mcp-hub config | Show config location |
| mcp-hub help | Show help message |
🗂️ Server Categories
- api - External API integrations (GitHub, Google Maps, etc.)
- database - Database connectors (PostgreSQL, SQLite, Redis)
- filesystem - File system operations
- search - Web search engines
- ai - AI/ML tools and memory
- tools - Utility tools (browser automation, code review)
- communication - Messaging platforms (Slack, etc.)
- other - Miscellaneous servers
📋 Included Servers
MCP Hub includes a curated registry of 15+ verified MCP servers:
| Server | Category | Description | |--------|----------|-------------| | github-mcp | api | GitHub API integration | | filesystem-mcp | filesystem | Secure file system access | | brave-search-mcp | search | Brave Search API | | postgres-mcp | database | PostgreSQL database | | sqlite-mcp | database | SQLite database | | puppeteer-mcp | tools | Browser automation | | slack-mcp | communication | Slack integration | | memory-mcp | ai | Persistent AI memory | | code-review-mcp | tools | AI code review |
🔧 Configuration
Installed servers are tracked in ~/.mcp-hub/installed.json.
Each server may require environment variables or configuration:
# GitHub MCP
export GITHUB_PERSONAL_ACCESS_TOKEN=your_token
# Brave Search MCP
export BRAVE_API_KEY=your_key
# PostgreSQL MCP
# Provide connection string when configuring📚 Programmatic API
You can also use MCP Hub as a library:
import {
searchServers,
getByName,
getByCategory,
getTopServers,
getInstalledServers,
addInstalledServer
} from 'mcp-hub';
// Search servers
const results = searchServers('database');
// Get specific server
const github = getByName('github-mcp');
// Get top servers
const top = getTopServers(10);
// Track installation
addInstalledServer(github);🧪 Development
# Clone the repo
git clone https://github.com/deepdadou/mcp-hub.git
cd mcp-hub
# Build
npm run build
# Run tests
npm test
# Run CLI locally
node dist/cli.js list🎯 Roadmap
- [ ]
mcp-hub update- Update server registry - [ ]
mcp-hub exec <name>- Execute server directly - [ ]
mcp-hub config <name>- Interactive configuration - [ ] Plugin system for custom registries
- [ ] Cloud sync for installed servers
- [ ] Server ratings and reviews
💎 MCP Hub Pro (Coming Soon)
- Cloud dashboard for team management
- Private server registries
- Analytics and usage tracking
- One-click deployment
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
MIT © Mike Wang (迈克王)
🔗 Links
Made with ❤️ by the MCP community
