Memgpt MCP Server

LLM Memory

Local serverstdioTypeScript

What is the Memgpt MCP Server?

LLM Memory

What the server does

A TypeScript-based MCP server that implements a memory system for LLMs. It provides tools for chatting with different LLM providers while maintaining conversation history.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
chatSend a message to the current LLM provider
get_memoryRetrieve conversation history
clear_memoryClear conversation history
use_providerSwitch between different LLM providers
use_modelSwitch to a different model for the current provider
claude-3-haikuFastest response times, ideal for tasks like customer support and content moderation
claude-3-sonnetBalanced performance for general-purpose use
claude-3-opusAdvanced model for complex reasoning and high-performance tasks
claude-3.5-haikuEnhanced speed and cost-effectiveness
claude-3.5-sonnetSuperior performance with computer interaction capabilities

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
OPENROUTER_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Memgpt to chat.”
  • “Use Memgpt to get memory.”
  • “Use Memgpt to clear memory.”

Frequently asked questions

LLM Memory Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.