MemGPT MCP Server
MemGPT MCP 서버
LLM을 위한 메모리 시스템을 구현하는 TypeScript 기반 MCP 서버입니다. 대화 내역을 유지하면서 다양한 LLM 제공자와 채팅할 수 있는 도구를 제공합니다.
특징
도구
chat- 현재 LLM 제공자에게 메시지 보내기메시지 매개변수를 사용합니다
다양한 공급자(OpenAI, Anthropic, OpenRouter, Ollama) 지원
get_memory- 대화 기록 검색검색할 메모리 수를 지정하는 선택적
limit매개변수통과
limit: null타임스탬프와 함께 시간순으로 메모리를 반환합니다.
clear_memory- 대화 기록 지우기저장된 모든 메모리를 제거합니다
use_provider- 다양한 LLM 공급자 간 전환OpenAI, Anthropic, OpenRouter 및 Ollama 지원
공급자 선택 유지
use_model- 현재 공급자에 대해 다른 모델로 전환공급자별 모델을 지원합니다.
인간 중심적 클로드 모델:
클로드 3 시리즈:
claude-3-haiku: 가장 빠른 응답 시간으로 고객 지원 및 콘텐츠 조정과 같은 작업에 이상적입니다.claude-3-sonnet: 일반적인 용도로 사용하기에 균형 잡힌 성능claude-3-opus: 복잡한 추론 및 고성능 작업을 위한 고급 모델
클로드 3.5 시리즈:
claude-3.5-haiku: 향상된 속도와 비용 효율성claude-3.5-sonnet: 컴퓨터 상호 작용 기능을 갖춘 뛰어난 성능
OpenAI: 'gpt-4o', 'gpt-4o-mini', 'gpt-4-turbo'
OpenRouter: 'provider/model' 형식의 모든 모델(예: 'openai/gpt-4', 'anthropic/claude-2')
Ollama: 로컬에서 사용 가능한 모델(예: 'llama2', 'codellama')
모델 선택을 유지합니다
Related MCP server: MCP Docs RAG Server
개발
종속성 설치:
지엑스피1
서버를 빌드하세요:
npm run build자동 재빌드를 사용한 개발의 경우:
npm run watch설치
Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.
MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"letta-memgpt": {
"command": "/path/to/memgpt-server/build/index.js",
"env": {
"OPENAI_API_KEY": "your-openai-key",
"ANTHROPIC_API_KEY": "your-anthropic-key",
"OPENROUTER_API_KEY": "your-openrouter-key"
}
}
}
}환경 변수
OPENAI_API_KEY- OpenAI API 키ANTHROPIC_API_KEY- Anthropic API 키OPENROUTER_API_KEY- OpenRouter API 키
디버깅
MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. MCP Inspector 사용을 권장합니다.
npm run inspector검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.
최근 업데이트
Claude 3 및 3.5 시리즈 지원(2024년 3월)
최신 Claude 모델에 대한 지원이 추가되었습니다.
클로드 3 시리즈(하이쿠, 소네트, 오푸스)
클로드 3.5 시리즈(하이쿠, 소네트)
무제한 메모리 검색
무제한 대화 기록 검색 지원 추가
get_memory도구와 함께{ "limit": null }사용하여 저장된 모든 메모리를 검색합니다.{ "limit": n }사용하여 가장 최근의 n개 메모리를 검색합니다.지정하지 않으면 기본 제한은 10입니다.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Related MCP Connectors
past.dev is a long-term memory API for AI agents. Send it timestamped text such as emails, meeting transcripts and support tickets. Ask a question and get the current fact, the value it replaced and the source behind it. With this server, your assistant can recall and save memory and manage your past.dev account.
Memory, reflection and safety for AI agents. Hosted or local, no vector database.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
An MCP memory server. One memory your agents share — across models, devices and apps.
Related MCP Servers
- AlicenseBqualityDmaintenanceA flexible memory system for AI applications that supports multiple LLM providers and can be used either as an MCP server or as a direct library integration, enabling autonomous memory management without explicit commands.368 npm97MIT
- AlicenseAqualityDmaintenanceA TypeScript MCP server that allows querying documents using LLMs with context from locally stored repositories and text files through a RAG (Retrieval-Augmented Generation) system.417MIT
- FlicenseNot gradedqualityDmaintenanceA TypeScript implementation of the Model Context Protocol server that enables creation, management, and semantic search of memory streams with Mem0 integration.1-
- FlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that implements a simple note-taking system using low-level server components and streamable HTTP. It enables users to create, store, and summarize text notes through a set of tools, resources, and specialized prompts.3-