P

mcphub

...
Created 12/21/2024byhemangjoshi37a

Language:

Python

Stars:

6

Forks:

1

MCPHub πŸš€

Web Extension License Model Context Protocol PRs Welcome

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:

  1. Clone this repository
  2. Run installation script:
cd chrome-extension/scripts
windows-install.bat
  1. Load the extension in Chrome:
    • Open chrome://extensions/
    • Enable Developer mode
    • Click "Load unpacked"
    • Select the chrome-extension directory

MacOS/Linux:

  1. Clone this repository
  2. Run installation script:
cd chrome-extension/scripts
# For MacOS:
./macos-install.sh
# For Linux:
./linux-install.sh
  1. Load the extension in Chrome:
    • Open chrome://extensions/
    • Enable Developer mode
    • Click "Load unpacked"
    • Select the chrome-extension directory

Run Web Frontend

  1. Navigate to web directory:
cd web
  1. Install dependencies:
npm install
  1. Start development server:
npm run dev
  1. 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

  1. Fork the repository
  2. Create your feature branch:
git checkout -b feature/amazing-feature
  1. Commit your changes:
git commit -m 'Add amazing feature'
  1. Push to the branch:
git push origin feature/amazing-feature
  1. 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

hemangjoshi37a's avatar

Hemang Joshi

IIOT | ML/AI | ALGOTRADING

hjLabs.in
Bharat
72
followers
14
following
84
repos

More MCP servers built with Python

MCP-Collab

MCP Slack, Teams, WebEx

By sisodiabhumca
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