MCP Server Memo

MCP Server Memo

mcp-server-memo•bydoggybee

A lightweight MCP server for storing, retrieving, and listing versioned session summaries and memos for LLMs using local filesystem storage.

License: MIT License•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Stores session summaries as new versions, preserving previous versions instead of overwriting them.
  • •Retrieves the latest summary for a session and can truncate it to a maximum length.
  • •Lists summaries with filtering, sorting, and pagination, showing only the latest version of each session.
  • •Retrieves all historical versions of a session, ordered from newest to oldest.

BEST FOR

  • •Giving LLMs a persistent memory of session summaries stored on the local filesystem.
  • •Tracking the development of a conversation over time by keeping multiple chronological versions.
  • •Appending new content to an existing session summary without losing earlier content.

ABOUT MCP-SERVER-MEMO

MCP Server Memo is cataloged as an MCP server attributed to doggybee. A lightweight MCP server for storing, retrieving, and listing versioned session summaries and memos for LLMs using local filesystem storage. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Server Memo are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server preserve older versions of a session summary?

Yes. Each update to a session creates a new version and all previous versions are preserved.

Can the title or tags of a summary be updated without changing its content?

Yes. Metadata such as title and tags can be updated without changing the summary content or timestamp.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 2d039dc913d8 · 采集于 2026-11-13 12:04:21 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server Memo

TypeScript License Node.js MCP SDK

A lightweight MCP (Model Context Protocol) server for managing rich session summaries and memos for LLMs like Claude. This server provides persistent storage using the local filesystem, with support for session history version tracking, and offers tools for storing, retrieving, and listing summaries.

Overview

MCP Server Memo is designed as a memory assistant for LLMs, allowing them to store and retrieve detailed session records through the MCP tool interface. The server:

  • Preserves History - All historical versions of a session (same sessionId) are preserved, not just the latest version
  • Time-Ordered - Multiple versions of sessions are organized chronologically, making it easy to track conversation development
  • Local Storage - Uses the local filesystem without requiring an external database
  • MCP Compliant - Follows the Model Context Protocol specification to provide tool interfaces
  • Performance Optimized - Optimized for file I/O and concurrent operations
  • Minimal Dependencies - Clean design that's easy to maintain and extend

Installation

# Clone the repository
git clone https://github.com/doggybee/mcp-server-memo.git
cd mcp-server-memo

# Install dependencies
npm install

# Build the project
npm run build

Configuration

The server uses the following configuration options:

  • MCP_SUMMARY_DIR: Directory for storing summaries (default: ./summaries/)

You can set these options via environment variables:

export MCP_SUMMARY_DIR="/path/to/summaries"

Running the Server

# Standard startup
npm start

# Development mode (with auto-reload)
npm run dev

# Start with logging to file
npm run start:log

MCP Tools

The server provides the following MCP tools:

1. upsertSummary

Creates a new version of a session summary without deleting previous versions.

Parameters:

  • sessionId (string, required): Unique identifier for the conversation session. It is the client application's responsibility to generate this ID. It should be generated once at the beginning of a new logical conversation session. Recommendation: Use a standard UUID (Version 4) library available in your programming language to ensure uniqueness. The client must then reuse the same generated ID for all subsequent upsertSummary calls pertaining to that specific session.
  • summary (string, required): The detailed content of the session chronicle/log. Each call will create a new version in the session history rather than overwriting previous versions.
  • title (string, optional): A short, descriptive title for the session.
  • tags (string[], optional): Keywords or tags to categorize the session.

Behavior:

  • Creates a new file with a new timestamp
  • Preserves all previous versions
  • Returns the timestamp of the new version

2. getSummaryTool

Retrieves the latest version of a specific session summary.

Parameters:

  • sessionId (string, required): The unique ID of the session summary to retrieve.
  • maxLength (number, optional): If provided, truncate the retrieved summary text to this maximum length.

Returns:

  • The latest session summary object (in JSON format)

3. listSummariesTool

Lists available summaries (only the latest version of each session), with support for filtering, sorting, and pagination.

Parameters:

  • tag (string, optional): Filter sessions by a specific tag.
  • limit (number, optional): Limit results.
  • offset (number, optional): Offset for pagination.
  • sortBy (string, optional): Sort field ('lastUpdated' or 'title'). Default: 'lastUpdated'.
  • order (string, optional): Sort order ('asc' or 'desc'). Default: 'desc'.

Returns:

  • List of summary metadata objects (in JSON format), with only the latest version per session

4. updateMetadata

Updates only the metadata (title and/or tags) of the latest version of a session without changing the summary content or timestamp.

Parameters:

  • sessionId (string, required): The unique ID of the session whose metadata to update.
  • title (string, optional): New title. If omitted, title remains unchanged.
  • tags (string[], optional): New tags array. If omitted, tags remain unchanged.

Note: At least one of title or tags must be provided.

Behavior:

  • Does not update the timestamp in the filename or the lastUpdated field
  • Only modifies the specified metadata fields
  • Does not affect the summary content

5. appendSummary

Appends content to a session summary, creating a new version that includes previous content plus new content.

Parameters:

  • sessionId (string, required): Unique identifier for the conversation session.
  • content (string, required): The content to append to the session. This will be added to the existing content and saved as a new version.
  • title (string, optional): Optional title for the session.
  • tags (string[], optional): Optional tags for categorizing the session.

Behavior:

  • Reads the existing latest summary (if any)
  • Adds two newlines between content and appends the new content
  • Creates a new file with a new timestamp
  • Preserves all previous versions

6. listAllSummariesTool

Lists all available summaries with basic information (only the latest version of each session).

Parameters:

  • None

Returns:

  • List of all available summaries with basic information (in JSON format)

7. getSessionHistory

Retrieves all historical versions of a specific session, ordered from newest to oldest.

Parameters:

  • sessionId (string, required): The unique ID of the session to retrieve history for.

Returns:

  • List of all versions with their full content (in JSON format)

Client Workflow Example

Here's an example of how a client application might interact with this server:

import { v4 as uuidv4 } from 'uuid';
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';

// Initialize client
const transport = new StdioClientTransport({
  command: 'node',
  args: ['dist/index.js'],
  cwd: process.cwd()
});

const client = new Client({
  name: 'example-client',
  version: '1.0.0'
});

await client.connect(transport);

// Function to generate new session ID (done once per logical session)
function createNewSession() {
  return uuidv4();
}

// Function to append to an existing session
async function appendToSession(sessionId, newContent) {
  return client.callTool({
    name: "appendSummary",
    arguments: {
      sessionId,
      content: newContent,
      title: "Example Session",
      tags: ["example", "demo"]
    }
  });
}

// Function to get session history
async function getSessionHistory(sessionId) {
  const response = await client.callTool({
    name: "getSessionHistory",
    arguments: { sessionId }
  });
  
  const result = JSON.parse(response.content[0].text);
  if (result.success) {
    return result.history;
  }
  
  throw new Error(result.error || "Failed to get session history");
}

// Usage example
const sessionId = createNewSession();

// Add initial content
await appendToSession(sessionId, "Initial conversation data");

// Add more content later in the conversation
await appendToSession(sessionId, "Second part of the conversation");
await appendToSession(sessionId, "Final part of the conversation");

// Get the full history
const history = await getSessionHistory(sessionId);
console.log(`Session ${sessionId} has ${history.length} versions`);

Project Structure

mcp-server-memo/
├── dist/                 # Compiled JavaScript output
├── src/                  # TypeScript source code
│   ├── config.ts         # Server configuration
│   ├── index.ts          # Main entry point
│   ├── storage.ts        # File storage utilities
│   ├── tools.ts          # MCP tool implementations
│   └── types.ts          # TypeScript type definitions
├── summaries/            # Directory for storing session data
│   └── .gitkeep          # Ensures directory is included in git
├── package.json          # Project metadata and dependencies
├── tsconfig.json         # TypeScript configuration
└── LICENSE               # MIT License file

License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Server Memo from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-memo)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent