MemGPT MCP Server
@Vic563
关于 MemGPT MCP Server
A Model Context Protocol (MCP) server that provides persistent memory and multi-model LLM support.
基本信息
配置
工具
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
概览
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.
其他 分类下的更多 MCP 服务器
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
评论