SuperAPIAI Directory

mcp-server-multiverse

github.com · AI coding

Middleware that runs multiple isolated instances of the same MCP servers side by side with unique namespaces and configurations.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Multiverse MCP Server is a middleware server designed to allow multiple MCP servers of the same type to run simultaneously as mutually isolated instances, with each instance having its own independent namespace and configuration. It creates isolated workspaces so that the same MCP server can run concurrently without conflicts. Each "universe" maintains its own configuration, filesystem access, and function naming, thereby enabling developers to run multiple server instances of the same type while maintaining complete isolation between different contexts or projects.

Main capabilities include:

  • Running multiple instances: Multiple instances of the same MCP server type can run independently at the same time. Each instance runs in its own isolated universe with independent configuration. For example, multiple mcp-server-mysql instances pointing to different databases, multiple mcp-server-git instances using different personal access tokens, and multiple mcp-server-filesystem instances accessing different root paths.
  • Automatic server restart: Enable file watching when registering MCP servers during development. Once enabled, the server automatically detects changes in specified directories and performs a graceful restart, making development and testing smoother.
  • JSON-based configuration system: Use a simple and flexible JSON configuration format to define multiverse settings. Each server instance can configure its own command and arguments, environment variables, path resolution rules, and file watching settings.
  • Hiding specific functions: Through the hideFunctions array, you can selectively hide specific functions in the wrapped server. Once hidden, the function will not be registered with the main MCP server, will not be available to clients, and will not appear in the list of available functions. This is suitable for restricting access to potentially dangerous functions (such as GitHub's delete_repository), simplifying the interface, or creating different permission levels for different server instances.
  • Disabling specific servers: By setting the enabled flag to false, you can selectively disable specific servers without deleting the JSON file, making it convenient to temporarily disable them during development or testing.

How to use: First, make sure the Claude Desktop application has been downloaded and installed, and that npm is installed. Then add an entry in claude_desktop_config.json (on Mac, located at ~/Library/Application Support/Claude/claude_desktop_config.json, Windows is located at C:\Users<username>\AppData\Roaming\Claude\claude_desktop_config.json). Next, add the number of multiverse servers you want to run. For example, if you want to run two mcp-server-multiverse instances, one for work and one for a side project, you can add the corresponding configuration. This configuration allows Claude Desktop to automatically start the mcp-server-multiverse instances when the application starts.

Configuration examples include: creating two isolated mcp-server-mysql instances, each using a different database (such as job-multiverse.json and side-project-multiverse.json); creating an isolated mcp-server-filesystem instance whose functions are exposed with the side-project prefix, such as side-project_read_file, side-project_write_file, and whose root path can be hidden from the client through the pathResolution configuration (pathResolution is optional and is only used when the root path needs to be hidden); automatically restarting the server when files change via fileWatch; hiding specific functions via hideFunctions; disabling specific servers via the enabled flag. The complete example shows how to create a multiverse server containing multiple server instances of different types.

Use cases: developers who need to run the same MCP server in isolation for different projects or contexts, such as scenarios where multiple databases, multiple Git repositories, or different filesystem root paths are managed at the same time.

Limitations: official materials do not provide detailed information such as fees, pricing, or platform compatibility. Some features such as Prompts support, Resources support, and a GUI for managing multiverse servers are still planned.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools