360 Secure SkillHub
360 安全技能中心

Memoryguard

MemoryGuard 为编码代理提供本地优先的 MCP 共享记忆后端与治理控制台。每次写入会自动分类、去重、覆盖、隔离和压缩记忆,并可通过 CLI、GUI 或 MCP 工具查看证据、修正结果或回滚治理决策;数据保存在本地 SQLite,无账号、无服务器、无遥测。

irisxc4
irisxc4
热度 17.23
最近更新 2026-07-22 15:37:54
分类:知识依赖:MCP 服务 / 读写文件 / 代码执行应用场景:笔记整理 / 工作流 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add memoryguard
Metadata
name
memoryguard
description
Local-first MCP memory backend and governance console for coding agents. Auto-organize, quarantine, supersede, and rollback shared memories across multiple agents.
version
0.1.0
author
irisxc4
homepage
https://github.com/irisxc4/memoryguard
repository
https://github.com/irisxc4/memoryguard
license
MIT
tags
["mcp","memory","agent","governance","claude-code","cursor","codex","local-first","sqlite"]

MemoryGuard

Shared memory for coding agents, without shared-memory chaos.

What It Does

MemoryGuard provides a local MCP stdio memory backend that coding agents (Claude Code, Codex, Cursor) can write to. Every write is auto-organized: classified, deduplicated, superseded, quarantined, or compressed.

Install

pip install agent-memguard

MCP Configuration

Add to your agent's MCP config:

{
  "mcpServers": {
    "memoryguard": {
      "command": "python",
      "args": ["-m", "memoryguard.mcp_server"]
    }
  }
}

Tools

  • memoryguard_memory_read - Read a single memory record by ID
  • memoryguard_memory_search - Search memories by query, kind, or status
  • memoryguard_memory_write - Write a new memory; auto-organizes on write
  • memoryguard_memory_update - Update a memory (body / kind / status)
  • memoryguard_memory_delete - Soft-delete a memory
  • memoryguard_memory_status - Get shared memory group status
  • memoryguard_binding_create - Bind an agent to a share group
  • memoryguard_binding_list - List agent bindings
  • memoryguard_extract_memories - Extract memory segments from a source file
  • memoryguard_accept_candidates - Accept extracted candidates and write to shared memory
  • memoryguard_semantic_check - Check text for semantic duplicates / conflicts
  • memoryguard_provider_install - Install provider adapter (Claude / Codex / Cursor)

Privacy

No account. No server. No telemetry. All data stays in local SQLite under .memoryguard/.