One place to manage & connect to all your MCP servers
One place to manage & connect to all your MCP servers
MCPJungle
Run all your MCP servers behind one endpoint
MCPJungle is a self-hosted MCP gateway for developers and teams who want to manage multiple MCP servers without scattered client configurations, duplicated setup, or inconsistent access control.
Use it locally to keep your personal MCP setup clean, or run it as shared infrastructure for a team with centralized discovery, access control, and observability.
Instead of wiring every MCP server into every AI client, register your servers once in MCPJungle and let Claude, Cursor, Codex, or your own Agents connect to a single MCP endpoint.
MCP is powerful, but managing many MCP servers gets messy fast.
Without a gateway:
MCPJungle gives you a single control point:
Start with a local setup. Scale to a shared team gateway when you need it.
Mcpjungle documentation has a new home: https://docs.mcpjungle.com.
Please prefer the docs site over this README for the latest guides, reference, and operational details.
Your AI Clients can also access the docs using its MCP server https://docs.mcpjungle.com/mcp!
This quickstart guide will show you how to:
docker composeFetch the docker-compose.yaml and start the mcpjungle server:
curl -O https://raw.githubusercontent.com/mcpjungle/MCPJungle/refs/heads/main/docker-compose.yaml
docker compose up -dThis exposes mcpjungle's streamable http mcp server at http://localhost:8080/mcp by default.
mcpjungle CLI on your local machine either using brew or directly from the Releases Page.brew install mcpjungle/mcpjungle/mcpjunglemcpjungle register --name context7 --url https://mcp.context7.com/mcpYou should see output similar to this:
In your Claude Desktop, add the configuration for mcpjungle MCP server:
{
"mcpServers": {
"mcpjungle": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8080/mcp",
"--allow-http"
]
}
}
}Once you have added the configuration, try asking claude something simple:
Use context7 to get the documentation for `/lodash/lodash`Claude will then attempt to call the context7__get-library-docs tool via MCPJungle, which will return the documentation for the Lodash library.
You now have a working MCP setup with a single unified endpoint!
Next, explore the complete documentation at docs.mcpjungle.com and the public roadmap.
Legacy README reference
MCPJungle is shipped as a stand-alone binary.
You can either download it from the Releases Page or use Homebrew to install it:
brew install mcpjungle/mcpjungle/mcpjungleVerify your installation by running
mcpjungle version[!IMPORTANT] On MacOS, you will have to use homebrew because the compiled binary is not Notarized yet.
MCPJungle provides a Docker image which is useful for running the registry server (more about it later).
docker pull ghcr.io/mcpjungle/mcpjungleMCPJungle has a Client-Server architecture and the binary lets you run both the Server and the Client.
The MCPJungle server is responsible for managing all the MCP servers registered in it and providing a unified MCP gateway for AI Agents to discover and call tools provided by these registered servers.
The gateway itself runs over streamable http transport and is accessible at the /mcp endpoint.
For running the MCPJungle server locally, docker compose is the recommended way:
…[!NOTE] The
enterprisemode used to be calledproductionmode. The mode has now been renamed for clarity. Everything else remains the same.
This will start the MCPJungle server along with a persistent Postgres database container.
You can quickly verify that the server is running:
curl http://localhost:8080/healthIf you plan on registering stdio-based MCP servers that rely on npx or uvx, use mcpjungle's stdio tagged docker image instead.
MCPJUNGLE_IMAGE_TAG=latest-stdio docker compose up -d[!NOTE] If you're using
docker-compose.yaml, this is already the default image tag. You only need to specify the stdio image tag if you're usingdocker-compose.prod.yaml.
This image is significantly larger. But it is very convenient and recommended for running locally when you rely on stdio-based MCP servers.
For example, if you only want to register remote mcp servers like context7 and deepwiki, you can use the standard (minimal) image.
But if you also want to use stdio-based servers like filesystem, time, github, etc., you should use the stdio-tagged image instead.
[!NOTE] If your stdio servers rely on tools other than
npxoruvx, you will have to create a custom docker image that includes those dependencies along with the mcpjungle binary.
Production Deployment
The default MCPJungle Docker image is very lightweight - it only contains a minimal base image and the mcpjungle binary.
It is therefore suitable and recommended for production deployments.
For the database, we recommend you deploy a separate Postgres DB cluster and supply its endpoint to mcpjungle (see Database section below).
You can see the definitions of the standard Docker image and the stdio Docker image.
You can also run the server directly on your host machine using the binary:
mcpjungle startThis starts the main registry server and MCP gateway, accessible on port 8080 by default.
It is important that the mcpjungle server shuts down gracefully to ensure proper cleanup.
The recommended way to stop the server process is to send a SIGTERM signal to it.
The mcpjungle server relies on a database and by default, creates a SQLite DB file mcpjungle.db in the current working directory.
This is okay when you're just testing things out locally.
If you do not provide PostgreSQL configuration or a custom SQLite path, mcpjungle uses ./mcpjungle.db.
You can optionally set a custom file path for the SQLite DB file:
mcpjungle start --sqlite-db-path ./.mcpjungle.db
# or
export SQLITE_DB_PATH=/path/to/.mcpjungle.db
mcpjungle startNOTE: Deleting that SQLite file removes all registered server data and other MCPJungle state stored in it.
For more serious deployments, mcpjungle also supports Postgresql. You can supply the DSN to connect to it:
# You can supply the database DSN as an env var
export DATABASE_URL=postgres://admin:root@localhost:5432/mcpjungle_db
#run as container
docker run ghcr.io/mcpjungle/mcpjungle:latest
# or run directly
mcpjungle startYou can also supply postgres-specific env vars or files if you don't prefer using the DSN:
# host is mandatory if you're using postgres-specific env vars
export POSTGRES_HOST=localhost
export POSTGRES_PORT=5432
export POSTGRES_USER=admin
export POSTGRES_USER_FILE=/path/to/user-file
export POSTGRES_PASSWORD=secret
export POSTGRES_PASSWORD_FILE=/path/to/password-file
export POSTGRES_DB=mcpjungle_db
export POSTGRES_DB_FILE=/path/to/db-file
mcpjungle startOnce the server is up, you can use the mcpjungle CLI to interact with it.
MCPJungle currently supports MCP servers using stdio and Streamable HTTP Transports.
[!NOTE] Support for SSE (server-sent events) also exists but is currently not mature.
Let's see how to register them in mcpjungle.
Let's say you're already running a streamable http MCP server locally at http://127.0.0.1:8000/mcp which provides basic math tools like add, subtract, etc.
You can register this MCP server with MCPJungle:
mcpjungle register --name calculator --description "Provides some basic math tools" --url http://127.0.0.1:8000/mcpIf you used docker compose to run the server, and you're not on Linux, you will have to use host.docker.internal instead of your local loopback address.
mcpjungle register --name calculator --description "Provides some basic math tools" --url http://host.docker.internal:8000/mcpThe registry will now start tracking this MCP server and load its tools.
You can also provide a configuration file to register the MCP server:
cat ./calculator.json
{
"name": "calculator",
"transport": "streamable_http",
"description": "Provides some basic math tools",
"url": "http://127.0.0.1:8000/mcp"
}
mcpjungle register -c ./calculator.jsonAll tools provided by this server are now accessible via MCPJungle:
mcpjungle list tools
# Check tool usage
mcpjungle usage calculator__multiply
# Call a tool
mcpjungle invoke calculator__multiply --input '{"a": 100, "b": 50}'[!NOTE] A tool in MCPJungle must be referred to by its canonical name which follows the pattern
__. Server name and tool name are separated by a double underscore__.eg- If you register a MCP server
githubwhich provides a tool calledgit_commit, you can invoke it in MCPJungle using the namegithub__git_commit.Your MCP client must also use this canonical name to call the tool via MCPJungle.
The confi
No open issues yet, or sync has not completed.