
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A proof-of-concept MemGPT agent built with Spring Boot and Spring AI that can be exposed as an MCP server or REST service.
MemGPT agent exposed as an MCP server with REST alternative is cataloged as an MCP server attributed to gm2552. A proof-of-concept MemGPT agent built with Spring Boot and Spring AI that can be exposed as an MCP server or REST service. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MemGPT agent exposed as an MCP server with REST alternative are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. The project exposes the agent as either a REST service or an MCP server, and the chat bot has profiles for each.
No. Archival memory is disabled by default and requires a vector store and embeddings model, activated via the pgvector Spring profile.
README.md · 1bc3da7937b2 · Fetched 2026-11-13 12:09:56 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This project is a proof of concept that implements a simplified and abridge implementation of the MemGPT research paper. It implements the concept as an agent and showcases how the it can be integrated either as a simple REST service or as an MCP server.
This project implements the MemGPT concept using Spring Boot and Spring AI and exposes its functionality as a REST service and an MCP Server. In addition, it contains a simple ChatBot command line application that can integrate the agent with either of these mechanisms. The project is comprised of the following sub-projects:
The core-agent is component that comprises the interfaces and implementation of the MemGPT agent. It is responsible for maintaining configuration and state of agents which includes:
It is also responsible for the core agent functions including but not limited to:
Externally, the agent exposes its functionality through three main interfaces:
The simple-chat-bot-app communicates with either the restful-agent-app or the mgmgpt-mcp-server. Choose which server application you would like the ChatBot app to communicate with, configure that app, and run it. You will then configure the ChatBot app to use the server application of your choice and run it.
Both the MCP and REST server applications simply wrap the core agent, so their configurations are identical. Execute the following steps to run either server application of your choice.
export OPENAI_API_KEY=your-api-key
./gradlew :restful-agent-app:build
or
./gradlew :memgpt-mcp-server:build
java -jar ./restful-agent-app/build/libs/restful-agent-app-0.0.1-SNAPSHOT.jar
or
java -jar ./memgpt-mcp-server/build/libs/memgpt-mcp-server-0.0.1-SNAPSHOT.jar
The server application will load and is ready for incoming transactions from the ChatBot application.
MemGPT archival memory requires the use of a vector store and Embeddings model. By default, archival memory
is disabled, but you can activate it by enabling the pgvector Spring profile. If you are using OpenAI as
your embeddings provider and postgres as your database, no additional configuration should be required. Other providers
may require additional configuration which is beyond the scope of this README.
The ChatBot application can communicate with either the REST application or the MCP server application; by default it will attempt to communicate with the REST Application. When executing against an MCP server, the ChatBot can either communicate directly with the MCP server manage the context window and create chat completions, or it an use a custom Spring AI Advisor to only manage the context window memory and handle creating chat completions itself.
Execute the following steps to configure and run the ChatBot application:
export OPENAI_API_KEY=your-api-key
Edit the simple-chat-bot-app\src\main\resource\application.yaml file and update the spring.profiles.active setting with the following value
depending on the targeted server application.
./gradlew :simple-chat-bot-app:build
java -jar ./simple-chat-bot-app/build/libs/simple-chat-bot-app-0.0.1-SNAPSHOT.jar
The application will first ask for a User ID which can be anything; it is mainly used as a unique identifier for the chat session.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MemGPT agent exposed as an MCP server with REST alternative from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/memgpt-agent)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.