DMCP is a semantic tool discovery protocol that solves the problem of too many tools in MCP servers. It realizes on-demand query-driven tool discovery through vector search, significantly reducing token consumption and improving the accuracy of tool selection.
2.5 points
6.4K

What is DMCP?

DMCP is an intelligent tool discovery protocol specifically designed to solve the 'tool explosion' problem that AI assistants encounter when using multiple tools. When you connect more than 20 different services (such as GitHub, Jira, Notion, etc.), the AI assistant needs to handle hundreds of tools, which can lead to slow responses and inaccurate selection. DMCP allows the AI assistant to search for tools 'on-demand' through semantic search instead of loading all tools at once.

How to use DMCP?

Using DMCP is very simple: 1) Start all services with one click via Docker; 2) Index your tools into the system; 3) Configure the DMCP server in VS Code. After the configuration is complete, the AI assistant can search for tools through natural language queries, such as 'Create a GitHub issue' or 'Query Kubernetes logs'.

Applicable scenarios

DMCP is most suitable for the following scenarios: 1) Developers use multiple development tools and services; 2) Teams need to integrate multiple collaboration platforms; 3) AI assistants need to access a large number of APIs but don't want to be flooded with all tools; 4) You want to reduce the response time of the AI assistant and improve the accuracy of tool selection.

Main features

๐Ÿ” Semantic search
Use a specially trained AI model to understand the natural language descriptions of tools and accurately match user intentions. For example, searching for 'Ticket management' can find relevant tools in Jira.
โšก Fast response
The search latency is only about 50 milliseconds, reducing the token usage by 98% compared to traditional methods and significantly improving the response speed of the AI assistant.
๐Ÿ”„ Connection stability
Automatic retry mechanism, health check, and reconnection function ensure automatic recovery in case of service interruption and provide reliable tool access.
๐Ÿณ Docker ready-to-use
Provide a complete Docker Compose configuration, including a Redis vector database and an embedding service, to start all dependent components with one click.
๐Ÿ“Š Observability
Built-in health check endpoints, session logs, and connection status monitoring facilitate operation and maintenance and fault troubleshooting.
โœ… Tested
It contains 56 unit tests to ensure the stability and reliability of core functions.
Advantages
Significantly reduce the token usage of the AI assistant (by 98%), reducing costs and improving speed
Improve the accuracy of tool selection, so that the AI assistant won't be confused among hundreds of irrelevant tools
Load tools on-demand, and only the searched tools will be activated, reducing memory usage
Support natural language queries, so users don't need to remember specific tool names
Ready to use out of the box, with simple Docker deployment and no complex configuration required
Limitations
Require additional services (Redis and embedding service), increasing system complexity
It takes time to index tools for the first time (about 45 seconds to index 440 tools)
The accuracy of semantic search depends on the quality of the training model
Need to maintain the update of tool descriptions, and newly added tools need to be re-indexed

How to use

Start the service
Use Docker Compose to start all necessary services, including the Redis vector database and the embedding service.
Index tools
Run the indexer to import the tools in your MCP server into the DMCP system.
Configure VS Code
Add the DMCP server address to the MCP configuration file in VS Code.
Start using
In VS Code or GitHub Copilot, the AI assistant can now search for tools through the search_tools command.

Usage examples

GitHub issue management
A developer wants to create a GitHub issue for a discovered bug in VS Code but doesn't know which specific tool to use.
Kubernetes operation and maintenance
An operation and maintenance personnel needs to check the logs of a pod in the Kubernetes cluster, but there are multiple tools available in the cluster.
Cross-platform document search
A project manager needs to search for relevant documents across multiple platforms (Notion, Confluence, Google Docs).

Frequently Asked Questions

Which MCP servers does DMCP support?
How does DMCP ensure the accuracy of search?
What needs to be done after adding new tools?
Will DMCP affect the existing workflow?
What is the performance of DMCP?

Related resources

MCP official documentation
Official specifications and documentation for the Model Context Protocol
GitHub repository
Source code and latest updates of DMCP
Research paper
Research paper 'Retrieval Models Aren't Tool-Savvy' on the tool retrieval model
ToolRet model
Specially trained tool retrieval model used by DMCP
Demo video
Demonstration and solution of the MCP tool overload problem

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
5.5K
4.5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
5.6K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
7.2K
5 points
A
Apify MCP Server
The Apify MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI assistants to extract data from websites such as social media, search engines, and e-commerce through thousands of ready-to-use crawlers, scrapers, and automation tools (Apify Actors). It supports OAuth and Skyfire proxy payment and can be integrated into MCP clients such as Claude and VS Code through HTTPS endpoints or local stdio.
TypeScript
7.4K
5 points
R
Rsdoctor
Rsdoctor is a build analysis tool specifically designed for the Rspack ecosystem, fully compatible with webpack. It provides visual build analysis, multi - dimensional performance diagnosis, and intelligent optimization suggestions to help developers improve build efficiency and engineering quality.
TypeScript
9.3K
5 points
N
Next Devtools MCP
The Next.js development tools MCP server provides Next.js development tools and utilities for AI programming assistants such as Claude and Cursor, including runtime diagnostics, development automation, and document access functions.
TypeScript
10.7K
5 points
T
Testkube
Testkube is a test orchestration and execution framework for cloud-native applications, providing a unified platform to define, run, and analyze tests. It supports existing testing tools and Kubernetes infrastructure.
Go
6.5K
5 points
M
MCP Windbg
An MCP server that integrates AI models with WinDbg/CDB for analyzing Windows crash dump files and remote debugging, supporting natural language interaction to execute debugging commands.
Python
10.5K
5 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
20.2K
4.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
24.2K
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
35.2K
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
72.3K
4.3 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#
31.0K
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
64.2K
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
21.0K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
97.8K
4.7 points