Skip to main content
Glama

mem0 MCPサーバー

mem0 用の Model Context Protocol (MCP) サーバーの TypeScript 実装。Mem0 統合によるメモリ ストリーム機能を提供します。

特徴

  • Mem0統合によるメモリストリームの作成

  • メモリストリームにコンテンツを追加する

  • Mem0のセマンティック検索を使用してメモリを検索する

  • メモリストリームから読み取る

  • メモリストリームへのリソースベースのアクセス

  • メモリストリームを削除する

Related MCP server: MCP-Mem0

前提条件

  1. Node.jsとnpmがインストールされている

  2. Mem0 APIキー( mem0.aiから取得)

インストール

npm install

構成

Mem0 API キーを環境変数として設定します。

export MEM0_API_KEY=your-api-key-here

建物

npm run build

サーバーの実行

npm start

テスト

テスト クライアントを実行してサーバーの機能を確認します。

npm test

API

ツール

  1. create-memory-stream

    • パラメータ:

      • name : 文字列

      • initialContent : 文字列(オプション)

      • userId : 文字列(オプション) - Mem0 ユーザーID

      • agentId : 文字列(オプション) - Mem0エージェントID

    • 戻り値: ストリームIDとメタデータ

  2. append-to-stream

    • パラメータ:

      • streamId : 文字列

      • content : 文字列

      • role : 「ユーザー」 | 「アシスタント」(オプション)

    • 戻り値: 成功確認

  3. search-memories

    • パラメータ:

      • query :文字列

      • userId : 文字列

      • agentId : 文字列(オプション)

      • threshold : 数値(オプション)

    • 戻り値: Mem0からの検索結果

  4. read-stream

    • パラメータ:

      • streamId : 文字列

      • startIndex : 数値(オプション)

      • endIndex : 数値(オプション)

    • 戻り値: ストリームコンテンツ

  5. delete-stream

    • パラメータ:

      • streamId : 文字列

    • 返品: 削除確認

リソース

  • memory://{streamId} - メモリストリームのコンテンツに直接アクセスする

  • memory:// - すべてのメモリストリームを一覧表示する

発達

サーバーはMCP TypeScript SDKを使用して実装されており、永続メモリストレージとセマンティック検索のためにMem0との統合を提供します。実装を拡張するには、以下の手順を実行します。

  1. Mem0 の機能を追加する (例: メモリタグ付け、メタデータ)

  2. 適切なエラー処理を実装する

  3. 認証と承認を追加する

  4. 追加のメモリ操作を追加する

ライセンス

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

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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,284
    14
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A 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.
    16
    MIT
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A 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.

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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/sadiuysal/mem0-mcp-server-ts'

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