MCP.so
ログイン

Memory server for AI Chat with MCP interface

@Gelembjuk

基本情報

カテゴリ

メモリとナレッジ

ライセンス

MIT license

トランスポート

stdio

作者

Gelembjuk

Memory server for AI Chat with MCP interface について

This is the MCP server with memory interface. It can be used with an AI Chat tool as a memory service

Memory server for AI Chat with MCP interface の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "cleverchatty-memory": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

Memory server for AI Chat with MCP interface のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Memory server for AI Chat with MCP interface?

It is an example memory server for AI chat that follows the MCP (Model Context Protocol) interface supported by the tool CleverChatty. It exposes two tools — remember (store a chat message with a role) and recall (return a summary of previous conversations) — and is designed to be used alongside the CleverChatty CLI for chat applications with persistent memory.

How to use Memory server for AI Chat with MCP interface?

Clone the repository, install uv, create a virtual environment, run uv sync, then start the server with fastapi run mcp_server.py --port 8001. The server uses SSE transport and is accessible at http://localhost:8001/mcp. A CLI (python manager.py) is provided for testing and debugging, supporting commands like remember, recall, clear-memory, patch-memories, and history-dump.

Key features of Memory server for AI Chat with MCP interface

  • Exposes remember and recall MCP tools.
  • Stores chat messages with role and content.
  • Returns a summary of previous conversations.
  • Runs as a FastAPI server with SSE transport.
  • Includes a CLI for manual testing and debugging.

Use cases of Memory server for AI Chat with MCP interface

  • Provide memory to an AI chat application using the CleverChatty interface.
  • Store and retrieve conversation context for multi-turn dialogues.
  • Test and debug memory behavior via the included CLI commands.

よくある質問

1

How do I start the server?

Clone the repo, install `uv`, create a virtual environment, run `uv sync`, then execute `fastapi run mcp_server.py --port 8001`. The server will listen on port 8001 (default localhost only).

2

What tools does the server expose?

Two tools: `remember` (requires `role` and `message` strings) and `recall` (no input parameters). `remember` stores a message, `recall` returns a summary of previous conversations.

3

How can I test the server without an MCP client?

Use the provided CLI: `python manager.py COMMAND`, for example `python manager.py remember user "Hello"` or `python manager.py recall`.

4

Can the server be accessed from other machines?

Yes. Start the server with `--host 0.0.0.0` to make it accessible from any IP address. By default it only listens on localhost.

5

What transport protocol does the server use?

It uses SSE (Server-Sent Events) transport. The MCP endpoint is `http://localhost:8001/mcp` (or the configured host/port).

コメント

「メモリとナレッジ」の他のコンテンツ