# MemoryGuard MCP server

> Provides a local-first governed memory backend that organizes, deduplicates, and secures shared context for coding agents.

- Repository: https://github.com/irisxc4/memoryguard
- Page: https://hostedmcp.org/servers/irisxc4/memoryguard
- Transport: stdio
- Stars: 4
- License: MIT
- Latest version: 0.7.12

## Install

### Claude Code

```sh
claude mcp add memoryguard -- uvx agent-memguard
```

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

```json
{
  "mcpServers": {
    "memoryguard": {
      "command": "uvx",
      "args": [
        "agent-memguard"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "memoryguard": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-memguard"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memoryguard": {
      "command": "uvx",
      "args": [
        "agent-memguard"
      ]
    }
  }
}
```

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

```toml
[mcp_servers.memoryguard]
command = "uvx"
args = ["agent-memguard"]
```

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

```json
{
  "mcpServers": {
    "memoryguard": {
      "command": "uvx",
      "args": [
        "agent-memguard"
      ]
    }
  }
}
```

## FAQ

### Does MemoryGuard send my data to a remote server?

No, it is a local-only solution with no remote server or remote telemetry.

### How does MemoryGuard handle sensitive information?

It can quarantine sensitive-looking content from active memory to prevent leaks.

### Can I undo changes made by agents to the memory?

Yes, the system preserves evidence behind changes and keeps governance decisions reversible.

### What coding agents are supported?

It supports hosts such as Claude Code, Codex, Cursor, and TRAE.
