# misMEM MCP server

> Provides cooperative persistent memory for LLMs using a SQLite backend to store episodes, memories, and traits across different MCP clients.

- Repository: https://github.com/lucasmella-stack/misMEM
- Page: https://hostedmcp.org/servers/lucasmella-stack/mismem
- Transport: stdio
- Stars: 4
- License: MIT
- Latest version: 0.2.0

## Install

### Claude Code

```sh
claude mcp add mismem -- npx -y @lucasmella/mismem
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mismem": {
      "command": "npx",
      "args": [
        "-y",
        "@lucasmella/mismem"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mismem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@lucasmella/mismem"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mismem","type":"stdio","command":"npx","args":["-y","@lucasmella/mismem"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mismem": {
      "command": "npx",
      "args": [
        "-y",
        "@lucasmella/mismem"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mismem -- npx -y @lucasmella/mismem
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mismem]
command = "npx"
args = ["-y", "@lucasmella/mismem"]
```

### Gemini CLI

```sh
gemini mcp add -s user mismem npx -- -y @lucasmella/mismem
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mismem": {
      "command": "npx",
      "args": [
        "-y",
        "@lucasmella/mismem"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MISMEM_DB` | no | no | Absolute path to the SQLite database (default: ~/.mismem/mem.db) |
