Skip to main content
Glama

polypack-mcp

一个将 Polypack 作为持久自适应记忆暴露的 MCP 服务器。MCP 专属工具位于此处;数据库仍作为独立依赖存在。

运行

pip install -e '.[polypack]'
polypack-mcp --store ./polypack-data

该服务器暴露了八个专注的工具:memory_storememory_recallmemory_contextmemory_feedbackmemory_suppressmemory_supersedememory_consolidategraph_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 则提供负向检索反馈。响应会暴露激活 前后的状态,以及学习到的权重是否发生变化。取代与 整合会物化为 SUPERSEDESSUPERSEDED_BYCONSOLIDATED_FROM 图边。

传入 --store 以打开一个持久的 Polypack 目录。若不传,服务器将使用 内存后端,这便于进行冒烟测试。 polypack 额外依赖要求 polypack-db>=3.2.0,并使用其原生的 ActivationEngine.working_memory 选择器进行上下文组装。

Related MCP server: Memory Server MCP

开发

pip install -e '.[dev]'
pytest

测试套件包含一个 MCP 客户端/服务器协议冒烟测试,覆盖工具 发现、记忆存储、检索以及资源读取。

Install Server
F
license - not found
A
quality
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
17Releases (12mo)
Commit activity

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

  • A
    license
    B
    quality
    D
    maintenance
    Provides 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.
    24
    17
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides 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.
    12
    10
    ISC
  • F
    license
    B
    quality
    D
    maintenance
    Enables 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.
    24
    1
  • A
    license
    A
    quality
    C
    maintenance
    Provides persistent memory capabilities for AI assistants, enabling storage, recall, and analysis of information across conversations with intelligent memory management.
    25
    38
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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