Skip to content
appsgit

Www Project Agent Memory Guard

Www Project Agent Memory Guard is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Runtime defense against memory poisoning in AI agents (OWASP ASI06). It has 204 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx agent-memory-guard.

github.com/OWASP/www-project-agent-memory-guard (opens in a new tab)

Data as of from the GitHub API; description from the project's repository. Report an error

Install Www Project Agent Memory Guard

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "www-project-agent-memory-guard": {
      "command": "uvx",
      "args": [
        "agent-memory-guard"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio www-project-agent-memory-guard -- uvx agent-memory-guard

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "www-project-agent-memory-guard": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-memory-guard"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "www-project-agent-memory-guard": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-memory-guard"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

About Www Project Agent Memory Guard

🏆 Official OWASP Lab Project · reference implementation for ASI06: Memory & Context Poisoning Stop AI agents from being weaponized through their own memory. Runtime defense that catches memory poisoning — even after a context reset.

  • ai-agents
  • langchain
  • llm-security
  • memory-poisoning
  • owasp
  • prompt-injection
  • python
  • ai-safety
  • autogen
  • crewai

FAQ

Www Project Agent Memory Guard FAQ

Still curious? Email info@appsgit.com.

How do I install the Www Project Agent Memory Guard MCP server?

Add the command uvx agent-memory-guard to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Www Project Agent Memory Guard free?

The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.

Is Www Project Agent Memory Guard actively maintained?

The most recent commit was on Nov 16, 2026. The latest release is v0.4.0, published Oct 28, 2026. appsgit only lists MCP servers with a commit in the last six months.