MCP-OS MCP-Retriever server

MCP-OS MCP-Retriever server

mcp-os•bygiao-123-sun

MCP-OS provides an MCP-Retriever server that embeds task descriptions and retrieves the most relevant MCPs from a vector index to inject slimmer prompt context.

License: Apache License v2•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Embeds task descriptions and retrieves Top-k MCPs from a vector index.
  • •Injects only Top-k MCP descriptions into a slim prompt template to reduce prompt tokens.
  • •Supports pluggable vector back-ends, defaulting to openai/embeddings with alternatives like FAISS, Qdrant, and Milvus.
  • •Exposes a match endpoint that returns MCP matches and scores for a given task.

BEST FOR

  • •Selecting relevant MCP servers for a task without flooding the model context window.
  • •Wiring MCP selection into LLM or agent setups such as Claude Desktop.
  • •Building an index from MCP metadata files for retrieval.

ABOUT MCP-OS

MCP-OS MCP-Retriever server is cataloged as an MCP server attributed to giao-123-sun. MCP-OS provides an MCP-Retriever server that embeds task descriptions and retrieves the most relevant MCPs from a vector index to inject slimmer prompt context. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache License v2. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP-OS MCP-Retriever server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How can retrieval quality be tuned?

Increase topK for higher recall, switch to a stronger embedding model, or refine task-text normalization rules.

Can I plug in my own vector store?

Yes, by implementing the VectorStore interface in src/store/yourStore.ts.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c4c2409e4a2e · 采集于 2026-11-13 10:41:13 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP-OS · Model Context Protocol Orchestration System

Let your large language model focus on solving tasks—not wading through a sea of MCPs.

👉 查看中文版 README


✨ Project Vision

As the Model Context Protocol (MCP) ecosystem explodes, hundreds of MCP servers create three familiar headaches:

Pain PointDescription
Prompt BloatLengthy MCP descriptions crowd the context window; the model spends more tokens picking tools than planning / analysis.
Connection HygieneWe must constantly track which MCPs are alive and whether they satisfy the current task.
Resource & SecurityAlways-on MCP servers consume memory and expose interfaces, increasing attack surface.

MCP-OS aims to:

“Manage MCPs the way an operating system manages processes—load on demand, unload when idle.”


🌟 Current Phase: MCP-Retriever (Completed ✅)

  1. Vector Retrieval — Embed task descriptions and retrieve Top-k MCPs from a vector index.
  2. Slim Prompt Template — Inject only the Top-k MCP descriptions, saving ~70 % prompt tokens on average.
  3. Pluggable Back-ends — Default openai/embeddings; swap in FAISS, Qdrant, Milvus, etc.

📖 Details in /packages/retriever.


🛣️ Roadmap

MilestoneFeatureStatus
v0.1MCP-Retriever – vector search✅ Released
v0.2MCP-Retriever - light version⏳ In progress
v0.3Health-Check Daemon – auto heartbeat & pruning⏳ In progress
v0.4Runtime Manager – on-demand MCP start/stop🗓 Planned
v1.0Policy Sandbox – fine-grained auth, rate, cost🗓 Planned

⚙️ Quick Start

1. Clone & Install

git clone https://github.com/your-org/mcp-os.git
cd mcp-os
npm install      # or npm / yarn

2. Build the Vector Index

# Scan local / remote MCP metadata and create an index
npm run build:index --src ./mcp_list.json --out ./index

3. Start the Retriever Server

npm run start:retriever
# Default listens on 127.0.0.1:5500 (HTTP + SSE)

4. Wire It into Your LLM / Agent

// Example: Claude Desktop
{
  "mcpServers": {
    "mcp-os": {
      "command": "/absolute/path/to/mcp-os/bin/retriever.js"
    }
  }
}

Or call the REST endpoint:

curl -X POST http://localhost:5500/match \
  -H "Content-Type: application/json" \
  -d '{"task": "Scrape a web page and extract its title"}'

Sample response:

{
  "matches": [
    {
      "id": "web-scraper",
      "score": 0.89,
      "functions": ["fetchHtml", "querySelector"]
    }
  ]
}

📂 Repository Layout

mcp-os/
├─ packages/
│  ├─ retriever/        # Phase 1: vector retrieval
│  ├─ health-check/     # Phase 2: heartbeat daemon (WIP)
│  └─ runtime-manager/  # Phase 3: load/unload (planned)
├─ scripts/             # CLI helpers
├─ examples/            # Usage demos
└─ docs/                # Architecture & deep dives

🧩 MCP List Format

mcp_list.json describes MCP metadata:

{
  "web-scraper": {
    "name": "Web Scraper MCP",
    "description": "Fetches HTML and parses DOM.",
    "functions": ["fetchHtml", "querySelector"]
  },
  "calc": { ... }
}

❓ FAQ

Retrieval quality is poor—how do I tune it?
  • Increase topK for higher recall.
  • Switch to a stronger embedding model.
  • Refine task-text normalization rules.
How do I plug in my own vector store?

Implement the VectorStore interface: src/store/yourStore.ts.


🤝 Contributing

  1. Fork the repo
  2. Create a branch feature/awesome-stuff
  3. Open a PR and link related issues
  4. Wait for CI + review 🎉

📜 License

Apache License v2


🙏 Acknowledgements

  • The Model Context Protocol community for the open specification
  • MCP Inspector for debugging
  • Everyone who files issues or PRs—thank you! ❤️

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP-OS MCP-Retriever server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-os)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools