Memory MCP
メモリMCP
低レベルのサーバー実装と SQLite ストレージを使用してメモリを保存および取得するためのモデル コンテキスト プロトコル サーバー。
インストール
このプロジェクトでは、依存関係の管理に pip の代わりにuvを使用します。uv は、高速で信頼性の高い Python パッケージ インストーラーおよびリゾルバーです。
uv を使用してインストールします。
uv pip install memory-mcpまたはソースから直接インストールします:
uv pip install .開発の場合:
uv pip install -e ".[dev]"uv がインストールされていない場合は、公式の手順に従ってインストールできます。
Related MCP server: SQLite MCP Server
使用法
サーバーの実行
memory-mcpこれにより、メモリを保存および取得できる MCP サーバーが起動します。
利用可能なツール
メモリ MCP は次のツールを提供します。
remember:タイトルと内容で新しい記憶を保存するget_memory: IDまたはタイトルで特定のメモリを取得しますlist_memories: 保存されているすべてのメモリを一覧表示するupdate_memory: 既存のメモリを更新するdelete_memory: メモリを削除する
MCP Inspectによるデバッグ
MCP には、MCP サーバーを直接デバッグしたり操作したりできる、 mcp inspectという便利なコマンドライン ツールが用意されています。
設定
まず、MCP CLI ツールがインストールされていることを確認します。
uv pip install mcp[cli]1 つのターミナルで Memory MCP サーバーを起動します。
memory-mcp別のターミナルで、
mcp inspectを使用して実行中のサーバーに接続します。
mcp inspectMCP Inspectの使用
接続すると、次のことが可能になります。
利用可能なツールの一覧
> toolsこれにより、Memory MCP サーバーによって提供されるすべてのツールが表示されます。
ツールを呼び出す
ツールを呼び出すには、 callコマンドに続けてツール名と必要な引数を指定します。
> call remember title="Meeting Notes" content="Discussed project timeline and milestones."> call list_memories> call get_memory memory_id=1> call update_memory memory_id=1 title="Updated Title" content="Updated content."> call delete_memory memory_id=1デバッグモード
デバッグ モードを有効にすると、詳細なリクエストと応答の情報を表示できます。
> debug onこれにより、サーバーに送受信されるデータを正確に把握できるようになります。
ツールスキーマの探索
特定のツールのスキーマを表示するには:
> tool rememberこれには、ツールの入力スキーマ、必須パラメータ、および説明が表示されます。
トラブルシューティング
問題が発生した場合:
サーバーが実行されているターミナルのサーバー ログにエラー メッセージがないか確認します。
MCP 検査ターミナルで、
debug onしてデバッグ モードを有効にし、生の要求と応答を表示します。ツール パラメータが予期されるスキーマと一致していることを確認します (
toolコマンドで確認します)。サーバーがクラッシュした場合は、サーバー ターミナルでキャッチされていない例外がないか確認してください。
発達
プロジェクトに貢献するには、開発依存関係をインストールします。
uv pip install -e ".[dev]"依存関係の管理
このプロジェクトは、依存関係をロックするためにuv.lockファイルを使用します。依存関係を更新するには、以下の手順を実行します。
uv pip compile pyproject.toml -o uv.lockテストの実行
python -m pytestコードのフォーマット
black memory_mcp testsリンティング
ruff check memory_mcp tests型チェック
mypy memory_mcpMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseNot gradedqualityAmaintenanceA Model Context Protocol (MCP) server implementation that provides database interaction and business intelligence capabilities through SQLite. This server enables running SQL queries, analyzing business data, and automatically generating business insight memos.89,748MIT
- AlicenseBqualityAmaintenanceA Model Context Protocol server that enables SQL operations (SELECT, INSERT, UPDATE, DELETE) and table management through a standardized interface with SQLite databases.7721ISC
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI agents with persistent memory capabilities through Mem0, allowing them to store, retrieve, and semantically search memories.679MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows saving, retrieving, adding, and clearing memories from LLM conversations with MongoDB persistence.1419MIT
Related MCP Connectors
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.
Cloud-hosted MCP server for durable AI memory
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/drdee/memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server