MCP.so
登录

Memory server for AI Chat with MCP interface

@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

基本信息

分类

记忆与知识

许可证

MIT license

运行时

python

传输方式

stdio

发布者

Gelembjuk

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 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.

FAQ from Memory server for AI Chat with MCP interface

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).

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.

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.

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.

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).

评论

记忆与知识 分类下的更多 MCP 服务器