# MidOS - MCP Community Library [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/MidOSresearch/midos  
**GitHub Stars:** 8  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/midos-mcp-community-library

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

## Tools
Capabilities this server exposes over MCP:

- **search_knowledge** — Search the Midos knowledge base for relevant information.

Args:
    query: Search query (keywords or topic)
    max_results: Maximum results to return (default: 5)
- **get_skill** — Get a specific skill/capability document by name.

Args:
    name: Skill name (e.g., 'RAG_SYSTEMS_2026_SOTA')
- **list_skills** — List all available skills/capabilities.

Args:
    filter: Optional filter for skill names
    stack: Optional stack filter, comma-separated (e.g. 'python,react'). Skills with matching compatibility.json are prioritized.
- **get_protocol** — Get a specific protocol document.

Args:
    name: Protocol name (e.g., 'PROTOCOL_NEURAL_LINK')
- **get_eureka** — Get a specific EUREKA breakthrough document.

Args:
    name: EUREKA name (e.g., 'EUREKA_CACHE_SEMANTICA' or 'ATOM_001')
- **get_truth** — Get a specific truth patch document.

Args:
    name: Truth patch name (e.g., 'AGENT_MITIGATIONS_CONTEXT_OVERFLOW')
- **hive_status** — Get current status of the Midos hive system.
- **semantic_search** — Semantic search using LanceDB vectors (Gemini embeddings). More intelligent than keyword search.

Args:
    query: Natural language query (e.g., 'how to implement RAG pipelines')
    top_k: Number of results (default: 5)
    stack: Optional stack filter, comma-separated (e.g. 'python,fastapi'). Results mentioning these are boosted.
- **research_youtube** — Queue a YouTube video for research. Midos will transcribe and extract insights.

Args:
    url: YouTube URL to research
    priority: Priority: 'high', 'normal', 'low'
- **memory_stats** — Get statistics about the Midos memory system (LanceDB chunks, cache status).
- **pool_signal** — Signal an action to the multi-instance coordination pool.

Args:
    action: Action type: 'completed', 'blocked', 'claimed', 'signaling'
    topic: Topic/task name
    summary: Brief description of the action
    affects: Files/resources affected (optional)
- **pool_status** — Get multi-instance coordination pool status and recent activity.
- **episodic_search** — Search episodic memory for similar past experiences using vector similarity.

Args:
    query: Search query describing the experience/task
    limit: Maximum results (default: 5)
- **episodic_store** — Store a new episodic memory/reflection for future learning.

Args:
    task_type: Type of task: CODE, RESEARCH, DEBUG, REVIEW
    input_preview: Brief description of the input/context
    success: Whether the task was successful
- **chunk_code** — Parse code file into semantic chunks (functions, classes, methods) for better RAG retrieval.

Args:
    file_path: Path to code file to chunk
- **agent_handshake** — Personalized agent onboarding. Declare your environment and get optimal config.

Call this FIRST when connecting to MidOS. Pass as much info as you know.
Unknown fields can be left empty -- you'll get sensible defaults.

Args:
    model: Your model ID (e.g. 'claude-opus-4-6', 'gemini-2.5-pro', 'opus')
    context_window: Your context window in tokens (e.g. 200000). 0 = auto-detect from model.
    client: Your CLI/IDE (e.g. 'claude-code', 'cursor', 'windsurf', 'cline')
    languages: Comma-separated languages (e.g. 'python,typescript')
    frameworks: Comma-separated frameworks (e.g. 'fastapi,react')
    platform: Your OS (e.g. 'windows', 'linux', 'macos')
    project_goal: What you're working on (e.g. 'manga engine with SVG rendering')
- **project_status** — Live MidOS system status + quick-start guide for your agent.

Call this anytime to get:
- Real-time knowledge base stats (chunks, skills, EUREKA, truth patches)
- Vector store health
- Available MCP tools with usage examples
- Research queue (pending topics)
- Tips to get the most out of MidOS

This is your /status command. Use it to orient yourself and teach your agent how to leverage MidOS.
- **agent_bootstrap** — [DEPRECATED -- use agent_handshake instead] Generic agent onboarding. Returns default config for unknown agents.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "midos-mcp-community-library": {
    "command": "uvx",
    "args": ["midos-mcp"],
    "env": {
      "MIDOS_ROOT": "",
      "MIDOS_HOST": "",
      "MIDOS_PORT": "",
      "MIDOS_TRANSPORT": ""
    }
  }
}
```

**Requires environment variables:** `MIDOS_ROOT`, `MIDOS_HOST`, `MIDOS_PORT`, `MIDOS_TRANSPORT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What MidOS - MCP Community Library MCP server does

MidOS - MCP Community Library MCP server makes a local MidOS installation available to MCP-compatible AI clients. It exposes knowledge, skills, and research resources, including more than 46,000 curated knowledge chunks, 119 reusable patterns across 16 or more technology stacks, 383 validated improvements, 50 verified patches and corrections, and 140 state-of-the-art convergence ceilings.

The server provides 68 MCP tools across two access tiers. The development tier includes 34 tools, full content, and up to 500 queries per month without an API key. The Pro tier provides all 68 tools, a 100,000-query monthly limit, and access to additional security operations, AOTC, orchestration, and maker write operations. Invalid or expired keys fall back to the development tier.

## How it works

The package is installed from Python with `pip install midos-mcp`. At runtime, it reads the MidOS knowledge base from a local directory containing `knowledge/` and `modules/`. `MIDOS_ROOT` is the recommended way to identify that directory. Without it, the server searches from its package location for `CLAUDE.md` and `knowledge/`, then falls back to the current working directory.

The default transport is stdio, which suits desktop and coding clients. Streamable HTTP is available on `127.0.0.1:8419` by default, and legacy SSE can be selected for clients that require it. The HTTP host and port can be changed with environment variables or command-line flags.

Optional vector support adds LanceDB and Gemini embeddings for semantic search. The health command reports the detected root, knowledge counts, vector-store status, and dependencies; it also supports JSON output for scripts.

## Setup and configuration

Install Python 3.10 or newer, FastMCP 2.x, and the package. A local MidOS knowledge base is also required. After setting `MIDOS_ROOT`, start the default server with `midos-mcp serve`. Use `midos-mcp serve --http` for Streamable HTTP or `midos-mcp serve --sse` for SSE.

The configuration command generates client-specific JSON for Claude, Cursor, Cline, Windsurf, Continue, Zed, and generic HTTP clients. Generated output can be written to a file with `-o`. `MIDOS_TRANSPORT` selects the default transport, while `MIDOS_HOST` and `MIDOS_PORT` configure HTTP binding.

## Tools and capabilities

- Search curated knowledge across domains, with full content and no truncation.
- Retrieve reusable skills and patterns for multiple technology stacks.
- Query validated improvements, verified corrections, and state-of-the-art references.
- Use semantic search when the vector extra is installed.
- Manage API keys with development, Pro, and admin tiers.

MidOS - MCP Community Library MCP server is intended for clients that can launch an MCP process or connect through its supported HTTP transports. The command-line health check helps confirm that the local data source is available before connecting a client.

## Limitations and notes

The knowledge base must be present locally; installing the Python package alone does not provide the data. Pip-based installation may not find the repository automatically, so set `MIDOS_ROOT` explicitly when needed. Vector search requires the optional `midos-mcp[vector]` installation and its stated LanceDB and embedding dependencies.

The development tier is limited to 500 queries per month, while Pro access requires the relevant API-key tier.

_Full upstream README: https://allmcps.com/mcp/midos-mcp-community-library/readme_

