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.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

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.

Upstream README

View this exact version on GitHub

README.md · c4c2409e4a2e · Fetched 2026-11-13 10:41:13 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

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.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

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