Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.wjabanjj/aifp-mcp

NPM · AIFP-MCP · SCANNED AUG 26

Persistent memory MCP server for AI coding assistants. Chinese-first and fully local.

Available components

0 this week 0 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security67
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: an unpatched critical CVE affects this package; the score is capped at 0. See how to fix → View diagnostics → Fail
  • Runs a script at install time (postinstall) that we could not recognise. It may be perfectly ordinary, but we do not read the published tarball, so we cannot say what it does. View diagnostics → Partial
  • 69 of 197 dependencies flagged as unhealthy (2 deprecated). View diagnostics → Partial
Provenance & Transparency32
Schema Quality & AI Usability87
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 3065 tokens (~90/item across 34 items; 33 tools + 1 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management37
  • Stability observed for 11 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage97
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 92% of tool parameters carry a description.Partial
Tool Safety75
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • 0 of 2 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "merge_memories" implies "merge" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
  • An AI judge read all 34 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

How do I install the io.github.wjabanjj/aifp-mcp server?

io.github.wjabanjj/aifp-mcp runs locally as an npm package, launched with npx -y aifp-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · aifp-mcp

# add to Claude Code
claude mcp add wjabanjj-aifp-mcp -- npx -y aifp-mcp
// .cursor/mcp.json
{
  "mcpServers": {
    "wjabanjj-aifp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "aifp-mcp"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "wjabanjj-aifp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "aifp-mcp"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add wjabanjj-aifp-mcp -- npx -y aifp-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "wjabanjj-aifp-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "aifp-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add wjabanjj-aifp-mcp --command npx --arg -y --arg aifp-mcp
# ~/.hermes/config.yaml
mcp_servers:
  wjabanjj-aifp-mcp:
    command: "npx"
    args: ["-y", "aifp-mcp"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "wjabanjj-aifp-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "aifp-mcp"
      ]
    }
  }
}
# add to Vellum
assistant mcp add wjabanjj-aifp-mcp -t stdio -c npx -a -y aifp-mcp
// mcp.json
{
  "mcpServers": {
    "wjabanjj-aifp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "aifp-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 26 Aug 26 0
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 22 Aug 26 0
    • Stability: unverified → 0.23 functional
  • 15 Aug 26 0

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 26 Aug 2026 · Analysed npm/aifp-mcp@1.5.8

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm
Install scripts 1 script
Hook Tier Command
postinstall unreviewed node scripts/postinstall.mjs
Vulnerabilities 12 findings
ID CVE Severity Vector Fix available
GHSA-2pr8-phx7-x9h3 CVE-2026-44294 medium CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L yes
GHSA-66ff-xgx4-vchm CVE-2026-44293 high yes
GHSA-685m-2w69-288q CVE-2026-44289 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H yes
GHSA-75px-5xx7-5xc7 CVE-2026-44291 high CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H yes
GHSA-f38q-mgvj-vph7 CVE-2026-54269 medium CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L yes
GHSA-fx83-v9x8-x52w CVE-2026-44292 medium CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N yes
GHSA-jggg-4jg4-v7c6 CVE-2026-45740 medium CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L yes
GHSA-jvwf-75h9-cwgg CVE-2026-44290 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H yes
GHSA-q6x5-8v7m-xcrf CVE-2026-44288 medium CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N yes
GHSA-wcpc-wj8m-hjx6 CVE-2026-48712 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H yes
GHSA-xq3m-2v4x-88gg CVE-2026-41242 critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H yes
GHSA-f88m-g3jw-g9cj high yes
Dependencies 197 packages
Packages resolved 197
Deprecated 2
Stale 67
Tree resolution Complete
MCP tools · 33 exposed · ~3,034 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
batch_delete ~56

批量删除记忆(软删除,可恢复)。需要清理不再需要的多条记忆时调用,比逐条删除高效。

NameTypeReqDescription
idsarrayyes要删除的记忆 ID 列表

No output schema declared.

No examples provided.

batch_update ~77

批量更新记忆的标签或重要性。需要统一调整多条记忆的分类或权重时调用。

NameTypeReqDescription
idsarray要更新的记忆 ID 列表
salienceinteger新重要性 1-5
tagsarray新标签(覆盖)

No output schema declared.

No examples provided.

consolidate_memories ~66

手动触发记忆巩固:根据使用频率和重要性自动晋升记忆层级(episodic → internalized → growth)。系统启动时也会自动运行,通常无需手动调用;需要立即巩固时可用。

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

deduplicate_memories ~53

按内容前 80 字分组去重,保留 salience 最高的。当记忆库出现重复时调用。

NameTypeReqDescription
projectstring限定项目名(可选)

No output schema declared.

No examples provided.

derive_memories ~84

从对话中识别并保存长期记忆。本地运行(需配置 COGNITION_LLM_API_KEY 或 ANTHROPIC_API_KEY)。

NameTypeReqDescription
messagesarrayyes对话消息数组 [{role, content}]
projectstring项目路径(可选)
session_idstring会话 ID(可选)

No output schema declared.

No examples provided.

diffuse_memories ~94

记忆扩散搜索——从一组记忆出发,沿关联关系向外多跳扩散,发现间接相关的知识。需要连接服务器进行加权扩散(按 relation_type 区分权重);本地模式不可用。

NameTypeReqDescription
max_hopsinteger最大扩散跳数
seed_idsarrayyes种子记忆ID列表

No output schema declared.

No examples provided.

explain_query ~82

解释检索结果路径分解:展示每条记忆来自哪些路径(FTS/向量/实体/时间/关键词)以及分数构成。当需要理解"为什么这条记忆被检索到"、排查检索质量时调用。

NameTypeReqDescription
limitinteger
querystringyes查询词

No output schema declared.

No examples provided.

export_memories ~78

导出记忆为 JSON,支持按类型/层级筛选。需要备份、迁移或分析记忆数据时调用。

NameTypeReqDescription
limitinteger
offsetinteger
tierstring按层级筛选
typestring按类型筛选

No output schema declared.

No examples provided.

export_memories_md ~135

把记忆导出为 Markdown 笔记(带 frontmatter),写入指定目录——配合 Obsidian 等笔记软件使用,在 Obsidian 里能看到全部记忆。当用户想把记忆同步到 Obsidian vault 时调用。本地可用。

NameTypeReqDescription
directorystringyes目标目录(如 Obsidian vault 下的子目录)
limitinteger最多导出条数
tierstring按层级筛选
typestring按类型筛选(如 preference/fact)

No output schema declared.

No examples provided.

find_perception_path ~83

查找两个记忆节点之间的最短因果路径(双向 BFS)。需要连接服务器进行深度搜索;本地模式不可用。

NameTypeReqDescription
max_depthinteger最大搜索深度,默认5
source_idstringyes起始记忆ID
target_idstringyes目标记忆ID

No output schema declared.

No examples provided.

flush_recognizer ~44

手动触发 Recognizer 立即处理待识别队列。通常由后台调度器自动运行,但需要立即落库时可用此工具。

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_confidence_stats ~63

查看置信度分布统计:展示当前记忆库中各置信度层级(0.3/0.5/0.7/0.9)的数量分布。当需要评估记忆库整体可信度时调用。

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_memory ~70

按 ID 获取单条记忆的完整详情(内容、类型、标签、置信度等)。当已通过 search_memories 或 recall_context 拿到记忆 ID,需要查看该条记忆的完整信息时调用。

NameTypeReqDescription
mem_idstringyes记忆ID

No output schema declared.

No examples provided.

get_memory_tree ~43

获取记忆的层级树结构(按 parent_id 组织的父子关系)。当需要理解记忆之间的从属/包含关系时调用。

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_perception_graph_stats ~42

获取因果图统计信息——节点数、边数、关系类型分布、中心节点。需要连接服务器;本地模式不可用。

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_related_memories ~87

获取与指定记忆关联的其他记忆(Hebbian 共现关联),即"一起出现"的记忆。当需要围绕一条记忆展开关联信息、发现间接主题时调用。本地模式可用(基于本地共现矩阵);连接服务器后计算更完整。

NameTypeReqDescription
mem_idstringyes记忆ID

No output schema declared.

No examples provided.

get_stats ~46

获取记忆感知系统统计信息(记忆总数、类型分布、层级分布等)。当需要了解系统整体状态、记忆库规模时调用。

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_top_experiences ~60

获取按衰减分数排序的 Top N 经验教训。当需要提取记忆库中最重要/最常被引用的经验时调用。

NameTypeReqDescription
nnumber返回条数,默认 15

No output schema declared.

No examples provided.

get_user_profile ~91

获取用户画像——聚合记忆中关于用户本人的偏好、事实、习惯类信息。当需要了解用户的完整背景(喜欢什么、不喜欢什么、身份事实、习惯)时调用,比 search_memories 更全面;AI 建议/结论类记忆不会混入画像。本地可用。

NameTypeReqDescription
limitinteger每类最多返回条数

No output schema declared.

No examples provided.

list_memories ~100

分页列出记忆库中的记忆,按重要性倒序。当需要浏览记忆库全貌、盘点已记住的内容、或按类型/层级筛选查看时调用。

NameTypeReqDescription
limitinteger
offsetinteger
tierstring按层级过滤: episodic/internalized/growth/core_identity
typestring按类型过滤

No output schema declared.

No examples provided.

merge_memories ~89

合并重复记忆:将多条内容重复/相似的记忆合并到一条目标记忆。当检索结果中发现明显重复的记忆时调用,减少冗余。

NameTypeReqDescription
source_idsarrayyes被合并的记忆 ID 列表
target_idstringyes目标记忆 ID(保留此条)

No output schema declared.

No examples provided.

observe_turn ~112

记录对话内容到记忆识别队列。当本轮对话中用户透露了可能值得记住的偏好、事实、决策时,可调用此工具让系统自动判断是否值得入记忆。轻量快速(<5ms),仅入队不阻塞。

NameTypeReqDescription
projectstring项目路径(可选)
session_idstring会话 ID(可选)
user_messagestringyes用户的最后一条消息

No output schema declared.

No examples provided.

recall_context ~186

一键回忆(比 search_memories 更全面):当需要全面了解某个主题的来龙去脉时调用此工具。本地模式:仅 FTS5 全文 + 向量语义基础检索(不含感知链/关联/扩散)。连接服务器后:额外叠加感知链深度溯源(backward depth=8)+ Hebbian 关联 + 多跳扩散。返回结果含 source 字段。

NameTypeReqDescription
include_assocboolean是否展开 Hebbian 关联
include_diffusionboolean是否多跳扩散
include_perceptionboolean是否展开感知链
limitinteger直接命中记忆上限
querystringyes回忆查询词,如"用户对 AI 的看法"

No output schema declared.

No examples provided.

reimport_sources ~114

导入记忆来源:扫描指定目录(如 Obsidian vault 路径)或 COGNITION_SOURCES 配置的目录,把 .md/.json 等文件导入记忆库(frontmatter 自动剥离)。内容哈希去重不重复。用户新增了笔记后调用此工具同步。

NameTypeReqDescription
directorystring要导入的目录(如 Obsidian vault 路径)。不填则扫描 COGNITION_SOURCES 配置的目录

No output schema declared.

No examples provided.

rotate_observation_logs ~37

清理 7 天前的观察日志文件。定期维护用,一般由系统自动处理,无需手动调用。

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

save_memory ~362

保存一条记忆。当用户明确告知关于他自己的新信息(偏好、事实、经历、观点、项目决策等),且你觉得值得长期记住时,调用此工具。内容会自动建立全文索引和向量索引,后续搜索可命中。

NameTypeReqDescription
agent_idstring所属 Agent ID(多 Agent 共享用)
confidencenumber置信度 0-1(默认 0.3),4 级体系: 0.3 试探/0.5 中等/0.7 强/0.9 近乎确定
contentstringyes记忆内容,用户说的关键信息
cross_agent_shareboolean是否允许其他 Agent 访问此记忆
detailstring详细描述或上下文
mem_idstring更新已有记忆时传入此 ID;不传则新建
perception_linksarray关联的感知链(新记忆自动关联后不需手动传),格式:[{ target_id, relation_type, explanation?, confidence? }]
projectstring所属项目(可选),用于日志记录
salienceinteger重要性 1-5
session_idstring会话 ID(可选),用于日志记录
tagsarray标签列表
titlestring可选的标题
typestring记忆类型
valid_untilnumber有效期限(UNIX 时间戳),超过后置信度衰减

No output schema declared.

No examples provided.

scan_memory_patterns ~76

扫描近期记忆模式:按类型/标签聚类分析,了解当前记忆库的内容分布和趋势。当需要总结用户近期关注点、记忆主题变化时调用。

NameTypeReqDescription
hoursinteger回溯小时数
min_countinteger最小聚类数量

No output schema declared.

No examples provided.

scan_observation_patterns ~55

扫描最近 N 小时的观察日志,返回高频错误模式。当需要从操作日志中提取失败规律时调用。

NameTypeReqDescription
hoursnumber回溯小时数,默认 2

No output schema declared.

No examples provided.

search_memories ~252

搜索记忆库,查找与查询词相关的历史记忆。当用户提及之前讨论过的话题、项目、偏好、技术决策,或需要了解用户背景信息时,主动调用此工具。支持关键词 + 语义双路检索,适合大部分回忆场景。本地模式:FTS5 全文 + 向量语义 6 路检索。连接服务器后:额外启用 Z-score 融合排序 + 冲突证据补充(自动拉入矛盾记忆的另一端)。返回结果含 source 字段标识 "server" 或 "local"。

NameTypeReqDescription
agent_idstringAgent ID(多 Agent 过滤用)
include_hebboolean是否包含关联记忆
limitinteger返回条数上限
querystringyes搜索关键词
scopestring检索范围: all=全部, personal=仅自己, shared=仅共享
typesarray按类型过滤
use_vectorboolean是否使用向量语义搜索

No output schema declared.

No examples provided.

session_mine ~87

挖掘对话会话中的决策、踩坑、编辑循环,提炼经验。当需要从一段对话历史中提取可复用经验时调用。

NameTypeReqDescription
messagesarrayyes对话消息数组 [{role, content}]
projectstring项目路径(可选)
session_idstringyes会话 ID

No output schema declared.

No examples provided.

share_memory ~63

设置记忆的共享状态(允许其他 Agent 访问)。多 Agent 协作场景下,需要把某条记忆共享给其他 Agent 时调用。

NameTypeReqDescription
mem_idstringyes记忆 ID
shareboolean是否共享

No output schema declared.

No examples provided.

trace_perception_chain ~91

追踪记忆的感知链(BFS),查看"为什么"和"导致什么"。需要连接服务器(depth=8 双向 BFS);本地模式不可用。返回结果含 depth 和 relation 字段。

NameTypeReqDescription
directionstring
max_depthinteger最大追踪深度
mem_idstringyes记忆ID

No output schema declared.

No examples provided.

validate_memory ~56

验证记忆内容质量(长度/瞬态/猜测三重门禁)。保存记忆前可调用它预检内容是否值得入记忆。

NameTypeReqDescription
contentstringyes记忆文本内容

No output schema declared.

No examples provided.

Common questions

What is the io.github.wjabanjj/aifp-mcp server?

io.github.wjabanjj/aifp-mcp is listed in the public MCP registry as io.github.wjabanjj/aifp-mcp. Persistent memory MCP server for AI coding assistants. Chinese-first and fully local. This page covers its npm package (aifp-mcp).

What tools does the io.github.wjabanjj/aifp-mcp server expose?

io.github.wjabanjj/aifp-mcp exposes 33 tools: save_memory, search_memories, get_memory, list_memories, trace_perception_chain, and 28 more. Their descriptions and schemas cost roughly 3,034 tokens of context every time the server is loaded.

Is the io.github.wjabanjj/aifp-mcp server still maintained?

io.github.wjabanjj/aifp-mcp is still listed as active in the MCP registry. We last reached this channel on 26 August 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.