combine-mcp is an MCP (Model Context Protocol) aggregator used to combine multiple MCP servers into a single unified interface. The project's main motivation is to bypass Cursor's limitation of using only 2 MCP servers at the same time: when a 3rd MCP server is added, it affects the use of the other two servers.
Purpose and positioning The aggregator acts as a bridge between Cursor (or other MCP clients) and multiple backend MCP servers. It both acts as an MCP server communicating with Cursor and as an MCP client connecting to backend MCP servers.
Main capabilities
- Provides a stdio interface for Cursor and other MCP clients.
- Connects to multiple backend MCP servers.
- Adds prefixes to backend server methods, for example exposing the shortcut MCP's search_stories method as shortcut_search_stories.
- Automatically sanitizes tool names, replacing hyphens with underscores for Cursor compatibility.
- Supports configuration via environment variables and a JSON configuration file.
- Provides debug logging with a configurable level.
- Supports filtering tools by server, which can limit the number of exposed tools so as not to exceed Cursor's 40-tool limit, or expose only specified tools to avoid tool name conflicts or reduce processing overhead.
Usage Installation methods include: using the install script (recommended; it detects the operating system and architecture, downloads the precompiled binary, verifies the checksum, installs it to PATH, and grants executable permissions), using go install, using Docker, or using the Makefile provided by the project.
For configuration, you can copy your existing Cursor MCP configuration to a specified location (such as ~/.config/mcp/config.json), and then keep only the aggregator as the single MCP server in the Cursor configuration. Environment variables include: MCP_CONFIG (configuration file path, required), MCP_LOG_LEVEL (log level, default info), MCP_LOG_FILE (log file path), MCP_PROTOCOL_VERSION (force a specific protocol version), MCP_CURSOR_MODE (enable Cursor-specific compatibility adjustments).
Tool name sanitization is transparent: when calling a tool using the sanitized name, the aggregator maps it back to the original name when forwarding the request. Tool filtering is enabled by adding a tools object with an allowed array to the server configuration.
Use cases A typical use case is maintaining a single MCP configuration file shared by multiple MCP-capable clients such as Cursor, Windsurf, Gemini-CLI, Codex, Claude Code, and GitHub Copilot agents. This allows centralized management of MCP servers and keys, keeps behavior consistent across different IDEs/agents, and avoids exposing keys directly to AI agent tools.
Limitations The material does not provide more information about performance, security guarantees, or pricing models. The project states that the code is mainly generated by AI.when calling a tool using the sanitized name, the aggregator maps it back to the original name when forwarding the request. Tool filtering is enabled by adding a tools object with an allowed array to the server configuration.
Use cases A typical use case is maintaining a single MCP configuration file shared by multiple MCP-capable clients such as Cursor, Windsurf, Gemini-CLI, Codex, Claude Code, and GitHub Copilot agents. This allows centralized management of MCP servers and keys, keeps behavior consistent across different IDEs/agents, and avoids exposing keys directly to AI agent tools.
Limitations The material does not provide more information about performance, security guarantees, or pricing models. The project states that the code is mainly generated by AI.