MidOS - MCP Community Library

io.github.MidOSresearch由 GitHub 帳號 MidOSresearch 發布v2026.2.27更新於 Oct 24, 2026

Curated knowledge for AI agents — 19K chunks, 121 skills, semantic search via MCP

已驗證STDIO僅桌面知識與記憶AI 與機器學習

概覽

AI 產生的概覽

MidOS 透過 MCP 工具把本機 MidOS 知識庫、技能與研究資料庫開放給 AI 助理,用於檢索與查詢。

可以做什麼
跨領域檢索精選知識片段,在啟用向量儲存時回傳完整內容而非截斷摘要。查詢跨技術堆疊的可重用技能模式。取得經過驗證的改進、已核實的修補與更正,以及前沿參考條目。透過 LanceDB 與嵌入模型對知識庫進行語意搜尋。檢查伺服器健康狀態與知識庫統計,並產生用戶端設定檔。
適用情境
當你已有 MidOS 安裝,並希望助理在 Claude Code、Cursor、Cline 等支援的用戶端中工作時取用其精選知識、技能與研究條目,就適合使用。若沒有本機 MidOS 知識庫可指向,則意義不大。
執行需求
本機 Python 3.10+ 程序,從 PyPI 安裝,依賴 FastMCP 2.x。需要本機 MidOS 知識庫,透過 MIDOS_ROOT 環境變數指定或自動偵測。選用的向量擴充會引入 LanceDB 與嵌入模型。選用的 MIDOS_API_KEY 用於驗證存取;免費 Dev 層級無需金鑰。
安裝前請注意
Pro 層級每月收費 10 美元,解鎖寫入操作與額外工具包。無效或過期的 API 金鑰會靜默回退到免費 Dev 層級,需確認目前生效層級。免費層級每月限 500 次查詢。伺服器會讀取本機知識庫目錄,MIDOS_ROOT 應只指向你願意暴露的目錄。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MidOS - MCP Community Library,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

midos-mcp

MidOS MCP Community Library — Knowledge, Skills, and Research as MCP tools.

Install once, connect to any AI client.

Install

bash
pip install midos-mcp

Requirement: MidOS knowledge base must be available locally. Set the MIDOS_ROOT environment variable to point to your MidOS installation directory (the one containing knowledge/ and modules/).

bash
export MIDOS_ROOT=/path/to/midos

Quick Start

bash
# Start server (stdio — default for Claude Code, Cursor, etc.)midos-mcp serve
# Start with HTTP transportmidos-mcp serve --http
# Generate config for your AI clientmidos-mcp config --generate claudemidos-mcp config --generate cursor
# Check healthmidos-mcp health

Commands

midos-mcp serve

Start the MCP server with your preferred transport.

bash
midos-mcp serve              # stdio (default)midos-mcp serve --http       # Streamable HTTP on 127.0.0.1:8419midos-mcp serve --sse        # Legacy SSE transportmidos-mcp serve --http --host 0.0.0.0 --port 9000
FlagTransportUse Case
--stdiostdioClaude Code, Cursor, Cline (default)
--httpStreamable HTTPWeb clients, remote access
--sseServer-Sent EventsLegacy clients

midos-mcp config

Generate ready-to-paste JSON config for any supported MCP client.

bash
midos-mcp config --generate claude    # Claude Desktop / Claude Codemidos-mcp config --generate cursor    # Cursor IDEmidos-mcp config --generate cline     # Cline (VS Code)midos-mcp config --generate windsurf  # Windsurf IDEmidos-mcp config --generate continue  # Continue.devmidos-mcp config --generate zed       # Zed Editormidos-mcp config --generate opencode  # OpenCodemidos-mcp config --generate http      # Generic HTTP client
# Write to filemidos-mcp config --generate claude -o mcp-config.json

midos-mcp health

Check server health: knowledge base stats, vector store status, dependencies.

bash
midos-mcp health          # Human-readable outputmidos-mcp health --json   # JSON output for scripts

midos-mcp keys

Manage API keys for tiered access control.

bash
midos-mcp keys generate --name "my-app" --tier devmidos-mcp keys listmidos-mcp keys revoke midos_sk_abc

Tiers: dev (free), pro ($10/mo), admin.

Configuration

Environment Variables

VariableDefaultDescription
MIDOS_ROOTauto-detectPath to MidOS installation (required)
MIDOS_HOST127.0.0.1HTTP server bind host
MIDOS_PORT8419HTTP server bind port
MIDOS_TRANSPORTstdioDefault transport

Root Detection

The server locates the MidOS knowledge base:

  1. MIDOS_ROOT environment variable (recommended)
  2. Auto-detect: walks up from package location looking for CLAUDE.md + knowledge/
  3. Fallback: current working directory

If you installed via pip, auto-detect won't find the knowledge base. Either:

bash
# Option A: Clone the repo and point to itgit clone https://github.com/MidOSresearch/midos.gitexport MIDOS_ROOT=./midos
# Option B: Point to an existing MidOS directoryexport MIDOS_ROOT=/path/to/your/midos

Verify with midos-mcp health — it shows the detected root and knowledge counts.

Supported Clients

ClientConfig FileTransport
Claude Desktopclaude_desktop_config.jsonstdio
Claude Code.mcp.jsonstdio
Cursor.cursor/mcp.jsonstdio
Clinecline_mcp_settings.jsonstdio
Windsurf~/.codeium/windsurf/mcp_config.jsonstdio
Continue.dev~/.continue/config.jsonstdio
Zed~/.config/zed/settings.jsonstdio
OpenCodeopencode.jsonSSE

Optional Dependencies

bash
# Vector store support (LanceDB + embeddings)pip install midos-mcp[vector]
# Development toolspip install midos-mcp[dev]

What's Inside

MidOS exposes 68 MCP tools across 2 tiers:

TierToolsAccess
Dev34 toolsFree — no API key needed, full content, 500 queries/month
Pro68 tools$10/mo — security ops, AOTC, orchestration, maker write ops

Capabilities

  • Knowledge — Search 46K+ curated chunks across all domains (full content, no truncation)
  • Skills — 119 reusable patterns across 16+ technology stacks
  • EUREKA — 383 validated improvements with measured ROI
  • Truth — 50 verified patches and corrections
  • SOTA — 140 state-of-the-art convergence ceilings
  • Vector Search — Semantic search via LanceDB + Gemini embeddings (3072-d)

Rate Limits

TierQueries/monthContent
Dev500Full content (no truncation)
Pro100,000Full content + AOTC + ops packs

Invalid or expired API keys silently fall back to Dev tier.

Requirements

  • Python 3.10+
  • FastMCP 2.x
  • MidOS knowledge base (local)

License

MIT

來源:README.md,提交 4642a7d

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v2026.2.27最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分