MindSwap
mindswap
保持项目上下文和个人 AI 记忆在本地,以便工具可以在无需重新解释相同上下文的情况下继续工作。
为什么存在
AI 会话重置过于频繁。mindswap 保存当前任务、决策、阻碍和交接上下文,以便下一个工具可以顺利接手。
Related MCP server: LLM Memory MCP Server
安装
npm install mindswap --save-dev快速开始
npx mindswap init
npx mindswap
npx mindswap doctor
npx mindswap resume
npx mindswap ask "Why did we choose JWT?"它能为你提供什么
init用于设置仓库并导入现有的 AI 上下文save用于捕获当前任务、git 状态和决策doctor用于检查设置健康状况和过期的上下文resume用于以清晰的简报开始工作ask用于通过引用搜索项目记忆memory用于管理阻碍、假设、问题和解决方案--global记忆和 ask 作用域,用于~/.mindswap/下的个人跨工具记忆reindex用于从基于文件的记忆中重建本地 SQLite 搜索索引sync用于在不同机器间共享连续性状态mcp和mcp-http用于向 AI 客户端公开相同的上下文
全局个人记忆
MindSwap 现在支持两种本地记忆作用域:
<repo>/.mindswap/中的仓库记忆~/.mindswap/中的个人记忆
当偏好设置或学习内容需要在不同项目和工具间跟随你时,请使用全局记忆。
npx mindswap log "Prefer concise explanations" --type assumption --global
npx mindswap memory list --scope all
npx mindswap ask "What explanation style should we use?" --scope all
npx mindswap reindex --scope allMCP 和 AI 工具
mindswap 为 Claude Code、Cursor、Copilot、Codex、Windsurf、Cline、Roo、Aider、Amp、Gemini CLI 以及基于 AGENTS.md 的工作流等工具生成上下文。
npx mindswap mcp-install
npx mindswap mcp-http项目状态
主要的仓库数据位于 .mindswap/ 中:
.mindswap/
├── HANDOFF.md
├── state.json
├── decisions.log
├── memory.json
├── config.json
├── branches/
└── history/npm 包
使用它
如果 mindswap 对你的工作流有帮助,请给仓库加星,并继续改进交接循环。
This server cannot be deployed
Maintenance
Related MCP Connectors
Team memory for AI coding agents and code reviews, reviewed by humans and served over MCP.
Shared memory for your AI tools: tasks, notes and context every tool can read and write over MCP.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceA local-first MCP server for shared memory across AI tools, enabling context capture and resume across sessions.2647 npm6Apache 2.0
- AlicenseNot gradedqualityCmaintenanceA local-first, team-ready MCP server providing durable memory for LLM-based coding workflows with multiple storage backends and fast search.4MIT
- AlicenseNot gradedqualityAmaintenanceA local markdown memory and cross-agent context engine for AI coding assistants. It provides an MCP server with tools to search, add, retrieve, and distill persistent memory across tools like Claude Code, Cursor, and Zed.37 PyPI5MIT
- FlicenseNot gradedqualityBmaintenanceLocal-first memory for AI coding agents. Indexes your Claude Code, Codex, Cursor, Cline and Gemini CLI history by repo/branch/worktree and hands a context capsule (decisions, touched files, next steps) to the next agent over MCP.-