P
mcphub
...
Created 12/21/2024byhemangjoshi37a
Language:
Python
Stars:
6
Forks:
1
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-extension
directory
- 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-extension
directory
- 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](LICENSE) file for details.
π Links
Made with β€οΈ by the MCPHub community
Last updated: 3/4/2025
Publisher info
Hemang Joshi
IIOT | ML/AI | ALGOTRADING
72
followers14
following84
reposMore MCP servers built with Python
fulcra-context-mcp
Access your personal health data, sleep stats, location, calendar, and more securely through Context by Fulcra!
By fulcradynamics
alpaca-mcp-server
Alpaca MCP Servers deliver Alpacaβs Trading API best practices straight into your development and trading workflows.
By alpacahq