mcphub

A hybrid web/extension application for managing Model Context Protocol (MCP) servers.

Visit Server
Added on 3/28/2025

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 file for details.

๐Ÿ”— Links