Token导航 LogoToken导航TokenDH.com
Memory Custom MCP logo
搜索检索stdio官方级别未说明来源级核验

Memory Custom MCP

MCP Server

@smithery/cli

simple memory mcp server with custom memory location

工具数

11

提示词数

0

GitHub Stars

4

资源数

0
知识图谱记忆管理JavaScriptClaudeClaudeCursor

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

BRO3886

提供方

BRO3886

最后核验

2026/5/18 04:07

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx -y @smithery/cli install @BRO3886/mcp-memory-custom --client claude

详细介绍

内存自定义

](https://smithery.ai/server/@BRO3886/mcp-memory-custom)

此项目为MCP团队提供的内存服务器添加了新功能。它允许创建和管理通过语言模型(LLM)捕获交互的知识图。

新功能

1.自定义内存路径

  • 用户现在可以为各种项目指定不同的内存文件路径。
  • 为什么?:此功能增强了内存数据的组织和管理,允许特定于项目的内存存储。

2.时间戳

  • 服务器现在为交互生成时间戳。
  • 为什么?:时间戳可以跟踪每个内存的创建或修改时间,为存储的数据提供更好的上下文和历史记录。

入门指南

先决条件

  • Node.js(版本16或更高)

通过Smithery安装

通过以下方式自动安装克劳德桌面知识图谱内存服务器 史密瑟里:

npx -y @smithery/cli install @BRO3886/mcp-memory-custom --client claude

安装

  1. 克隆存储库:
   git clone git@github.com:BRO3886/mcp-memory-custom.git
   cd mcp-memory-custom
  1. 安装依赖项:
   npm install

配置

在运行服务器之前,您可以设置 MEMORY_FILE_PATH 环境变量,用于指定内存文件的路径。如果未设置,服务器将默认使用 memory.json 与脚本位于同一目录中。

运行服务器

更新mcp服务器json文件

将此添加到您的 claude_desktop_config.json / .cursor/mcp.json 文件:

{
  "mcpServers": {
    "memory": {
      "command": "node",
      "args": ["/path/to/mcp-memory-custom/dist/index.js"]
    }
  }
}

系统提示更改:

Follow these steps for each interaction:
1. The memoryFilePath for this project is /path/to/memory/project_name.json - always pass this path to the memory file operations (when creating entities, relations, or retrieving memory etc.)
2. User Identification:
   - You should assume that you are interacting with default_user
   - If you have not identified default_user, proactively try to do so.

3. Memory Retrieval:
   - Always begin your chat by saying only "Remembering..." and retrieve all relevant information from your knowledge graph
   - Always refer to your knowledge graph as your "memory"

4. Memory
   - While conversing with the user, be attentive to any new information that falls into these categories:
     a) Basic Identity (age, gender, location, job title, education level, etc.)
     b) Behaviors (interests, habits, etc.)
     c) Preferences (communication style, preferred language, etc.)
     d) Goals (goals, targets, aspirations, etc.)
     e) Relationships (personal and professional relationships up to 3 degrees of separation)

5. Memory Update:
   - If any new information was gathered during the interaction, update your memory as follows:
     a) Create entities for recurring organizations, people, and significant events, add timestamps to wherever required. You can get current timestamp via get_current_time
     b) Connect them to the current entities using relations
     c) Store facts about them as observations, add timestamps to observations via get_current_time

IMPORTANT: Provide a helpful and engaging response, asking relevant questions to encourage user engagement. Update the memory during the interaction, if required, based on the new information gathered (point 4).

在本地运行服务器

要启动知识图谱内存服务器,请运行:

npm run build
node dist/index.js

服务器将通过标准输入/输出监听请求。

API终点

服务器公开了几个可以使用特定参数调用的工具:

  • 获取当前时间
  • 设置内存文件路径
  • 创建实体
  • 建立关系
  • 添加观察结果
  • 删除实体
  • 删除观察结果
  • 删除关系
  • 读取图表
  • 搜索节点
  • 打开节点

致谢

  • 灵感来自Anthropic的内存服务器。

目录标签

目录标签

知识图谱记忆管理JavaScriptClauderesearch-and-data本地部署语言模型时间戳项目组织

支持客户端

ClaudeCursor

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Node.js

部署方式(deploymentType,部署类型)

local-only

来源包(packageName,安装包名)

@smithery/cli

工具数量(toolCount,工具数)

11

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononelocal-only

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP