Sun MCP Server
🌞 一个专门为 Agent 会话总结设计的 MCP 服务器,当输入 -sun
命令时自动总结当前会话并保存为 .mdc 文件。
English | 中文
✨ 功能特性
- 🌞 简单命令: 只需输入
-sun
即可触发会话总结 - 🌍 多语言支持:
-sun
生成中文总结,-sun en
生成英文总结 - 📝 智能总结: 自动分析会话内容,提取核心精髓和关键要点
- 📁 自动保存: 按照
日期时间_功能.mdc
格式保存到.sun
文件夹 - 🎯 状态跟踪: 自动判断任务完成状态(completed/partial/failed/ongoing)
- 📊 结构化输出: 包含核心精髓、关键要点、完成成果、后续步骤等
- 🔍 历史查看: 支持列出和查看历史总结
🚀 快速开始
方式 1: npm 安装(推荐)
在 Claude Desktop 中使用 Easy MCP Installation:
- Name:
Sun MCP
- Command:
npx -y sun-mcp@latest
方式 2: 手动配置
在 Claude Desktop 配置文件中添加:
配置完成后重启 Claude Desktop。
📖 使用方法
基本用法
在 Claude Desktop 中直接输入:
生成的文件
总结文件会自动保存到项目根目录的 .sun
文件夹中:
📄 总结文件格式
每个 .mdc 文件包含结构化的会话总结:
🛠️ 本地开发
🎯 解决的问题
- ✅ 会话过大导致精度损失: 通过及时总结保存关键信息
- ✅ 上下文丢失: 结构化保存会话精髓和成果
- ✅ 难以回顾: 提供历史总结查看功能
- ✅ 手动整理繁琐: 一键自动总结和保存
🤝 贡献
欢迎提交 Issue 和 Pull Request!
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables automatic conversation summarization by typing -sun
command, which analyzes the current chat session and saves structured summaries as .mdc files with key insights, outcomes, and next steps.
Related MCP Servers
- AsecurityAlicenseAqualityProvides intelligent summarization capabilities through a clean, extensible architecture. Mainly built for solving AI agents issues on big repositories, where large files can eat up the context window.Last updated -52035TypeScriptMIT License
- AsecurityFlicenseAqualitySummarizes your chat messages.Last updated -11,009TypeScript
- -securityFlicense-qualityEnables AI applications to integrate with YouTube-Summarizer's APIs through the MCP protocol, offering local tool-based interaction for summarizing YouTube content.Last updated -2Python
- -securityFlicense-qualityA simple MCP server for creating and managing notes with support for summarization functionality.Last updated -1Python