Labsco
nacos-group logo

Nacos MCP Router

180

from nacos-group

A MCP server for Nacos that provides search, installation, and proxy functionalities. Connects to a Nacos server via environment variables.

🔥🔥🔥🔥✓ VerifiedAccount requiredNeeds API keys

nacos-mcp-router: A MCP server that provides functionalities such as search, installation, proxy, and more.

Model Context Protocol Ask DeepWiki NPM Version NPM Downloads

<p> <a href="./README.md">English</a> | <a href="./README_cn.md">简体中文</a> </p>

Overview

Nacos is an easy-to-use platform designed for dynamic service discovery and configuration and service management. It helps you to build cloud native applications and microservices platform easily.

This MCP(Model Context Protocol) Server provides tools to search, install, proxy other MCP servers, with advanced search capabilities including vector similarity search and multi-provider result aggregation.

Nacos-MCP-Router has two working modes:

Router mode: The default mode, which recommends, distributes, installs, and proxies the functions of other MCP Servers through the MCP Server, helping users more conveniently utilize MCP Server services.

Proxy mode: Specified by the environment variable MODE=proxy, it can convert SSE and stdio protocol MCP Servers into streamable HTTP protocol MCP Servers through simple configuration.

Search Features

Nacos-MCP-Router provides powerful search capabilities through multiple providers:

Search Providers

  1. Nacos Provider

    • Searches MCP servers using Nacos service discovery
    • Supports keyword matching and vector similarity search
    • Integrated with the local Nacos instance
  2. Compass Provider

    • Connects to a COMPASS API endpoint for enhanced search
    • Supports semantic search and relevance scoring
    • Configurable API endpoint (default: https://registry.mcphub.io)

Search Configuration

Configure search behavior using environment variables:

Copy & paste — that's it
# YOUR COMPASS API endpoint (for Outer Provider called Compass Provider)
COMPASS_API_BASE=https://registry.mcphub.io

# Minimum similarity score for results (0.0 to 1.0)
SEARCH_MIN_SIMILARITY=0.5

# Maximum number of results to return
SEARCH_RESULT_LIMIT=10

Search API

The search functionality is available through the MCP interface:

Copy & paste — that's it
// Search for MCP servers
const results = await searchMcpServer(
  "Find MCP servers for natural language processing",
  ["nlp", "language"]
);

Results include:

  • Server name and description
  • Provider information
  • Relevance score
  • Additional metadata

License

nacos-mcp-router is licensed under the Apache 2.0 License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the Apache 2.0 License. For more details, please see the LICENSE file in the project repository.