Onemcp
OneMCP is a universal MCP protocol aggregator that uniformly manages tools from multiple external MCP servers through a meta-tool architecture. It uses progressive discovery and semantic search technologies to significantly reduce token consumption of LLMs and improve tool discovery efficiency.
2 points
4.8K

What is OneMCP?

OneMCP is an intelligent MCP server aggregator that solves the problems you face when using multiple MCP servers. Each server provides a large number of tools, and directly exposing them to the LLM will consume a large number of tokens and the context window. OneMCP manages all tools through two intelligent meta-tools (tool_search and tool_execute), allowing the LLM to search for and use tools on demand, rather than loading all tool definitions at once.

How to use OneMCP?

Using OneMCP is very simple: 1) Configure the external MCP servers you want to connect to; 2) Start the OneMCP aggregator; 3) Configure OneMCP in your LLM client (such as Claude Desktop); 4) Search for and execute any tool through the two meta-tools.

Use Cases

OneMCP is particularly suitable for the following scenarios: 1) Using multiple MCP servers simultaneously (such as browser automation + file system + database); 2) Needing to manage a large number of tools but not wanting to consume too many tokens; 3) Hoping that the LLM can intelligently search for relevant tools; 4) Needing to uniformly manage tools from different sources.

Main Features

Intelligent Meta-Tool System
Only expose two meta-tools (tool_search and tool_execute) instead of hundreds of independent tools, reducing token usage by 99%.
AI-Driven Semantic Search
Use Claude, Codex, or Copilot for intelligent tool search, understanding the intent of natural language queries rather than just keyword matching.
Progressive Tool Discovery
Supports four levels of detail (name only → summary → detailed → full architecture), allowing the LLM to obtain tool information on demand and avoiding loading all details at once.
Universal Aggregation Capability
Supports any MCP-compatible server, whether it is a local command (stdio) or a remote HTTP server, and can be uniformly managed.
Type-Safe Internal Tools
Supports adding custom Go language internal tools, using Go's type system to automatically generate JSON Schema to ensure the security of tool calls.
Performance Optimization
Includes optimizations such as architecture caching, lazy loading, and configurable result limits (default is 5 tools) to ensure fast response and low resource consumption.
Advantages
Significantly reduce token usage: From hundreds of tools to 2 meta-tools, saving 99% of tokens.
Intelligent tool discovery: AI-driven semantic search makes it easier for the LLM to find suitable tools.
Unified management interface: Centralize the management of all MCP servers, simplifying configuration and maintenance.
Flexible expansion: Easily add new MCP servers without modifying the code.
Excellent performance: Architecture caching and lazy loading ensure fast response.
Strong compatibility: Supports all MCP-compatible LLM clients and servers.
Limitations
Requires additional configuration: Compared with directly using the MCP server, it is necessary to configure the OneMCP aggregator.
Semantic search depends on external LLMs: Claude, Codex, or Copilot CLI needs to be installed.
Tool naming changes: External tools will have the server name prefix added, and you need to adapt to the new naming convention.
Debugging complexity: Troubleshooting may require checking multiple layers (OneMCP + external server).

How to Use

Installation and Building
Download the OneMCP source code and build an executable file. You can choose different build commands according to the target operating system.
Create a Configuration File
Create a .onemcp.json file in the project root directory and configure the external MCP servers you want to connect to and OneMCP settings.
Start OneMCP
Run the OneMCP aggregator, and it will automatically connect to all configured external servers and load tools.
Configure the LLM Client
Add OneMCP as an MCP server in your LLM client (such as Claude Desktop).
Start Using
Now you can search for and execute any tool through the two meta-tools. First, use tool_search to find relevant tools.

Usage Examples

Automated Webpage Screenshot
Use the Playwright MCP server to automatically navigate to a webpage and take a screenshot.
Batch File Processing
Combine file system tools and custom processing tools to process files in batches.
Multi-Server Collaboration
Use browser automation, file system, and database operations simultaneously to complete complex tasks.

Frequently Asked Questions

Which MCP servers does OneMCP support?
Does semantic search incur additional costs?
How to add custom tools?
What should I do if tool execution fails?
Will OneMCP affect the tool execution speed?

Related Resources

Official MCP Go SDK
The official MCP Go SDK jointly developed by Anthropic and Google, on which OneMCP is built.
MCP Protocol Specification
The official specification document of the Model Context Protocol.
Claude Desktop Configuration Guide
How to configure the MCP server in Claude Desktop.
Playwright MCP Server
A browser automation MCP server, often used in OneMCP demonstrations.
GitHub Repository
OneMCP source code and the latest version.

Installation

Copy the following command to your Client for configuration
{
  "settings": {
    "searchResultLimit": 5,
    "searchProvider": "claude"
  },
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp"],
      "category": "browser",
      "enabled": true
    },
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
      "category": "filesystem",
      "enabled": true
    }
  }
}

{
  "mcpServers": {
    "onemcp": {
      "command": "/path/to/one-mcp",
      "env": {
        "MCP_SERVER_NAME": "my-aggregator",
        "MCP_LOG_FILE": "/tmp/onemcp.log"
      }
    }
  }
}

{
  "mcpServers": {
    "playwright": {
      "command": "npx",                // Command to execute
      "args": ["-y", "@playwright/mcp"], // Command arguments
      "env": {                          // Optional: Environment variables
        "DEBUG": "1"
      },
      "category": "browser",           // Optional: Category for grouping tools
      "enabled": true                  // Required: Whether to load this server
    }
  }
}

{
  "mcpServers": {
    "remote-server": {
      "url": "https://api.example.com/mcp", // HTTP endpoint URL (Streamable HTTP)
      "category": "api",
      "enabled": true
    }
  }
}

{
  "settings": {
    "searchResultLimit": 5,
    "searchProvider": "claude"
  },
  "mcpServers": {
    "your-server": {
      "command": "/path/to/your-mcp-server",
      "args": ["--config", "config.json"],
      "env": {
        "API_KEY": "your-key"
      },
      "category": "custom",
      "enabled": true
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
7.9K
5 points
B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
7.2K
4 points
M
MCP Agent Mail
MCP Agent Mail is a mail - based coordination layer designed for AI programming agents, providing identity management, message sending and receiving, file reservation, and search functions, supporting asynchronous collaboration and conflict avoidance among multiple agents.
Python
9.4K
5 points
K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
13.4K
5 points
M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
11.7K
5 points
A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
10.5K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
9.9K
4 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
11.5K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
18.0K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
16.4K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
52.7K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
27.0K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
22.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
50.1K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
18.1K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
36.5K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase