Memgpt
A TypeScript-based MCP server that provides a memory system for LLMs, supporting multi-platform chat and history record management.
rating : 2.5 points
downloads : 36
What is the MemGPT MCP Server?
The MemGPT MCP server is a toolset that allows you to interact with different large language models (LLMs), such as OpenAI, Anthropic, OpenRouter, and Ollama. It also maintains your conversation history, enabling you to easily review previous conversations.How to use the MemGPT MCP Server?
After installation, you can interact with the server via the command line and select different LLM providers and models as needed.Use Cases
Suitable for users who need to frequently interact with LLMs, especially in application scenarios where they want to manage conversation history across multiple providers.Main Features
ChatSend a message to the currently selected LLM. Supports multiple providers, such as OpenAI, Anthropic, OpenRouter, and Ollama.
Get MemoryRetrieve conversation history. You can limit the number of memories returned, or get all memories by setting `limit: null`.
Clear MemoryEmpty all stored memory records.
Switch ProviderSwitch between different LLM providers, such as OpenAI, Anthropic, OpenRouter, and Ollama. This setting is persistent.
Switch ModelSwitch to a different model under the current provider. For example, Anthropic's Claude series models support multiple speed and performance options.
Support for Claude 3 and 3.5 SeriesNew support for the latest Claude models, including the Claude 3 and Claude 3.5 series.
Advantages and Limitations
Advantages
Supports multiple LLM providers, facilitating flexible switching.
Maintains conversation history for easy review and analysis.
Provides detailed model selection functionality to meet different task requirements.
Supports unlimited memory retrieval to meet complex scenario requirements.
Limitations
Requires API keys to be configured to work properly.
Some advanced features may depend on a specific network environment.
How to Use
Install Dependencies
Run the following command to install the required dependencies: `npm install`.
Build the Server
Run the following command to build the server: `npm run build`.
Start the Server
Run the following command to start the server: `node index.js`.
Usage Examples
Send a Message and Get a ReplySend a message to the current LLM and receive its response.
Get Conversation HistoryView the latest conversation history.
Frequently Asked Questions
How to add an API key?
How to switch to the Claude 3.5 series models?
Does it support unlimited memory retrieval?
Related Resources
Official Documentation
The complete official documentation for the MemGPT MCP server.
GitHub Repository
The open-source code repository for the MemGPT MCP server.
Debugging Tool
The Inspector tool for debugging the MCP server.
Featured MCP Services

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
79
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
130
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
554
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.6K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
745
4.8 points