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: 「プロバイダー/モデル」形式の任意のモデル(例: 「openai/gpt-4」、「anthropic/claude-2」)
Ollama: ローカルで利用可能なモデル(例: 'llama2'、'codellama')
モデル選択を持続する
Related MCP server: MCP Docs RAG Server
発達
依存関係をインストールします:
npm installサーバーを構築します。
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
- AlicenseNot gradedqualityDmaintenanceA TypeScript implementation of the Model Context Protocol server that enables creation, management, and semantic search of memory streams with Mem0 integration.18 npm1MIT
- 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-