Skip to main content
Glama
Srish-ty
by Srish-ty

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

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

特徴

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

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

  • RESTful APIエンドポイント

  • TypeScriptサポート

Related MCP server: OpenAPI 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 : ビルドされたファイルを実行する

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

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/Srish-ty/MCP-Testing-interface-for-LLMs'

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