MemGPT MCP Server
@MCP-Mirror
About MemGPT MCP Server
Mirror of
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?
MemGPT MCP Server is a TypeScript-based MCP server that implements a memory system for large language models. It provides tools for chatting with different LLM providers (OpenAI, Anthropic, OpenRouter, Ollama) while maintaining conversation history, making it ideal for developers who need persistent memory in LLM interactions.
How to use MemGPT MCP Server?
Install dependencies with npm install, then build with npm run build. For Claude Desktop, add a server configuration to claude_desktop_config.json pointing to the built index.js and set the required environment variables (OPENAI_API_KEY, ANTHROPIC_API_KEY, OPENROUTER_API_KEY). Use the provided tools—chat, get_memory, clear_memory, use_provider, and use_model—to interact with LLMs and manage conversation memory.
Key features of MemGPT MCP Server
- Chat with multiple LLM providers (OpenAI, Anthropic, OpenRouter, Ollama)
- Retrieve conversation history with optional pagination (limit or unlimited)
- Clear all stored conversation memory
- Switch between LLM providers persistently
- Switch to provider‑specific models (e.g., Claude 3/3.5, GPT‑4, Ollama local models)
Use cases of MemGPT MCP Server
- Building LLM‑powered applications with persistent conversation memory
- Experimenting with different LLM providers and models in one interface
- Debugging or testing tool use with memory management
- Prototyping memory‑enabled agents or chatbots
FAQ from MemGPT MCP Server
Which LLM providers are supported?
OpenAI, Anthropic, OpenRouter, and Ollama are supported. Provider selections are persisted.
How do I retrieve conversation history?
Use the get_memory tool. Pass an optional limit parameter (number) to retrieve the N most recent memories, or limit: null for unlimited retrieval. Results are chronological with timestamps; default limit is 10.
How do I clear memory?
Use the clear_memory tool. It removes all stored conversation history.
What environment variables are needed?
You may need OPENAI_API_KEY, ANTHROPIC_API_KEY, and/or OPENROUTER_API_KEY depending on which providers you plan to use.
How can I debug the server?
Use the MCP Inspector by running npm run inspector. The Inspector provides a URL for browser‑based debugging tools.
Frequently asked questions
Which LLM providers are supported?
OpenAI, Anthropic, OpenRouter, and Ollama are supported. Provider selections are persisted.
How do I retrieve conversation history?
Use the `get_memory` tool. Pass an optional `limit` parameter (number) to retrieve the N most recent memories, or `limit: null` for unlimited retrieval. Results are chronological with timestamps; default limit is 10.
How do I clear memory?
Use the `clear_memory` tool. It removes all stored conversation history.
What environment variables are needed?
You may need `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, and/or `OPENROUTER_API_KEY` depending on which providers you plan to use.
How can I debug the server?
Use the MCP Inspector by running `npm run inspector`. The Inspector provides a URL for browser‑based debugging tools.
Basic information
More Other MCP servers
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
🚀 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,
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
Awesome Mlops
visengerA curated list of references for MLOps
Comments