# OWASP Agent Memory Guard MCP Server

> Runtime threat scanning for AI agent memory.

- **URL**: https://followmcp.com/en/servers/owasp-mcp-server
- **Category**: Other
- **Origin**: Community
- **Stars**: 213
- **FMRS Score**: 49/100 (Grade D)
- **Source**: https://github.com/OWASP/www-project-agent-memory-guard/tree/main/mcp-server
- **Transports**: stdio (local process)
- **Runtimes**: Python
- **Auth**: No credential needed

## Overview
The OWASP Agent Memory Guard MCP Server exposes memory security scanning to MCP-compatible AI agents. It can check for prompt injection, secret leakage, role hijacking, instruction overrides, data exfiltration, and integrity tampering. It provides single-entry and batch scans, plus checks before storage and recall.

## Best for
- Teams that want prompt injection, secret leakage, and tampering checks for AI agent memory.
- Users who want to connect through Claude Desktop using an stdio MCP server.

## Not for
- Users seeking a complete memory store, automatic remediation, or general agent protection; the listed tools document scanning and validation capabilities.
- Users who require a transport other than stdio or a client integration not documented in the source.

## Required permissions
- The example configuration requires the MCP client to be able to launch the amg-mcp-server command.
- The source does not specify other system permissions or external service access requirements.

## Risks
- Scan results should not be assumed to catch every threat; the source gives no detection coverage or false-positive figures for the MCP tools.
- Sending malicious or sensitive memory content to the server for scanning may expose that content; the source does not describe MCP server data handling or retention.
- The manifest lists MCP package version 0.1.0, while the repository README discusses other project versions; the MCP package should not be assumed to include every feature of the broader project.

## Client config (JSON)
```json
{
  "mcpServers": {
    "agent-memory-guard": {
      "command": "amg-mcp-server"
    }
  }
}
```

## Tools (5)
- `scan_memory_entry`: Scan a single memory entry for threats.
- `scan_memory_batch`: Scan multiple memory entries in one call.
- `validate_before_store`: Check memory content before it is stored.
- `validate_before_recall`: Check recalled memory before it is injected into context.
- `get_threat_categories`: List the threat types the server can detect.
