M
MCP Session Saver
A Model Context Protocol service for saving session records。存储AI IDE 会话的MCP工具。
创建于 12/15/2025
更新于 about 15 hours ago
README
Repository documentation and setup instructions
🎉 MCP Session Saver
An MCP service for saving session records. Session content can be saved to a specified directory and stored as Markdown files organized by IDE name, date, and session description.
✨ Key Features
- 📝 Save Session Records - Save AI conversations as Markdown files
- 📁 Smart Organization - Automatically categorized by IDE/date/description
- 🔍 Session Management - Read, search, and delete sessions
- 🌐 Multi-IDE Support - Compatible with Qoder, Cursor, Claude Desktop, Windsurf, Trae, Codebuddy, Lingma, Continue, Aider, and more
🚀 Quick Start
Method 1: Using npx (Recommended)
No installation required. Simply add to your IDE's MCP configuration:
{
"mcpServers": {
"session-saver": {
"command": "npx",
"args": ["-y", "mcp-session-saver"]
}
}
}
Method 2: Global Installation
npm install -g mcp-session-saver
MCP Configuration:
{
"mcpServers": {
"session-saver": {
"command": "mcp-session-saver"
}
}
}
Method 3: Local Installation
npm install mcp-session-saver
📁 Custom Storage Path (Optional)
Add environment variable in MCP configuration:
{
"mcpServers": {
"session-saver": {
"command": "npx",
"args": ["-y", "mcp-session-saver"],
"env": {
"MCP_SESSION_BASE_DIR": "D:\\MyProjects\\sessions"
}
}
}
}
🎯 How to Use
After configuration, simply say in your IDE:
Save current session
List all sessions
Search session content
📚 Documentation
- Quick Setup Tools - One-click configuration scripts
- Detailed Usage Guide - Complete usage instructions
- Multi-IDE Setup - Configuration for Cursor, Claude, and other IDEs
- Qoder Configuration - Qoder-specific guide
- Internationalization - Multi-language support guide
🛠️ Tech Stack
- JavaScript (ES Module)
- @modelcontextprotocol/sdk
- Node.js >= 16.0.0
📝 License
MIT
👏 Contributing
Issues and Pull Requests are welcome!
快速设置
此服务器的安装指南
安装包 (如果需要)
npx @modelcontextprotocol/server-mcp-session-saver
Cursor 配置 (mcp.json)
{
"mcpServers": {
"oscar-wang-xin-mcp-session-saver": {
"command": "npx",
"args": [
"oscar-wang-xin-mcp-session-saver"
]
}
}
}