# Fidelis Memory

Stores notes on your machine and serves the exact wording back to your agent without LLM rewriting. Helpful when summaries drop critical edge cases or failure conditions.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 24
- Author: hermes-labs-ai
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/hermes-labs-ai/fidelis
- Updated: 2026-10-19
- HTML: https://affpapa.org/en/nevibecode/mcp/fidelis-memory

## What it does

The server keeps plain text and Markdown files in `~/.cogito/store` on your disk. Most memory integrations condense past context, which often strips out strict boundaries or reasons behind a rollback. Fidelis returns the precise passage you entered, feeding the raw text directly to the assistant during recall.

Running `fidelis init` registers a background daemon via launchd on macOS or `systemd --user` on Linux. Retrieval uses local vector embeddings managed by an Ollama instance with the `nomic-embed-text` model. No external API key is needed.

Without a live Ollama instance, embedding queries will fail immediately. Release 0.3.0rc1 operates strictly on a single machine rather than acting as a networked team database. When you record an update to an existing note, the system retains the previous record alongside its historical status instead of silently overwriting it.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `FIDELIS_PORT` — 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 --env FIDELIS_PORT=<FIDELIS_PORT> --transport stdio fidelis-memory -- uvx fidelis-memory
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from fidelis-memory <command>

### Codex

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

### Cursor

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

### GitHub Copilot

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

### Gemini CLI

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

## When to use it
- retrieve verbatim technical conditions across agent sessions
- preserve original incident details without generative summarization
- track note corrections without discarding previous history
- index local markdown files for agent search via Ollama

## Example prompts
- Look up my migration note in Fidelis and quote the retry requirement
- Save the staging rollback details and verification steps into Fidelis
- Check Fidelis memory for earlier review comments on this database schema

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
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
