@agentmemory/mcp

中文文档
0.9.32发布于 2026/11/05Apache-2.0ES Module近 30 天下载 4.1万

Standalone MCP server for agentmemory — thin shim that re-exposes @agentmemory/agentmemory's MCP entrypoint

原始使用文档
文档目录3 节
  1. Usage
  2. Why does this package exist?
  3. License

@agentmemory/mcp

Standalone MCP server for agentmemory.

This is a thin shim package that re-exposes the standalone MCP entrypoint from @agentmemory/agentmemory, so MCP client configs that say npx @agentmemory/mcp work out of the box without installing the full package first.

Usage

npx -y @agentmemory/mcp

Or wire it into your MCP client (Claude Desktop, OpenClaw, Cursor, Codex, etc.):

{
  "mcpServers": {
    "agentmemory": {
      "command": "npx",
      "args": ["-y", "@agentmemory/mcp"]
    }
  }
}

This package depends on @agentmemory/agentmemory and forwards to its dist/standalone.mjs entrypoint. If you already have @agentmemory/agentmemory installed, you can call the same entrypoint directly:

npx @agentmemory/agentmemory mcp

Both commands do the same thing.

Why does this package exist?

The original plan in issue #120 was to publish agentmemory-mcp as an unscoped package, but npm's name-similarity policy blocks that name because of an unrelated package called agent-memory-mcp. Publishing under the @agentmemory scope sidesteps the conflict and keeps the "dedicated standalone package" UX — npx @agentmemory/mcp is one character longer than npx agentmemory-mcp and works on the live registry.

License

Apache-2.0

版本与发布记录

@agentmemory/mcp 共发布 38 个版本,首次发布于 2026/04/14;过去 12 个月发布了 38 个版本。

版本发布日期距今
0.9.32latest2026/11/051 天前
0.9.312026/10/2610 天前
0.9.302026/10/0630 天前
0.9.292026/08/162 个月前
0.9.282026/07/193 个月前
0.9.272026/06/074 个月前

关于 @agentmemory/mcp 的常见问题

@agentmemory/mcp 是什么?

Standalone MCP server for agentmemory — thin shim that re-exposes @agentmemory/agentmemory's MCP entrypoint

如何安装 @agentmemory/mcp?

在项目目录运行 npm install @agentmemory/mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 agentmemory-mcp,可以用 npx agentmemory-mcp 直接运行。

@agentmemory/mcp 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/agentmemory__mcp 是否存在。

@agentmemory/mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@agentmemory/mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@agentmemory/mcp 可以商用吗?

@agentmemory/mcp 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@agentmemory/mcp 的下载量有多少?

根据 npm 官方下载统计,@agentmemory/mcp 在 2026/10/05 – 2026/11/03 这 30 天内被下载 41,489 次,日均约 1,383 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@agentmemory/mcp 还在维护吗?

最新版本 0.9.32 发布于 2026/11/05(1 天前);至今共发布 38 个版本,其中过去 12 个月发布了 38 个;首次发布于 2026/04/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。