MCP Configs2026年5月13日·1 分钟阅读

iai-mcp — Open-Source Memory System for AI Coding

iai-mcp is an open-source local memory layer for AI coding assistants. It runs an MCP server plus capture/recall hooks and ships benchmarks.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 94/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Mcp
安装
Git
信任
信任等级:Established
入口
git clone https://github.com/CodeAbra/iai-mcp.git && cd iai-mcp && bash scripts/install.sh
通用 CLI 安装命令
npx tokrepo install d89c9d2d-c020-5fe7-89e3-f0ee62a820b5
介绍

iai-mcp 是开源本地记忆层:作为 MCP server + 捕获/召回 hooks,为 Claude Code/Codex 等把历史对话变成可检索记忆。README 标注静态加密 AES-256-GCM、p95 召回 <100ms,并附带可复现基准。

Best for: 想要“自动记录+自动召回”,并且希望有基准数据支撑的 macOS 用户

Works with: macOS;Python 3.11/3.12;Node.js 18+;Claude Code 或 Codex CLI

Setup time: 10-25 minutes

Key facts (verified)

  • GitHub:116 stars · 12 forks;最近更新 2026-05-13。
  • 许可证:MIT;作者头像与仓库链接均已通过 GitHub API 复核。
  • README 中核对过的入口命令:git clone https://github.com/CodeAbra/iai-mcp.git && cd iai-mcp && bash scripts/install.sh

Main

  • 先装 daemon + wrapper,再装 hooks;没有 hooks 只能读,无法做到“自动捕获/自动召回”。

  • iai-mcp doctordaemon status 当作启用前的安全门槛,先确认环境与进程都正常。

  • 如果你关心效果,用仓库自带的 benchmark 脚本在本机复测召回延迟与保真度。

Source-backed notes

  • README 的 Install 用 bash scripts/install.sh,并说明把 ~/.local/bin 加进 PATH 后运行 iai-mcp
  • README 说明 capture/recall hooks(install/status/uninstall),并提供 Codex 作为 target 的参数示例。
  • README 给出基准指标(如 p95 <100ms、10k 规模 verbatim recall ≥99%)并提供 bench/ 可复现脚本。

FAQ

  • 跨平台吗?:README 标注主要支持 macOS;Windows/Linux 暂未支持(以 README 为准)。
  • 会存储敏感信息吗?:它会本地保存对话捕获内容;请把存储目录当作敏感开发资料来管理。
  • daemon 挂了会怎样?:README 描述 hooks 为 fail-safe:召回失败应返回空内容,不阻塞会话启动。
🙏

来源与感谢

Source: https://github.com/CodeAbra/iai-mcp > License: MIT > GitHub stars: 116 · forks: 12

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产