# MidOS - MCP Community Library

Gives an agent tools over a local MidOS knowledge base: semantic search, reusable skills, verified patches. Set it up once and point any MCP client at it.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8
- Author: MidOSresearch
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/MidOSresearch/midos
- Updated: 2026-05-03
- HTML: https://affpapa.org/en/nevibecode/mcp/midosresearch-midos-mcp-community-library

## What it does

Run `midos-mcp serve` and the server talks stdio by default, which covers Claude, Cursor and Cline. Remote setups take Streamable HTTP on `127.0.0.1:8419`; SSE is there for older clients. To get a client-specific config, `midos-mcp config --generate claude` prints JSON you paste into the right file, or write it out with `-o`.

Access comes in two tiers. Dev is free: 34 of the 68 tools and 500 queries a month. Pro costs $10/mo and adds security ops, orchestration and write operations. A wrong or expired key drops you back to Dev without an error, so a suddenly thinner tool list is expected behaviour. Keys are managed with `midos-mcp keys generate --name "my-app" --tier dev`.

The catch is local data. The server expects a MidOS install containing `knowledge/` and `modules/`, pointed at by `MIDOS_ROOT`. A pip install alone leaves auto-detection with nothing to find, so set the variable yourself. Python 3.10+ and FastMCP 2.x are required, and semantic search needs the extra `midos-mcp[vector]` package with LanceDB and embeddings. `midos-mcp health` reports the resolved root and knowledge counts.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `MIDOS_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add midos -e MIDOS_API_KEY=<MIDOS_API_KEY> -- uvx midos-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from midos-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add midosresearch-midos-mcp-community-library --env MIDOS_API_KEY=<MIDOS_API_KEY> -- uvx midos-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from midos-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "midosresearch-midos-mcp-community-library": {
            "command": "uvx",
            "args": [
                "midos-mcp"
            ],
            "env": {
                "MIDOS_API_KEY": "<MIDOS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from midos-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "midosresearch-midos-mcp-community-library": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "midos-mcp"
            ],
            "env": {
                "MIDOS_API_KEY": "<MIDOS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from midos-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e MIDOS_API_KEY=<MIDOS_API_KEY> midosresearch-midos-mcp-community-library uvx midos-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from midos-mcp <command>

## When to use it
- find a specific chunk of knowledge by meaning rather than keyword
- reuse a skill written for your stack instead of drafting one
- pull verified patches and corrections into the agent's context
- confirm that the server resolves the knowledge base and its dependencies
- separate free and paid access with API keys

## Example prompts
- Search MidOS knowledge for how to set up CI in a Python project
- List the library skills for React and pick the one that fits
- Check server health with `midos-mcp health --json`

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
