MidOS - MCP Community Library

io.github.MidOSresearch由 GitHub 账号 MidOSresearch 发布v2026.2.23.1更新于 Oct 27, 2026

Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.

已验证Streamable HTTP可网页运行知识与记忆AI 与机器学习

概览

AI 生成的概览

MidOS 把精选知识库(技能包、经验证的模式、语义搜索)以 MCP 工具形式提供给 AI 助手。

可以做什么
  • 在覆盖多个领域的 4.6 万余条精选知识片段中检索,并返回完整内容
  • 浏览跨技术栈的可复用技能模式,以及经验证的改进、修正补丁和前沿参考条目
  • 安装可选向量组件后,可对知识库进行语义向量检索
  • 管理分级 API 密钥,并检查服务器健康状态、知识库统计与向量库状态
  • 为 Claude、Cursor、Cline、Windsurf、Continue、Zed 和 OpenCode 生成可直接粘贴的 MCP 客户端配置
适用场景
适合希望助手基于经过筛选和验证的工程知识与可复用模式作答,而不只依赖模型自身知识的场景,前提是本地已有 MidOS 知识库。
运行要求
需要 Python 3.10+ 与 midos-mcp 包(pip),以及 FastMCP 2.x。必须本地存在 MidOS 知识库,需将 MIDOS_ROOT 设为包含 knowledge/ 与 modules/ 的目录,因为 pip 安装时自动探测会失败。可选向量组件会引入 LanceDB 与 Gemini 嵌入。默认以 stdio 运行,也可在 127.0.0.1:8419 上使用 HTTP 或 SSE。
安装前请注意
Pro 档每月 10 美元,解锁写入操作和额外内容包;免费 Dev 档每月限 500 次查询,无效或过期的 API 密钥会静默回退到 Dev 档。API 密钥通过 keys 命令管理。语义检索依赖 Gemini 嵌入,会把查询数据发送给该第三方服务。服务器可绑定到 0.0.0.0,从而暴露到本机之外。

安装

在 SourceWeft 中

  1. 打开 控制台中的 MidOS - MCP Community Library,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.MidOSresearch%2Fmidos-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "midos-community-library": {
      "type": "http",
      "url": "https://midos.dev/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.23.1最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分