Skip to main content
Glama
Srish-ty

Memory Context Provider Server

by Srish-ty

メモリコンテキストプロバイダー(MCP)サーバー

LLM インタラクションのコンテキストを管理し、各ユーザーに関連するコンテキストを保存および提供するサーバー。

特徴

  • ユーザーコンテキストのメモリ内保存

  • 最後の5つのプロンプトによるコンテキスト管理

  • RESTful APIエンドポイント

  • TypeScriptサポート

Related MCP server: RAG Context MCP Server

設定

  1. 依存関係をインストールします:

    npm install
  2. 開発サーバーを起動します。

    npm run dev

APIエンドポイント

POST /コンテキスト/:ユーザーID

ユーザーのコンテキストに新しいプロンプトを追加し、更新されたコンテキストを取得します。

リクエスト本文:

{
  "prompt": "Your prompt here"
}

応答:

{
  "context": "Combined context from last 5 prompts"
}

GET /context/:userId

ユーザーの現在のコンテキストを取得します。

応答:

{
  "context": "Current context"
}

/context/:userId を削除

ユーザーのコンテキストを明確にします。

応答:

{
  "message": "Context cleared"
}

発達

  • npm run dev : ホットリロードで開発サーバーを起動する

  • npm run build : TypeScript ファイルをビルドする

  • npm start : ビルドされたファイルを実行する

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to interact with the Omi API for retrieving and creating conversations and memories for users.
    4
    4
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A lightweight server that provides persistent memory and context management for AI assistants using local vector storage and database, enabling efficient storage and retrieval of contextual information through semantic search and indexed retrieval.
    2
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that provides knowledge graph-based persistent memory for LLMs, allowing them to store, retrieve, and reason about information across multiple conversations and sessions.
    9
    64,248 npm
    2
    MIT