# agenticmemory MCP server

> Provides persistent memory for AI agents including conversation history, key-value context, semantic search, and FIFO queues.

- Repository: https://github.com/jyswee/agenticmemory
- Page: https://hostedmcp.org/servers/jyswee/agenticmemory
- Transport: stdio, remote
- Stars: 1
- Latest version: 1.10.0

## Install

### Claude Code

```sh
claude mcp add --env 'AGMRY_API_KEY=<YOUR_AGMRY_API_KEY>' agenticmemory -- npx -y agmry
```

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

```json
{
  "mcpServers": {
    "agenticmemory": {
      "command": "npx",
      "args": [
        "-y",
        "agmry"
      ],
      "env": {
        "AGMRY_API_KEY": "<YOUR_AGMRY_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "agenticmemory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agmry"
      ],
      "env": {
        "AGMRY_API_KEY": "<YOUR_AGMRY_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"agenticmemory","type":"stdio","command":"npx","args":["-y","agmry"],"env":{"AGMRY_API_KEY":"<YOUR_AGMRY_API_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "agenticmemory": {
      "command": "npx",
      "args": [
        "-y",
        "agmry"
      ],
      "env": {
        "AGMRY_API_KEY": "<YOUR_AGMRY_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add agenticmemory --env 'AGMRY_API_KEY=<YOUR_AGMRY_API_KEY>' -- npx -y agmry
```

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

```toml
[mcp_servers.agenticmemory]
command = "npx"
args = ["-y", "agmry"]

[mcp_servers.agenticmemory.env]
AGMRY_API_KEY = "<YOUR_AGMRY_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'AGMRY_API_KEY=<YOUR_AGMRY_API_KEY>' agenticmemory npx -- -y agmry
```

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

```json
{
  "mcpServers": {
    "agenticmemory": {
      "command": "npx",
      "args": [
        "-y",
        "agmry"
      ],
      "env": {
        "AGMRY_API_KEY": "<YOUR_AGMRY_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `AGMRY_API_KEY` | no | yes | Agentic Memory API key (amk_...). Optional for tool discovery; required to call a tool. Get one instantly with `agmry signup my-project` — no browser, no card, live for 48h; $0 card-auth starts the free 7-day trial. |

## FAQ

### Can agents sign themselves up without human intervention?

Yes, agents can sign up via a single command which returns a working API key immediately without requiring a browser or human.

### Does it support end-to-end encryption?

Yes, you can create zero-knowledge spaces where encryption happens inside the CLI and the server only sees ciphertext.

### Can I use it with remote MCP clients?

Yes, hosted MCP clients like Claude Web or Claude Desktop can connect directly to the remote server using the provided URL and API key.
