# SLM MCP Hub: One Local Endpoint for Every MCP Server

Every AI client spawns its own copy of every MCP server it uses. In the README's example, 5 clients with 38 servers each means 190 processes and about 10 GB of RAM. SLM MCP Hub runs each backend once and shares it. Every AI client connects to one HTTP endpoint. Federated tool discovery through one local endpoint, with per-backend health, latency, and RAM metrics. Alpha software; interfaces can still change between releases.

Status: live
Licence: AGPL-3.0
Source: https://github.com/qualixar/slm-mcp-hub
URL: https://qualixar.com/products/slm-mcp-hub

## Install

```bash
pip install slm-mcp-hub
```

## Features

- **3 Meta-Tools**: Clients get three meta-tools (search_tools, call_tool, list_servers) that reach every configured backend, instead of a per-client server list.
- **Shared Process Pool**: Each backend starts once and is shared across clients. README example: 5 clients × 38 servers goes from 190 processes (~10 GB RAM) to 38.
- **On-Demand Tool Discovery**: Tools are found and called through the meta-tools rather than preloaded into each session as separate definitions.
- **Health and Metrics**: Live state, uptime, restarts, p95 latency, and RAM per backend, with lazy spawn and idle eviction to keep memory bounded.
- **One Config, Every IDE**: Configure MCPs once in the hub. Claude Code, Cursor, Windsurf, Claude Desktop, and other MCP clients share the same servers through one local endpoint.
- **OAuth Backends, Authorize Once**: Authorize an OAuth-protected backend once; tokens are stored in the OS keychain instead of per client.

## Use cases

- Run several concurrent Claude Code / Cursor / Windsurf sessions without duplicate MCP processes
- See health, latency, and RAM for every MCP backend in one place
- Authorize OAuth-protected MCP backends once instead of per client
- One-config tool management across an entire agent workflow

## Who it is for, and who it is not for

### A good fit

- Anyone running more than one MCP client (Claude Code, Cursor, Windsurf, Claude Desktop, custom agents) against a shared set of servers. The README states this audience.
- People whose machine is buckling under duplicate MCP subprocesses. In the README's example, 5 clients with 38 servers each drop from 190 processes to 38.
- Teams that want one place to add a server, see its health, latency and RAM, and authorize an OAuth backend once instead of in every client.

### Probably not a fit

- You need stable interfaces today. The README labels the hub alpha software whose interfaces can still change between releases.
- You want a container-isolated server catalog. Docker's MCP Gateway runs each server in its own container; this hub runs backends as shared processes.
- You need an enterprise registry with plugins and tracing. IBM ContextForge is a much larger project built for that.

## Quick start

Run in a clean environment on 24 Nov 2026; the output below is real.

Python 3.11 or newer. The install and the first command are from the README. Run in a clean virtual environment on 24 Nov 2026 (slm-mcp-hub 0.3.4, with HOME pointed at an empty folder), slm-hub config init wrote a default config. The import and start steps are from the README and were not run, because they read your real MCP client configuration.

Install, write a config, import your servers, start the hub:

```bash
pip install slm-mcp-hub
slm-hub config init                     # write a default config
slm-hub setup detect                    # find MCP servers already on this machine
slm-hub setup import ~/.claude.json     # import them into the hub
slm-hub start                           # run the hub
```

Output of slm-hub config init (path shortened):

```text
Default config created at ~/.slm-mcp-hub/config.json
```

Where the hub then listens, per the README:

```text
HTTP:      http://127.0.0.1:52414/mcp
Health:    http://127.0.0.1:52414/api/health
Dashboard: http://127.0.0.1:52414/
```

Prefer npm? npm install -g slm-mcp-hub installs the matching Python release into an isolated environment. The two packages are release-locked.

Source: [SLM MCP Hub README: Install and Quick start](https://github.com/qualixar/slm-mcp-hub#readme)

## How it compares

Three gateways sit in front of MCP servers. All three are larger than SLM MCP Hub. Star counts are from the GitHub API on 24 Nov 2026.

Choose SLM MCP Hub when you want a small local process that runs each backend once, shared by every client on your machine, with per-backend latency and RAM numbers, and you accept alpha software from one maintainer.

This product: 6 GitHub stars, licence AGPL-3.0 (commercial licences available).

### [Docker MCP Gateway](https://github.com/docker/mcp-gateway#readme)

1,647 GitHub stars; licence MIT.

- What it is: The CLI plugin behind Docker Desktop's MCP Toolkit. Its gateway runs each catalog server in an isolated Docker container, gives clients one endpoint, keeps secrets out of environment variables and supports OAuth flows.
- Choose it when: You already use Docker Desktop and want container isolation and the Docker MCP Catalog.

### [MetaMCP](https://github.com/metatool-ai/metamcp#readme)

2,761 GitHub stars; licence MIT.

- What it is: An MCP proxy that aggregates MCP servers into a unified MCP server and applies middlewares, packaged to run in one Docker deployment. It is itself an MCP server, so any MCP client can use it.
- Choose it when: You want a self-hosted aggregator with namespaces and middleware, and are fine running it in Docker.

### [IBM ContextForge](https://github.com/IBM/mcp-context-forge#readme)

4,882 GitHub stars; licence Apache-2.0.

- What it is: An open-source registry and proxy that federates MCP, A2A and REST or gRPC APIs with centralized governance, discovery and observability, rate limiting, auth and 40+ plugins.
- Choose it when: You need an organization-wide gateway with a plugin ecosystem and OpenTelemetry tracing.

The 190-to-38 process figure is the README's arithmetic for an example setup, not a measurement on your machine, and no benchmark against the three gateways above has been run. The README lists the per-client against hub tradeoffs, not a comparison with other gateways.

## Proof and links

### Guides

- [MCP Server Builder's Guide](https://qualixar.com/learn/guides/mcp-server-builders-guide)
- [What Is Harness Engineering? A Guide for AI Agents](https://qualixar.com/learn/guides/harness-engineering)

## Sources

- Runs every MCP server once and shares it across clients through one local endpoint; three meta-tools (search_tools, call_tool, list_servers). (https://github.com/qualixar/slm-mcp-hub#readme)
- Alpha software; interfaces can change between releases; 2,306 tests at 98.54% line coverage as stated by the README. (https://github.com/qualixar/slm-mcp-hub#readme)
- Install: pip install slm-mcp-hub (Python 3.11+) or npm install -g slm-mcp-hub; quick start commands and listening addresses. (https://github.com/qualixar/slm-mcp-hub#readme)
- slm-hub config init executed on 24 Nov 2026 in a clean virtualenv with slm-mcp-hub 0.3.4 (PyPI): wrote a default config. (https://pypi.org/project/slm-mcp-hub/)
- README example: 5 clients with 38 servers each is 190 processes and about 10 GB of RAM without the hub, 38 processes with it. (https://github.com/qualixar/slm-mcp-hub#readme)
- Loopback-only unless an API key is set; OAuth tokens in the OS keychain; lazy spawn, idle eviction and an LRU cap bound RAM. (https://github.com/qualixar/slm-mcp-hub#readme)
- LICENSE file is the GNU AGPL v3; README says AGPL-3.0-or-later for open-source use with commercial licences available. (https://github.com/qualixar/slm-mcp-hub/blob/main/LICENSE)
- 6 GitHub stars for qualixar/slm-mcp-hub on 24 Nov 2026. (https://api.github.com/repos/qualixar/slm-mcp-hub)
- Docker MCP Gateway: each local catalog server runs in an isolated container; single gateway; secrets management; OAuth flows; 1,647 stars; MIT. (https://github.com/docker/mcp-gateway#readme)
- MetaMCP: MCP proxy that aggregates MCP servers into a unified server and applies middlewares; 2,761 stars; MIT. (https://github.com/metatool-ai/metamcp#readme)
- IBM ContextForge: registry and proxy federating MCP, A2A and REST/gRPC with governance and observability; 40+ plugins; 4,882 stars; Apache-2.0. (https://github.com/IBM/mcp-context-forge#readme)
