Labsco
istarwyh logo

MCP Advisor

โ˜… 89

from istarwyh

A discovery and recommendation service for exploring MCP servers using natural language queries.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

MCP Advisor

Model Context Protocol npm version License: MIT DeepWiki Install with VS Code smithery badge

<!-- DeepWiki badge generated by https://deepwiki.ryoppippi.com/ -->

Verified on MseeP MCP Badge

<a href="https://glama.ai/mcp/servers/@istarwyh/mcpadvisor"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@istarwyh/mcpadvisor/badge" alt="Advisor MCP server" /> </a>

English | ็ฎ€ไฝ“ไธญๆ–‡

Introduction

MCP Advisor is a discovery and recommendation service that helps AI assistants explore Model Context Protocol (MCP) servers using natural language queries. It makes it easier for users to find and leverage MCP tools suitable for specific tasks.

User Stories

  1. Discover & Recommend MCP Servers

    • As an AI agent developer, I want to quickly find the right MCP servers for a specific task using natural-language queries.
    • Example prompt: "Find MCP servers for insurance risk analysis"
  2. Install & Configure MCP Servers

    • As a regular user who discovers a useful MCP server, I want to install and start using it as quickly as possible.
    • Example prompt: "Install this MCP: https://github.com/Deepractice/PromptX"

Demo

https://github.com/user-attachments/assets/7a536315-e316-4978-8e5a-e8f417169eb1

Usage

Once configured, the Nacos provider will be automatically enabled and used when searching for MCP servers. You can query it using natural language, for example:

Copy & paste โ€” that's it
Find MCP servers for insurance risk analysis

Or more specifically:

Copy & paste โ€” that's it
Search for MCP servers with natural language processing capabilities

Documentation Navigation

Developer Guide

Architecture Overview

MCP Advisor adopts a modular architecture with clean separation of concerns and functional programming principles. The codebase has been recently refactored (2025) to improve maintainability and scalability:

Copy & paste โ€” that's it
graph TD
    Client["Client Application"] --> |"MCP Protocol"| Transport["Transport Layer"]
    
    subgraph "MCP Advisor Server"
        Transport --> |"Request"| SearchService["Search Service"]
        SearchService --> |"Query"| Providers["Search Providers"]
        
        subgraph "Search Providers"
            Providers --> MeilisearchProvider["Meilisearch Provider"]
            Providers --> GetMcpProvider["GetMCP Provider"]
            Providers --> CompassProvider["Compass Provider"]
            Providers --> NacosProvider["Nacos Provider"]
            Providers --> OfflineProvider["Offline Provider"]
        end
        
        OfflineProvider --> |"Hybrid Search"| HybridSearch["Hybrid Search Engine"]
        HybridSearch --> TextMatching["Text Matching"]
        HybridSearch --> VectorSearch["Vector Search"]
        
        SearchService --> |"Merge & Filter"| ResultProcessor["Result Processor"]
        
        SearchService --> Logger["Logging System"]
    end

Project Structure

The codebase follows clean architecture principles with organized directory structure:

Copy & paste โ€” that's it
src/
โ”œโ”€โ”€ services/
โ”‚   โ”œโ”€โ”€ core/                    # Core business logic
โ”‚   โ”‚   โ”œโ”€โ”€ installation/        # Installation guide services
โ”‚   โ”‚   โ”œโ”€โ”€ search/             # Search providers
โ”‚   โ”‚   โ””โ”€โ”€ server/             # MCP server implementation
โ”‚   โ”œโ”€โ”€ providers/              # External service providers
โ”‚   โ”‚   โ”œโ”€โ”€ meilisearch/        # Meilisearch integration
โ”‚   โ”‚   โ”œโ”€โ”€ nacos/              # Nacos service discovery
โ”‚   โ”‚   โ”œโ”€โ”€ oceanbase/          # OceanBase vector database
โ”‚   โ”‚   โ””โ”€โ”€ offline/            # Offline search engine
โ”‚   โ”œโ”€โ”€ common/                 # Shared utilities
โ”‚   โ”‚   โ”œโ”€โ”€ api/                # API clients
โ”‚   โ”‚   โ”œโ”€โ”€ cache/              # Caching mechanisms
โ”‚   โ”‚   โ””โ”€โ”€ vector/             # Vector operations
โ”‚   โ””โ”€โ”€ interfaces/             # Type definitions
โ”œโ”€โ”€ types/                      # TypeScript type definitions
โ”œโ”€โ”€ utils/                      # Utility functions
โ””โ”€โ”€ tests/                      # Test suites
    โ”œโ”€โ”€ unit/                   # Unit tests
    โ”œโ”€โ”€ integration/            # Integration tests
    โ””โ”€โ”€ e2e/                    # End-to-end tests

Core Components

  1. Search Service Layer

    • Unified search interface and provider aggregation
    • Support for multiple search providers executing in parallel
    • Configurable search options (limit, minSimilarity)
  2. Search Providers

    • Meilisearch Provider: Vector search using Meilisearch
    • GetMCP Provider: API search from the GetMCP registry
    • Compass Provider: API search from the Compass registry
    • Nacos Provider: Service discovery integration
    • Offline Provider: Hybrid search combining text and vectors
  3. Hybrid Search Strategy

    • Intelligent combination of text matching and vector search
    • Configurable weight balancing
    • Smart adaptive filtering mechanisms
  4. Transport Layer

    • Stdio (CLI default)
    • SSE (Web integration)
    • REST API endpoints

For more detailed architecture documentation, see ARCHITECTURE.md.

Contribution Guidelines

We welcome contributions to MCP Advisor!

Search Providers

MCP Advisor supports multiple search providers that can be used simultaneously:

  1. Compass Search Provider: Retrieves MCP server information using the Compass API
  2. GetMCP Search Provider: Uses the GetMCP API and vector search for semantic matching
  3. Meilisearch Search Provider: Uses Meilisearch for fast, fault-tolerant text search

For detailed information about search providers, see Technical Reference.

Roadmap

MCP Advisor is evolving from a simple recommendation system to an intelligent agent orchestration platform. Our vision is to create a system that not only recommends the right MCP servers but also learns from interactions and helps agents dynamically plan and execute complex tasks.

Copy & paste โ€” that's it
gantt
    title MCP Advisor Evolution Roadmap
    dateFormat  YYYY-MM-DD
    axisFormat  %Y-%m
    
    section Foundation
    Enhanced Search & Recommendation โœ“       :done, 2025-01-01, 90d
    Hybrid Search Engine โœ“                   :done, 2025-01-01, 90d
    Provider Priority System โœ“               :done, 2025-04-01, 60d
    
    section Intelligence Layer
    Feedback Collection System               :active, 2025-04-01, 90d
    Agent Interaction Analytics             :2025-07-01, 120d
    Usage Pattern Recognition               :2025-07-01, 90d
    
    section Learning Systems
    Reinforcement Learning Framework         :2025-10-01, 180d
    Contextual Bandit Implementation         :2025-10-01, 120d
    Multi-Agent Reward Modeling             :2026-01-01, 90d
    
    section Advanced Features
    Task Decomposition Engine               :2026-01-01, 120d
    Dynamic Planning System                 :2026-04-01, 150d
    Adaptive MCP Orchestration              :2026-04-01, 120d
    
    section Ecosystem
    Developer SDK & API                     :2026-07-01, 90d
    Custom MCP Training Tools               :2026-07-01, 120d
    Enterprise Integration Framework        :2026-10-01, 150d

Major Development Phases

  1. Recommendation Capability Optimization (2025 Q2-Q3)
    • Accept user feedback
    • Refine recommendation effectiveness
    • Introduce more indices

For a detailed roadmap, see ROADMAP.md.

To Implement the above features, we need to:

License

This project is licensed under the MIT License - see the LICENSE file for details.