Mindswap

io.github.ShipOrBleed由 GitHub 账号 ShipOrBleed 发布v3.3.0更新于 Oct 24, 2026

Local-first AI context and memory server for cross-tool coding continuity.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

本地优先的记忆服务器,保存编码任务上下文、决策与阻碍,让 AI 工具无需重复说明即可接着工作。

可以做什么
  • 保存与恢复项目上下文:记录当前任务、git 状态和决策,并以清晰的简报开始新会话
  • 带引用地检索项目记忆,并就过去的决策提问
  • 管理阻碍、假设、问题与解决方案,可存于仓库或全局个人记忆
  • 初始化仓库、导入已有 AI 上下文、检查配置健康与过期上下文,并重建本地 SQLite 搜索索引
  • 在多台机器间共享连续性状态,并通过 MCP 把同一上下文提供给 AI 客户端
适用场景
适合在多个 AI 编码工具或会话之间切换、经常丢失上下文的情况,或希望把决策与交接说明保存在仓库本地并在项目间复用。
运行要求
以本地进程方式运行,从 npm 包 mindswap 安装(需要 Node.js)。未声明账号、API 密钥或环境变量。记忆以文件形式存放在仓库的 .mindswap 目录,全局范围则存放在用户主目录下。
安装前请注意
会向仓库及个人主目录存储写入上下文文件,sync 命令还会在多台机器间共享连续性状态,同步前请确认所记录的内容。保存的上下文可能包含任务细节、决策和 git 状态。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mindswap,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mindswap

[npm version] [License: MIT]

Keep project context and personal AI memory local so tools can continue work without re-explaining the same context.

Why it exists

AI sessions reset too often. mindswap saves the current task, decisions, blockers, and handoff context so the next tool can pick up cleanly.

Install

bash
npm install mindswap --save-dev

Quick start

bash
npx mindswap initnpx mindswapnpx mindswap doctornpx mindswap resumenpx mindswap ask "Why did we choose JWT?"

What it gives you

  • init to set up a repo and import existing AI context
  • save to capture the current task, git state, and decisions
  • doctor to check setup health and stale context
  • resume to start with a clean briefing
  • ask to search project memory with citations
  • memory to manage blockers, assumptions, questions, and resolutions
  • --global memory and ask scope for personal cross-tool memory under ~/.mindswap/
  • reindex to rebuild the local SQLite search index from your file-based memory
  • sync to share continuity state across machines
  • mcp and mcp-http to expose the same context to AI clients

Global personal memory

MindSwap now supports two local memory scopes:

  • repo memory in <repo>/.mindswap/
  • personal memory in ~/.mindswap/

Use global memory when a preference or learning should follow you across projects and tools.

bash
npx mindswap log "Prefer concise explanations" --type assumption --globalnpx mindswap memory list --scope allnpx mindswap ask "What explanation style should we use?" --scope allnpx mindswap reindex --scope all

MCP and AI tools

mindswap generates context for tools like Claude Code, Cursor, Copilot, Codex, Windsurf, Cline, Roo, Aider, Amp, Gemini CLI, and AGENTS.md-based workflows.

bash
npx mindswap mcp-installnpx mindswap mcp-http

Project state

The main repo data lives in .mindswap/:

text
.mindswap/├── HANDOFF.md├── state.json├── decisions.log├── memory.json├── config.json├── branches/└── history/

npm package

Use it

If mindswap helps your workflow, star the repo and keep improving the handoff loop.

来源:README.md,提交 83bedef

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v3.3.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分