MindCtx · 思维技术分享
在喧嚣里,给思考留一个安静的坐标
欢迎来到 MindCtx —— 这里只分享值得反复回到的思维方式与技术。
给 coding agent 的本地上下文工程层:单个 Rust 二进制,无守护进程、无远程服务,自动尊重 .gitignore。
- search
regex 检索,4 种输出模式 + 分页游标,一次调用拿全结果
- glob
文件发现,支持 ! 排除与路径 / 修改时间排序
- read
token 预算为唯一上限,1–32 个文件共享同一份预算
- outline
tree-sitter 符号骨架,6 种语言,不读全文先看结构
# macOS / Linux / WSL
curl -fsSL https://mindctx.com/install.sh | bash
# Windows PowerShell
irm https://mindctx.com/install.ps1 | iex
# 验证
mindctx --version
# 装好 mindctx,并注册为 MCP server # 前置:Node.js 18+(用 node -v 确认版本) npm i -g mindctx # 注册(按你用的 agent 二选一) claude mcp add --scope user --transport stdio mindctx -- mindctx serve codex mcp add mindctx -- mindctx serve # 验证 mindctx --version
# 装好 mindctx,并注册为 MCP server # 前置:Rust 工具链(用 cargo -V 确认版本,没有先用 rustup 装) cargo install mindctx # 注册(按你用的 agent 二选一) claude mcp add --scope user --transport stdio mindctx -- mindctx serve codex mcp add mindctx -- mindctx serve # 验证 mindctx --version