mem0 MCP Server
mem0 MCPサーバー
mem0 用の Model Context Protocol (MCP) サーバーの TypeScript 実装。Mem0 統合によるメモリ ストリーム機能を提供します。
特徴
Mem0統合によるメモリストリームの作成
メモリストリームにコンテンツを追加する
Mem0のセマンティック検索を使用してメモリを検索する
メモリストリームから読み取る
メモリストリームへのリソースベースのアクセス
メモリストリームを削除する
Related MCP server: MCP-Mem0
前提条件
Node.jsとnpmがインストールされている
Mem0 APIキー( mem0.aiから取得)
インストール
npm install構成
Mem0 API キーを環境変数として設定します。
export MEM0_API_KEY=your-api-key-here建物
npm run buildサーバーの実行
npm startテスト
テスト クライアントを実行してサーバーの機能を確認します。
npm testAPI
ツール
create-memory-streamパラメータ:
name: 文字列initialContent: 文字列(オプション)userId: 文字列(オプション) - Mem0 ユーザーIDagentId: 文字列(オプション) - Mem0エージェントID
戻り値: ストリームIDとメタデータ
append-to-streamパラメータ:
streamId: 文字列content: 文字列role: 「ユーザー」 | 「アシスタント」(オプション)
戻り値: 成功確認
search-memoriesパラメータ:
query:文字列userId: 文字列agentId: 文字列(オプション)threshold: 数値(オプション)
戻り値: Mem0からの検索結果
read-streamパラメータ:
streamId: 文字列startIndex: 数値(オプション)endIndex: 数値(オプション)
戻り値: ストリームコンテンツ
delete-streamパラメータ:
streamId: 文字列
返品: 削除確認
リソース
memory://{streamId}- メモリストリームのコンテンツに直接アクセスするmemory://- すべてのメモリストリームを一覧表示する
発達
サーバーはMCP TypeScript SDKを使用して実装されており、永続メモリストレージとセマンティック検索のためにMem0との統合を提供します。実装を拡張するには、以下の手順を実行します。
Mem0 の機能を追加する (例: メモリタグ付け、メタデータ)
適切なエラー処理を実装する
認証と承認を追加する
追加のメモリ操作を追加する
ライセンス
マサチューセッツ工科大学
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
An MCP memory server. One memory your agents share — across models, devices and apps.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA TypeScript implementation of a Model Context Protocol server that provides a frictionless framework for developers to build and deploy AI tools and prompts, focusing on developer experience with zero boilerplate and automatic tool registration.1,462 npm14MIT
- 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.684MIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that integrates AI assistants with Mem0.ai's persistent memory system, allowing models to store, retrieve, search, and manage different types of memories.16MIT
- -licenseNot gradedqualityNot gradedmaintenanceA TypeScript implementation of a Model Context Protocol server that enables real-time communication with LLM clients using Server-Sent Events (SSE) for transport and Bearer Token authentication for security.-