Memory Box MCP Server
この MCP サーバーは、Memory Box インスタンスと対話するためのツールを提供し、Cline および Claude Desktop から直接セマンティック検索を使用して思い出を保存および検索できるようにします。
関連プロジェクト
この MCP サーバーは、ベクトル埋め込みを利用したセマンティック メモリの保存および検索システムであるMemory Boxと連携するように設計されています。
Memory Box は、この MCP サーバーが通信するバックエンド API を提供し、次のことが可能になります。
意味検索のためにベクトル埋め込みで記憶を保存する
カスタマイズ可能なバケットに思い出を整理する
キーワードだけでなく意味に基づいて思い出を検索する
詳細なコンテキストで記憶を思い出す
意味的に関連する記憶を見つける
トラックメモリの処理ステータス
独自のインスタンスを設定する方法など、Memory Box の詳細については、 Memory Box の Web サイトをご覧ください。
Related MCP server: mcp-memory
特徴
思い出を保存: フォーマットされた思い出をソース情報とメタデータとともにメモリボックスに保存します
思い出を検索:セマンティック検索を使用して思い出を検索します
思い出を取得: すべての思い出または特定のバケットから思い出を取得します
関連する記憶を探す:意味的に類似した記憶を見つける
メモリの状態を確認する: メモリの処理状態を監視します
メモリのフォーマット: 構造化されたシステムプロンプトに従ってメモリをフォーマットします
使用状況統計: 現在のプラン、使用状況メトリック、リソース制限を表示します
インストール
サーバーはClineで使用するためにインストールおよび設定されています。このMCPサーバーを使用するには、Memory Boxインスタンス(セルフホスト型またはmemorybox.amotivv.aiのホスト型)が稼働している必要があります。
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Memory Box MCP Server を自動的にインストールするには:
npx -y @smithery/cli install @amotivv/memory-box-mcp --client claudeセットアップを完了するには:
次の Cline MCP 設定ファイルを編集します。
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonMemory Box トークンを
MEMORY_BOX_TOKEN環境変数に追加します。"memory-box-mcp": { "command": "node", "args": [ "<path-to-repository>/build/index.js" ], "env": { "MEMORY_BOX_API_URL": "https://memorybox.amotivv.ai", "MEMORY_BOX_TOKEN": "your-token-here", "DEFAULT_BUCKET": "General" }, "disabled": false, "autoApprove": [] }オプションで、
DEFAULT_BUCKET値を変更してデフォルトのバケットをカスタマイズできます。
使用法
設定が完了すると、Cline で次のツールを使用できるようになります。
メモリを節約
適切なフォーマットでメモリをメモリ ボックスに保存します。
Use the save_memory tool to save this information about vector databases: "Vector databases like pgvector store and query high-dimensional vectors for semantic search applications."パラメータ:
text(必須): 保存するメモリの内容bucket_id(オプション): メモリを保存するバケット (デフォルト: "General")format(オプション):システムプロンプトに従ってメモリをフォーマットするかどうか(デフォルト:true)type(オプション):フォーマットするメモリの種類(TECHNICAL、DECISION、SOLUTION、CONCEPT、REFERENCE、APPLICATION、FACT)(デフォルト:"TECHNICAL")source_type(オプション): メモリソースの種類 (デフォルト: "llm_plugin")reference_data(オプション): メモリソースとコンテキストに関する追加のメタデータ
思い出を探す
セマンティック検索を使用して思い出を検索します。
Use the search_memories tool to find information about "vector databases"パラメータ:
query(必須): 検索クエリdebug(オプション):結果にデバッグ情報を含める(デフォルト:false)
すべての思い出を手に入れる
すべての記憶を取り戻す:
Use the get_all_memories tool to show me all my saved memoriesバケットメモリーズを入手
特定のバケットからメモリを取得します。
Use the get_bucket_memories tool to show me memories in the "Learning" bucketパラメータ:
bucket_id(必須): メモリを取得するバケット
メモリのフォーマット
保存せずにメモリ システム プロンプトに従ってテキストをフォーマットします。
Use the format_memory tool to format this text: "Vector databases like pgvector store and query high-dimensional vectors for semantic search applications."パラメータ:
text(必須): 書式設定するテキストtype(オプション):メモリの種類(TECHNICAL、DECISION、SOLUTION、CONCEPT、REFERENCE、APPLICATION、FACT)(デフォルト:"TECHNICAL")
関連する思い出を取得する
特定の記憶と意味的に類似した記憶を見つけます。
Use the get_related_memories tool with memory ID 123パラメータ:
memory_id(必須): 関連するメモリを検索するメモリのIDmin_similarity(オプション):関連メモリの最小類似度しきい値(0.0〜1.0)(デフォルト:0.7)
メモリの状態を確認する
メモリの処理状態を確認します。
Use the check_memory_status tool with memory ID 123パラメータ:
memory_id(必須): ステータスを確認するメモリのID
使用状況統計を取得する
ユーザーの使用状況統計とプラン情報を取得します。
Use the get_usage_stats tool to show me my current plan and usage metricsこのツールは次を返します:
現在のプラン情報(例:無料、ベーシック、プロフェッショナル、レガシー)
ユーザーのステータスと制限の適用情報
当月の使用状況指標(ストア操作、検索操作、API 呼び出し)
人間が読める形式でのデータ処理量
プランに基づくリソース制限(該当する場合)
種類別の業務内訳
この操作にはパラメータは必要ありません。
カスタマイズ
システムプロンプトのカスタマイズ
Memory Box MCPサーバーは、特定のガイドラインに従ってメモリをフォーマットするためにシステムプロンプトを使用します。このプロンプトをカスタマイズすることで、メモリのフォーマット方法を変更できます。
デフォルトのシステムプロンプト
デフォルトのシステム プロンプトには、さまざまなタイプのメモリのフォーマット ガイドラインが含まれています。
You are a helpful AI assistant. When storing memories with memory_plugin, follow these enhanced formatting guidelines:
1. STRUCTURE: Format memories based on the type of information:
- TECHNICAL: "YYYY-MM-DD: TECHNICAL - [Brief topic]: [Concise explanation with specific details]"
- DECISION: "YYYY-MM-DD: DECISION - [Brief topic]: [Decision made] because [rationale]. Alternatives considered: [options]."
- SOLUTION: "YYYY-MM-DD: SOLUTION - [Problem summary]: [Implementation details that solved the issue]"
- CONCEPT: "YYYY-MM-DD: CONCEPT - [Topic]: [Clear explanation of the concept with examples]"
- REFERENCE: "YYYY-MM-DD: REFERENCE - [Topic]: [URL, tool name, or resource] for [specific purpose]"
- APPLICATION: "YYYY-MM-DD: APPLICATION - [App name]: [User-friendly description] followed by [technical implementation details]"
2. FORMATTING GUIDELINES:
- CREATE FOCUSED MEMORIES: Each memory should contain a single clear concept or topic
- USE DIVERSE TERMINOLOGY: Include both technical terms AND user-friendly alternatives
- INCLUDE SEARCHABLE KEYWORDS: Begin with common terms a user might search for
- BALANCE DETAIL LEVELS: Include both high-level descriptions and key technical details
- LENGTH: Keep memories between 50-150 words
- ALWAYS include the current date in YYYY-MM-DD format
3. MEMORY STORAGE PARAMETERS:
- Use the "text" parameter for your formatted memory content
- Set "source_type" to "llm_plugin"
- Include appropriate "reference_data" with source information and context
4. REFERENCE DATA STRUCTURE:
- source.platform: Identify your platform (e.g., "claude_desktop", "cline")
- source.type: Always set to "llm_plugin"
- source.version: Optional version information
- context.conversation_id: Include when available to link related conversation memories
- context.message_id: Optional identifier for the specific message
5. SPECIAL FORMATS:
- For user facts, preferences, or personal details: "YYYY-MM-DD: FACT: [User] [specific preference/attribute/information]"
- For reference materials: Include specific details about where to find the information
6. RELATED MEMORIES: After finding memories with search, check if there are related memories using the get_related_memories tool with the memory_id from search results. Present these additional memories to provide the user with more context.
7. RETRIEVAL CONSIDERATION: Before storing an important memory, consider: "What search terms might someone use to find this information later?" and ensure those terms are included.システムプロンプトをカスタマイズする方法
システムプロンプトをカスタマイズするには:
次の Cline MCP 設定ファイルを編集します。
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonカスタム システム プロンプトを
SYSTEM_PROMPT環境変数に追加します。"memory-box-mcp": { "command": "node", "args": [ "<path-to-repository>/build/index.js" ], "env": { "MEMORY_BOX_API_URL": "https://your-memory-box-instance", "MEMORY_BOX_TOKEN": "your-token-here", "DEFAULT_BUCKET": "General", "SYSTEM_PROMPT": "Your custom system prompt here..." }, "disabled": false, "autoApprove": [] }<path-to-repository>/system-prompt-template.txtにテンプレート ファイルが用意されており、これをコピーして変更できます。変更を適用するにはClineを再起動してください
システムプロンプトヘルパー
Memory Box MCP サーバーには、システム プロンプトを管理するためのヘルパー スクリプトが含まれています。
# View the current system prompt
cd <path-to-repository>
npm run prompt-helper -- view
# Reset to the default system prompt
cd <path-to-repository>
npm run prompt-helper -- reset
# Validate a custom system prompt
cd <path-to-repository>
npm run prompt-helper -- validateその他の設定オプション
次の環境変数をカスタマイズすることもできます。
MEMORY_BOX_API_URL: Memory BoxインスタンスのURLMEMORY_BOX_TOKEN: Memory Boxの認証トークンDEFAULT_BUCKET: メモリを保存するときに使用するデフォルトのバケット
トラブルシューティング
問題が発生した場合:
メモリーボックストークンが正しく設定されていることを確認してください
Memory Boxインスタンスが実行中でアクセス可能であることを確認する
Clineログでエラーメッセージを確認してください
発達
サーバーに変更を加えるには:
<path-to-repository>/src/のソースコードを編集します。サーバーを再構築します。
cd <path-to-repository> npm run build変更を適用するにはClineを再起動してください
Available Tools
12 toolscheck_memory_statusC
Check the processing status of a memory
Inputs: memory_id (required).
create_bucketC
Create a new bucket for organizing memories
Inputs: bucket_name (required).
delete_bucketA
Delete a bucket (empty by default, use force to delete with content)
Inputs: bucket_name (required), force.
delete_memoryC
Delete a specific memory
Inputs: memory_id (required).
get_all_memoriesC
Retrieve all memories with pagination support
Inputs: all, bucket_id, date_sort, include_reference_data, +4 more.
get_bucket_memoriesC
Get memories from a specific bucket
Inputs: bucket_id (required), include_reference_data, limit, offset.
get_bucketsB
Retrieve a list of all available buckets
Inputs: no named parameters.
get_usage_statsB
Retrieve user usage statistics and plan information
Inputs: no named parameters.
save_memoryC
Save a memory to Memory Box
Inputs: text (required), bucket_id, raw_content, reference_data, +1 more.
search_memoriesB
Search for memories using semantic search
Inputs: query (required), bucket_id, date_sort, debug, +5 more.
update_memoryC
Update an existing memory including text, bucket, and relationships
Inputs: memory_id (required), bucket_id, raw_content, reference_data, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose with no significant overlap. Tools target specific actions on distinct resources like memories, buckets, or system status, making it easy for an agent to select the right one. For example, get_all_memories vs. get_bucket_memories vs. search_memories are well-differentiated by scope and method.
All tool names follow a consistent verb_noun pattern using snake_case, such as create_bucket, delete_memory, and get_usage_stats. This uniformity makes the set predictable and easy to parse, with no deviations in style or convention across the 12 tools.
With 12 tools, the server is well-scoped for a memory management system, covering core operations without bloat. Each tool earns its place by addressing key needs like CRUD for memories and buckets, organization, search, and system monitoring, fitting typical expectations for such a domain.
The tool surface provides complete CRUD and lifecycle coverage for memories and buckets, including create, read, update, delete, search, and organization features. No obvious gaps exist; agents can perform all essential workflows from saving and retrieving memories to managing buckets and checking status.
Maintenance
Related MCP Connectors
Persistent personal memory for AI assistants — save, search, and recall across every MCP client.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA self-hosted MCP server that provides a personal semantic memory layer for AI tools. It enables storing, searching, and managing memories using hybrid vector and keyword search, allowing AI assistants to recall information by meaning.MIT
- AlicenseAqualityDmaintenanceProvides persistent memory with semantic search for MCP-based AI agents, enabling them to store and recall information across sessions using vector embeddings.41MIT
- AlicenseCqualityCmaintenancePersistent semantic memory for MCP-compatible agents, enabling them to remember and recall text, audio, and documents across sessions.10MIT
- AlicenseNot gradedqualityDmaintenanceProvides persistent semantic memory for AI agents via MCP, enabling them to remember, recall, list, update, and forget memories with vector-based similarity search.ISC