mcphub
Language:
Python
Stars:
6
Forks:
1
README
MCPHub 🚀
MCPHub is a hybrid web/extension application for managing Model Context Protocol (MCP) servers. Think of it as apt/pip but for MCP servers, with a modern web interface and secure local system integration.
🌟 Features
- 📦 Browse and install MCP servers
- ⚙️ Manage server configurations
- 🔐 Secure local operations through Chrome extension
- 🌐 Web-based interface
- 🔄 Real-time status monitoring
- 🛠️ Environment variable management
- 📝 Claude Desktop config integration
- 🖥️ Cross-platform support
🚀 Quick Start
Install Chrome Extension and Native Host
Windows:
- Clone this repository
- Run installation script:
cd chrome-extension/scripts windows-install.bat - Load the extension in Chrome:
- Open
chrome://extensions/ - Enable Developer mode
- Click "Load unpacked"
- Select the
chrome-extensiondirectory
- Open
MacOS/Linux:
- Clone this repository
- Run installation script:
cd chrome-extension/scripts # For MacOS: ./macos-install.sh # For Linux: ./linux-install.sh - Load the extension in Chrome:
- Open
chrome://extensions/ - Enable Developer mode
- Click "Load unpacked"
- Select the
chrome-extensiondirectory
- Open
Run Web Frontend
-
Navigate to web directory:
cd web -
Install dependencies:
npm install -
Start development server:
npm run dev -
Open http://localhost:3000 in Chrome
📁 Project Structure
mcphub/
├── chrome-extension/ # Chrome extension
│ ├── manifest.json # Extension manifest
│ ├── background.js # Service worker
│ ├── popup/ # Extension popup UI
│ ├── native-host/ # Native messaging host
│ └── scripts/ # Installation scripts
├── web/ # Next.js frontend
│ ├── src/ # Source code
│ └── package.json # Dependencies
└── registry/ # Server registry
└── servers.yaml # Available servers
⚙️ Configuration
Claude Desktop Integration
MCPHub manages the Claude Desktop config file located at:
- Windows:
%APPDATA%/Claude/claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Server Configuration Example
{
"mcpServers": {
"github": {
"command": "node",
"args": [
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your-token-here"
}
}
}
}
🔄 Development
Chrome Extension
- Uses Manifest V3
- Native messaging for system operations
- Auto-generated extension ID
- Cross-platform installation scripts
Web Frontend
- Next.js 13 with TypeScript
- Material-UI components
- Chrome extension integration
- Real-time status monitoring
🤝 Contributing
- 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
Adding New MCP Servers
Add your server to registry/servers.yaml:
- name: "Your MCP Server"
description: "Server description"
runtime: "node" # or "python"
package: "your-package-name"
version: "1.0.0"
command_args:
- "your-command-args"
env:
YOUR_ENV_VAR: ""
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Links
Made with ❤️ by the MCPHub community
Publisher info
hemangjoshi37a
IIOT | ML/AI | ALGOTRADING
More MCP servers built with Python
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.