Skip to main content
Glama

MCP Journaling Server

by mtct

MCP 日志服务器

MCP(消息控制协议)服务器旨在处理交互式日志会话,支持情感分析和自动对话保存。

特征

  • 自动日志会话管理
  • 以 Markdown 格式保存对话
  • 带有时间戳的对话时间分析
  • 支持阅读最近的日记条目
  • 日记条目按时间顺序组织

安装

依赖于您的 MCP 客户端,在 Claude Desktop 上:

"mcpServers": { "journaling": { "command": "uv", "args": [ "--directory", <REPOSITORY PATH>, "run", "server.py" ] } }

配置

可以使用 .env 文件中的环境变量来配置服务器:

  • JOURNAL_DIR :保存日志文件的目录(默认值:~/Documents/journal)
  • FILENAME_PREFIX :文件名前缀(默认值:“journal”)
  • FILE_EXTENSION :日志文件扩展名(默认值:“.md”)

如果未指定,则将使用默认值。

文件结构

日记帐分录按以下结构保存:

[JOURNAL_DIR]/ ├── journal_2025-01-27.md ├── journal_2025-01-26.md └── ...

条目格式

每个日记条目包括:

  1. 带日期的标题
  2. 带有时间戳的对话记录
  3. 情感分析
  4. 反思和反复出现的主题

API

工具

  • start_new_session() :开始新的日志会话
  • record_interaction(user_message, assistant_message) :记录消息交换
  • generate_session_summary(summary) :生成并保存会话摘要
  • get_recent_journals() :检索最近的 5 条条目

资源

  • journals://recent :访问最近日记条目的端点

提示

  • start_journaling :初始提示

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

MCP 服务器将与 Claude 的聊天转换为日志会话,在本地保存对话并允许 LLM 检索以前的会话,从而在有关日常活动的讨论中建立连续性。

  1. 特征
    1. 安装
      1. 配置
        1. 文件结构
          1. 条目格式
            1. API
              1. 工具
              2. 资源
              3. 提示

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              This MCP server provides persistent memory integration for chat applications by utilizing a local knowledge graph to remember user information across interactions.
              Last updated -
              9
              14,700
              1
              JavaScript
            • -
              security
              A
              license
              -
              quality
              A server for the Machine Chat Protocol (MCP) that provides a YAML-based configuration system for LLM applications, allowing users to define resources, tools, and prompts without writing code.
              Last updated -
              5
              Python
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              An MCP server that enables saving and sharing Claude Desktop conversations, allowing users to store chats privately or make them public through a web interface.
              Last updated -
              2
              6
              TypeScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that allows Claude and other LLMs to manage persistent memories across conversations through text file storage, enabling commands to add, search, delete and list memory entries.
              Last updated -
              2
              TypeScript

            View all related MCP servers

            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/mtct/journaling_mcp'

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