polypack-mcp
polypack-mcp
一个将 Polypack 作为持久自适应记忆暴露的 MCP 服务器。MCP 专属工具位于此处;数据库仍作为独立依赖存在。
运行
pip install -e '.[polypack]'
polypack-mcp --store ./polypack-data该服务器暴露了八个专注的工具:memory_store、memory_recall、
memory_context、memory_feedback、memory_suppress、memory_supersede、
memory_consolidate 和 graph_query。它还通过 polypack:// 发布了
context、active-memory、schema 和 stats 资源。
检索工具返回 {items, metadata}。元数据包含候选与
排除计数、得分匹配、回退行为、检索版本以及选择统计。
memory_context 使用估算的 token 数(ceil(content characters / 4),最小为 1)
作为其 token_budget。如果某个条目会导致超出剩余预算,则绝不会返回该条目;
小于或等于零的预算会被拒绝。上下文是一种软性偏好:匹配的记忆
优先,而无范围的全局记忆可作为回退使用。
传入 strict_context: true 以实现隔离。空结果会报告
reason: "no_context_match" 以及所搜索的上下文。
反馈即激活:useful=true 会强化一条记忆,而
useful=false 则提供负向检索反馈。响应会暴露激活
前后的状态,以及学习到的权重是否发生变化。取代与
整合会物化为 SUPERSEDES、SUPERSEDED_BY 和
CONSOLIDATED_FROM 图边。
传入 --store 以打开一个持久的 Polypack 目录。若不传,服务器将使用
内存后端,这便于进行冒烟测试。
polypack 额外依赖要求 polypack-db>=3.2.0,并使用其原生的
ActivationEngine.working_memory 选择器进行上下文组装。
Related MCP server: Memory Server MCP
开发
pip install -e '.[dev]'
pytest测试套件包含一个 MCP 客户端/服务器协议冒烟测试,覆盖工具 发现、记忆存储、检索以及资源读取。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides AI with persistent memory management including short-term memory (FIFO queue), long-term memory (graph-based storage with associations), and thought process management with multiple cognitive modes for continuous learning and reasoning.24173MIT
- AlicenseAqualityDmaintenanceProvides persistent memory storage with advanced features like tagging, content search, and expiration settings. It enables users to create directed links between stored memories to build structured relationships and knowledge graphs.1210ISC
- FlicenseBqualityDmaintenanceEnables persistent memory for AI systems by providing tools for episodic, semantic, and procedural data storage through a vector-and-graph-enhanced database. It allows models to maintain long-term continuity using similarity search, thematic clustering, and identity tracking.241

JauMemory MCP Serverofficial
AlicenseAqualityCmaintenanceProvides persistent memory capabilities for AI assistants, enabling storage, recall, and analysis of information across conversations with intelligent memory management.2538MIT
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/imattau/polypack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server