# Memento Protocol

> Memento Protocol is an open-source MCP server. Persistent memory for AI agents. Store what matters, recall by meaning, skip the rest. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/myrakrusemark/memento-protocol
- **MCP Registry name:** io.github.myrakrusemark/memento-protocol
- **Listing updated:** 2026-11-13

## About

Persistent memory for AI agents. Store what matters, recall by meaning, skip the rest.

## Install

### Claude Code (Terminal)

```sh
claude mcp add memento-protocol --env MEMENTO_API_KEY='<MEMENTO_API_KEY>' --env MEMENTO_API_URL='<MEMENTO_API_URL>' --env MEMENTO_WORKSPACE='<MEMENTO_WORKSPACE>' -- npx -y memento-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memento-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "memento-mcp"
      ],
      "env": {
        "MEMENTO_API_KEY": "<MEMENTO_API_KEY>",
        "MEMENTO_API_URL": "<MEMENTO_API_URL>",
        "MEMENTO_WORKSPACE": "<MEMENTO_WORKSPACE>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memento-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "memento-mcp"
      ],
      "env": {
        "MEMENTO_API_KEY": "<MEMENTO_API_KEY>",
        "MEMENTO_API_URL": "<MEMENTO_API_URL>",
        "MEMENTO_WORKSPACE": "<MEMENTO_WORKSPACE>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "memento-protocol": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memento-mcp"
      ],
      "env": {
        "MEMENTO_API_KEY": "<MEMENTO_API_KEY>",
        "MEMENTO_API_URL": "<MEMENTO_API_URL>",
        "MEMENTO_WORKSPACE": "<MEMENTO_WORKSPACE>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "memento-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "memento-mcp"
      ],
      "env": {
        "MEMENTO_API_KEY": "<MEMENTO_API_KEY>",
        "MEMENTO_API_URL": "<MEMENTO_API_URL>",
        "MEMENTO_WORKSPACE": "<MEMENTO_WORKSPACE>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "memento-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "memento-mcp"
      ],
      "env": {
        "MEMENTO_API_KEY": "<MEMENTO_API_KEY>",
        "MEMENTO_API_URL": "<MEMENTO_API_URL>",
        "MEMENTO_WORKSPACE": "<MEMENTO_WORKSPACE>"
      }
    }
  }
}
```

## FAQ

### Is Memento Protocol free?

Yes. Memento Protocol is open source, so you can use and self-host it for free.

### How do I add Memento Protocol to Claude Code?

Run this command in your terminal: claude mcp add memento-protocol --env MEMENTO_API_KEY='<MEMENTO_API_KEY>' --env MEMENTO_API_URL='<MEMENTO_API_URL>' --env MEMENTO_WORKSPACE='<MEMENTO_WORKSPACE>' -- npx -y memento-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/memento-protocol
