MemGPT MCP Server
@Vic563
About MemGPT MCP Server
A Model Context Protocol (MCP) server that provides persistent memory and multi-model LLM support.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
5Send a message to the current LLM provider
Retrieve conversation history
Clear conversation history
Switch between different LLM providers
Switch to a different model for the current provider
Overview
What is MemGPT MCP Server?
A TypeScript-based MCP server that implements a memory system for LLMs. It provides tools for chatting with different LLM providers (OpenAI, Anthropic, OpenRouter, Ollama) while maintaining conversation history.
How to use MemGPT MCP Server?
Install dependencies with npm install, build with npm run build, and configure in Claude Desktop by adding the server config with required environment variables (OPENAI_API_KEY, ANTHROPIC_API_KEY, OPENROUTER_API_KEY). Use the provided tools to chat, retrieve memory, clear memory, switch providers, and switch models.
Key features of MemGPT MCP Server
- Send messages to the current LLM provider via
chattool. - Retrieve conversation history with optional limit via
get_memory. - Clear all stored memories via
clear_memory. - Switch between OpenAI, Anthropic, OpenRouter, and Ollama via
use_provider. - Switch provider-specific models (e.g., Claude 3/3.5 series, GPT-4, Ollama models) via
use_model. - Provider and model selections persist across sessions.
Use cases of MemGPT MCP Server
- Chat with multiple LLM providers while keeping a persistent conversation history.
- Retrieve and review past conversations (full or limited) for context continuity.
- Clear conversation memory to reset or start a new session.
- Dynamically switch providers or models without restarting.
FAQ from MemGPT MCP Server
What LLM providers are supported?
OpenAI, Anthropic, OpenRouter, and Ollama.
How do I retrieve the full conversation history?
Use the get_memory tool with { "limit": null } to retrieve all stored memories. Default limit is 10 if not specified.
What models are available for Anthropic?
Anthropic Claude 3 series (Haiku, Sonnet, Opus) and Claude 3.5 series (Haiku, Sonnet). Use model names like claude-3-haiku or claude-3.5-sonnet.
Where is configuration stored for Claude Desktop?
On MacOS at ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows at %APPDATA%/Claude/claude_desktop_config.json.
How can I debug the server?
Use the MCP Inspector by running npm run inspector, which provides a URL for browser-based debugging tools.
More Other MCP servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Comments