McpHub — Claude Code MCP server: features and installation
McpHub puts MCP servers behind one endpoint and exposes tools through a small set of meta-tools. Shared servers can serve multiple editors from one running instance.
MIT ★ 9 updated 2026-10-29
Open on GitHubWhat McpHub does
McpHub sits between AI editors and MCP servers. Agents get three meta-tools, while tool schemas load on demand instead of appearing all at once. Each server runs once for connected editors. That changes how editors share MCP integrations.
Servers can be added from the official MCP Registry in the Library tab. The project describes macOS Keychain storage for secrets, server isolation, and an audit log with redacted arguments. Linux sandboxing uses bubblewrap; Windows has no sandbox. The Keychain and macOS sandbox features are limited to macOS.
The install script downloads a binary, checks its SHA-256 checksum, and places it in ~/.local/bin/McpHub. Then run McpHub generate to index tools and McpHub install to start the login service. Linux secrets are stored in ~/.McpHub/secrets.env, and bubblewrap is needed for its sandbox.
What it helps with
- route MCP servers through one endpoint
- load tool schemas on demand
- share a single server process across editors
- add servers from the official MCP Registry
- keep secrets out of editor configuration files
Example prompts for the agent
- Connect my MCP servers through McpHub and show the tools available to me.
- Add a server from the official MCP Registry using the Library tab.
- Index the tools and start the McpHub service at login.
How to install McpHub
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about McpHub
How do I install McpHub for Claude Code?
Run curl -fsSL https://raw.githubusercontent.com/Soflutionltd/McpHub/main/get.sh | bash, then run McpHub generate to index tools and McpHub install to start the service at login.
What does McpHub do?
It provides one endpoint for MCP servers and gives agents three meta-tools. Tool schemas are fetched when needed.
What does Linux sandboxing require?
McpHub uses bubblewrap for the Linux sandbox. Windows has no sandbox, while the Keychain and macOS sandbox features are macOS-only.