Gateway · 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.

LiveLicence AGPL-3.0Memory hub

Verify it yourself

LicenceAGPL-3.0
SLM MCP Hub — One Local Endpoint for Every MCP Server
3Meta-Tools
0.3.4Latest Release
190 → 38 processesExample: 5 clients × 38 servers
AlphaStatus

Figures as reported by the project. Check them against the code and paper linked above.

Install

Run it locally.

Install

pip install slm-mcp-hub

What it does

How it works.

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 it for

Where it fits.

  • 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

Who should use it, and who should not.

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

Install it and run the first command.

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.

Run in a clean environment on 24 Nov 2026. The output is real.

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

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

Output of slm-hub config init (path shortened)

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

Where the hub then listens, per the README

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.

SLM MCP Hub README: Install and Quick start

How it compares

How SLM MCP Hub 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.

SLM MCP Hub

6 stars
Licence: AGPL-3.0 (commercial licences available)

Alternative

Docker MCP Gateway

1,647 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.

Alternative

MetaMCP

2,761 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.

Alternative

IBM ContextForge

4,882 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.

Changelog

What shipped.

The latest releases on GitHub.

  1. v0.3.4 — resultType for MCP 2026-07-28

    Fixes the hub showing tools fetch failed — missing required resultType in Claude Code 2.1.292 and any other client that speaks MCP protocol revision 2026-07-28.

  2. v0.3.3 — legacy era-probe fallback

    Strict legacy stdio backends no longer fail to connect.

  3. v0.3.2 — dependency surface correction

    The hub no longer installs a memory engine in order to talk to one.

  4. v0.3.1

    CLI management commands now authenticate against auth-enabled hubs (#29). When SLMHUBAPIKEY is set, slm-hub tools, status --verbose, reconnect, the server subcommands (list, reload, add, remove, modify, status), and the observability commands (servers, health, warm, stop) now…

  5. SLM MCP Hub v0.3.0

    Universal, local-first MCP gateway. pip install slm-mcp-hub or npm install -g slm-mcp-hub.

  6. v0.2.6 — credibility reset

    Credibility-reset release for SLM MCP Hub.

Full history on GitHub