Multiverse
๐ ๐ ๐ ๏ธ - A middleware server that enables multiple isolated instances of the same MCP servers to coexist independently with unique namespaces and configurations.
What is Multiverse?
Multiverse is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐ ๐ ๐ ๏ธ - a middleware server that enables multiple isolated instances of the same mcp servers to coexist independently with unique namespaces and configurations.
๐ ๐ ๐ ๏ธ - A middleware server that enables multiple isolated instances of the same MCP servers to coexist independently with unique namespaces and configurations.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- ๐ ๐ ๐ ๏ธ - A middleware server that enables multiple isolated
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx multiverseConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Multiverse
Multiverse is a middleware MCP server that lets you run multiple isolated instances of the same MCP server type simultaneously, each with its own namespace, configuration, environment variables, and filesystem access. It solves the common problem of needing, for example, two separate MySQL MCP servers pointing to different databases, or two filesystem servers rooted at different paths, without tool name collisions. Each 'universe' prefixes its exposed tools (e.g. job_read_file vs side-project_read_file) so Claude and other MCP clients can address them independently. It also supports automatic server restart on file changes, making it useful during active MCP server development.
Prerequisites
- Node.js 18 or later installed (npx must be available)
- An MCP client such as Claude Desktop or any MCP-compatible tool
- The inner MCP servers you want to multiplex already installed or accessible via npx
- A JSON configuration file for each 'universe' you want to run
Create a universe configuration file
Write a JSON file that describes the server(s) to run inside this universe. Set serverName for identification, functionsPrefix for namespacing tool names, and list the inner servers under the servers array with their command, args, and env.
{
"serverName": "JobMultiverse",
"functionsPrefix": "job",
"servers": [
{
"command": "npx",
"args": ["-y", "@benborla29/mcp-server-mysql"],
"env": {
"MYSQL_HOST": "127.0.0.1",
"MYSQL_PORT": "3306",
"MYSQL_USER": "root",
"MYSQL_PASS": "",
"MYSQL_DB": "job-db"
}
}
]
}Create a second universe configuration file
Create an equivalent file for the second instance, pointing to a different database or path. Use a different functionsPrefix so tool names do not clash.
{
"serverName": "SideProjectMultiverse",
"functionsPrefix": "side-project",
"servers": [
{
"command": "npx",
"args": ["-y", "@benborla29/mcp-server-mysql"],
"env": {
"MYSQL_HOST": "127.0.0.1",
"MYSQL_PORT": "3306",
"MYSQL_USER": "root",
"MYSQL_PASS": "",
"MYSQL_DB": "side-project-db"
}
}
]
}Add both universes to claude_desktop_config.json
Register each universe as a separate MCP server entry in your Claude Desktop configuration. Each entry runs the @lamemind/mcp-server-multiverse package and passes the path to its JSON config file.
{
"mcpServers": {
"job-multiverse": {
"command": "npx",
"args": ["-y", "@lamemind/mcp-server-multiverse@latest", "/path/to/job-multiverse.json"]
},
"side-project-multiverse": {
"command": "npx",
"args": ["-y", "@lamemind/mcp-server-multiverse@latest", "/path/to/side-project-multiverse.json"]
}
}
}Optionally hide dangerous functions
Use the hideFunctions array inside a server block to prevent specific tools from being registered. This is useful to restrict access to destructive operations like deleting repositories.
{
"serverName": "GitHubSafe",
"functionsPrefix": "github",
"servers": [
{
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github@latest"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>" },
"hideFunctions": ["delete_repository"]
}
]
}Enable auto-restart during development
When developing your own MCP server, add a fileWatch block to the server entry. Multiverse will watch the specified directory and gracefully restart the inner server whenever files change.
{
"serverName": "MyDevServer",
"functionsPrefix": "dev",
"servers": [
{
"command": "node",
"args": ["/my-mcp-server/build/index.js"],
"fileWatch": {
"enabled": true,
"path": "/my-mcp-server/build/"
}
}
]
}Restart Claude Desktop and verify
Quit and reopen Claude Desktop. The namespaced tools from each universe should appear in the tool list. Test by asking Claude to use a prefixed tool, such as 'job_read_file' or 'side-project_write_file'.
Multiverse Examples
Client configuration
Running two isolated MySQL MCP server instances via Multiverse, each pointing to a different database.
{
"mcpServers": {
"job-multiverse": {
"command": "npx",
"args": ["-y", "@lamemind/mcp-server-multiverse@latest", "/Users/you/job-multiverse.json"]
},
"side-project-multiverse": {
"command": "npx",
"args": ["-y", "@lamemind/mcp-server-multiverse@latest", "/Users/you/side-project-multiverse.json"]
}
}
}Prompts to try
Once configured, you can address each universe's tools by their prefixed names.
- "Use job_read_file to read /data/report.csv from the job universe"
- "Use side-project_write_file to create a new config file in the side project"
- "List all tools available in the job-multiverse server"
- "Connect to the job MySQL database and show me the list of tables"Troubleshooting Multiverse
Tool names collide or tools from the wrong universe are called
Ensure each universe JSON file has a unique functionsPrefix value. Tools are exposed as <prefix>_<original_tool_name>, so prefixes must differ across all universe entries.
Inner server fails to start or exits immediately
Test the inner server command directly in your terminal first (e.g. run npx -y @benborla29/mcp-server-mysql with the same env vars) to confirm it works standalone before wrapping it in Multiverse.
File watch does not trigger server restart
Verify the fileWatch.path points to the directory that actually changes on build. The path must exist when Multiverse starts; it watches for file changes within that directory recursively.
Frequently Asked Questions about Multiverse
What is Multiverse?
Multiverse is a Model Context Protocol (MCP) server that ๐ ๐ ๐ ๏ธ - a middleware server that enables multiple isolated instances of the same mcp servers to coexist independently with unique namespaces and configurations. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Multiverse?
Follow the installation instructions on the Multiverse GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Multiverse?
Multiverse works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Multiverse free to use?
Yes, Multiverse is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Multiverse Alternatives โ Similar Developer Tools Servers
Looking for alternatives to Multiverse? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
โ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
โ 155.8kJava ้ข่ฏ & ๅ็ซฏ้็จ้ข่ฏๆๅ๏ผ่ฆ็่ฎก็ฎๆบๅบ็กใๆฐๆฎๅบใๅๅธๅผใ้ซๅนถๅใ็ณป็ป่ฎพ่ฎกไธ AI ๅบ็จๅผๅ
Gemini CLI
โ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
โ 87.3kโญ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
โ 86.0kModel Context Protocol Servers
CC Switch
โ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Multiverse in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Multiverse?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.