MCP.so
登录

MemGPT Sample MCP Server

@gm2552

基本信息

分类

AI 与智能体

许可证

MIT

传输方式

stdio

作者

gm2552

关于 MemGPT Sample MCP Server

A simple, abridged MemGPT agent written in Spring Boot. Includes a running as a REST API or MCP server. Also includes a simple ChatBot App to interact with the agent.

MemGPT Sample MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MemGPT Sample MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MemGPT Sample?

MemGPT Sample is a proof-of-concept implementation of the MemGPT research paper that provides an agent with self-editing memory management. It is designed for developers who want to integrate hierarchical memory (core memory, archival memory, and message summarization) into chat applications via REST or MCP protocols.

How to use MemGPT Sample?

Set the OPENAI_API_KEY environment variable, build the desired server application with Gradle, and run the JAR. Then configure and launch the simple-chat-bot-app command-line client, choosing one of four modes: rest, mcp, restadvisor, or mdcadvisor via the spring.profiles.active setting.

Key features of MemGPT Sample

  • Implements MemGPT’s core memory, archival memory, and self-editing context window.
  • Exposes agent functionality as both a REST service and an MCP server.
  • Provides a command-line chat application that can use either transport.
  • Supports tool calling, message compilation, and LLM communication.
  • Configurable archival memory using a vector store (pgvector profile).
  • Built with Spring Boot and Spring AI; requires Java 17+, Gradle, and an OpenAI API key.

Use cases of MemGPT Sample

  • Integrate MemGPT-like memory management into existing chat applications.
  • Prototype conversational agents that retain long-term context across sessions.
  • Compare REST and MCP transports for agent-based chat systems.
  • Evaluate different memory delegation modes (full agent vs. memory‑only advisor).

常见问题

1

What does the MemGPT Sample agent manage?

It manages system prompts, tools, core memory, archival memory, message persistence (including messages outside the context window), and performs automatic context window editing.

2

How do I enable archival memory?

By default archival memory is disabled. Activate it by enabling the `pgvector` Spring profile. If using OpenAI embeddings and PostgreSQL, no extra configuration is needed.

3

What runtime dependencies are required?

Java 17 or later, Gradle, and an OpenAI API key. For archival memory, a PostgreSQL instance with the `pgvector` extension may be required.

4

Can the chatbot communicate over MCP instead of REST?

Yes. Set the profile to `mcp` or `mdcadvisor` in `simple-chat-bot-app/src/main/resources/application.yaml` to use MCP as the transport.

5

What are the two memory delegation modes?

The `advisor` profiles (`restadvisor` or `mdcadvisor`) let the chatbot create chat completions directly with the LLM while using the MemGPT server only for memory management; the standard profiles delegate both memory and completion to the server.

评论

AI 与智能体 分类下的更多 MCP 服务器