Skip to main content
Glama

MCP Memory Server

by ebailey78

MCP メモリサーバー

チャット セッション全体にわたって構造化されたメモリ管理を提供する、Claude Desktop 用の Model Context Protocol (MCP) サーバー。特にプロジェクトベースの作業向けに設計されています。

プロジェクト重視のメモリ管理

このMCPサーバーは、Claude Desktopと併用することで、Claudeがプロジェクトディレクトリ内のコンテキストと知識を維持できるように特別に設計されています。これにより、Claudeは以下のことが可能になります。

  • プロジェクトディレクトリ内にメモリストアを作成する
  • 会話中に発見した重要な情報を保存する
  • 将来のセッションで関連する記憶を思い出す
  • プロジェクトに関する包括的な知識ベースを時間をかけて構築します

このアプローチは、ソフトウェア開発、研究、執筆、Claude との共同作業など、セッション間でコンテキストを維持することが重要な長期プロジェクトに最適です。

特徴

  • 記憶を構造化されたマークダウンファイルとして保存する
  • Lunr.js を使用してメモリをインデックス化し、効率的に検索する
  • 思い出にタグを付けて分類する
  • 記憶間の関係性を構築する
  • コンテンツ、タグ、種類で思い出を検索
  • 指定されたディレクトリにメモリストアを構築する

メモリ構造

メモリはプロジェクト内に階層構造で保存されます。

/your-project-directory /memory # Memory store created by Claude /entities/ # Information about specific entities (people, projects, etc.) /concepts/ # Abstract concepts or knowledge /sessions/ # Session-specific memories /index.json # Lunr.js search index /metadata.json # Overall memory metadata /README.md # Auto-generated documentation

この構造により、プロジェクトに関連するすべてのメモリがプロジェクト ディレクトリ内で整理され、アクセス可能になります。

Claude Desktopでの使用

claude_desktop_config.json に以下を追加します:

{ "mcpServers": { "memory": { "command": "node", "args": ["path/to/mcp-memory/dist/index.js"] } } }

環境変数を使用してカスタム メモリ ディレクトリを設定することもできます。

{ "mcpServers": { "memory": { "command": "node", "args": ["path/to/mcp-memory/dist/index.js"], "env": { "MEMORY_DIR": "/path/to/custom/memory/directory" } } } }

プロジェクトワークフロー

  1. セットアップ: Claudeで新しいプロジェクトを開始するときは、プロジェクトディレクトリにメモリストアを作成します。
  2. 進行中の作業:クロードと作業すると、重要な情報がメモリストアに保存されます
  3. 継続性:将来のセッションでは、クロードは関連する記憶を呼び出して文脈を維持することができます。
  4. 知識構築: 時間の経過とともに、クロードはあなたのプロジェクトに関する包括的な知識ベースを構築します

このワークフローにより、Claude は各プロジェクトに固有のコンテキストと知識を維持できるようになり、長期的な共同作業者としての効率が向上します。

クロードプロジェクト指示

このリポジトリには、Claudeプロジェクトの指示書を包括的にまとめたテンプレートであるinstructions_template.mdファイルが含まれています。このテンプレートを特定のプロジェクトに合わせてカスタマイズすることで、Claudeが記憶システムを効果的に活用できるようにすることができます。

テンプレートには以下が含まれます。

  • メモリシステムのセットアップ手順
  • 記憶想起プロセス
  • 記憶作成ガイドライン
  • 記憶組織システム
  • メモリメンテナンス手順
  • 会話ワークフロー
  • ベストプラクティス

発達

# Install dependencies npm install # Build the project npm run build # Start the server npm start # Development mode (watch for changes) npm run dev

実装の詳細

このサーバーは以下を使用して構築されています:

  • 公式モデルコンテキストプロトコル(MCP)SDK
  • 型安全性のためのTypeScript
  • メモリのインデックス作成と検索のためのLunr.js
  • スキーマ検証のためのZod

ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Claude Desktop 用のモデル コンテキスト プロトコル サーバーは、チャット セッション全体で構造化されたメモリ管理を提供し、Claude がコンテキストを維持し、プロジェクト ディレクトリ内に知識ベースを構築できるようにします。

  1. プロジェクト重視のメモリ管理
    1. 特徴
      1. メモリ構造
        1. Claude Desktopでの使用
          1. プロジェクトワークフロー
            1. クロードプロジェクト指示
              1. 発達
                1. 実装の詳細
                  1. ライセンス

                    Related MCP Servers

                    • A
                      security
                      A
                      license
                      A
                      quality
                      A Model Context Protocol server that enables Claude Desktop users to interact directly with PostHog, allowing them to view projects and create annotations through natural language commands.
                      Last updated -
                      2
                      10
                      Python
                      MIT License
                      • Apple
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A collection of Model Context Protocol servers that enable Claude Desktop to provide development assistance capabilities with filesystem, Git, shell command, and web search functionality without incurring API usage costs.
                      Last updated -
                      2
                      19
                      TypeScript
                      MIT License
                      • Apple
                    • -
                      security
                      A
                      license
                      -
                      quality
                      A Model Context Protocol server that enables AI assistants like Claude to interact with Zulip workspaces, supporting capabilities such as posting messages, listing channels, sending direct messages, and accessing conversation history.
                      Last updated -
                      JavaScript
                      Apache 2.0
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A Model Context Protocol server that allows Claude Desktop to manage and execute tasks in a queue-based system, supporting planning, execution, and completion phases.
                      Last updated -
                      10
                      1,397
                      5
                      TypeScript
                      MIT License
                      • Apple

                    View all related MCP servers

                    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/ebailey78/mcp-memory'

                    If you have feedback or need assistance with the MCP directory API, please join our Discord server