dotsagent.io
Ngôn ngữ:Tiếng Việt
Model và bộ nhớ · MCP Steering Group

Thiết lập Memory

Lưu đồ thị tri thức gồm các thực thể và quan hệ trong một tệp cục bộ, giúp agent nhớ lại thông tin giữa các phiên.

Nhà phát hành
MCP Steering Group Chính thức
Chạy cục bộ
npx -y @modelcontextprotocol/server-memory
Giao thức truyền tải
stdio
Xác thực
Không cần.
Môi trường
MEMORY_FILE_PATH
Phạm vi truy cập
Đọc và ghi một tệp cục bộ, được chỉ định bằng MEMORY_FILE_PATH.
Giấy phép
MIT (existing) / Apache-2.0 (new contributions)
Mã nguồn
github.com/modelcontextprotocol/servers/tree/main/src/memory
Trạng thái
Đang hoạt động

Cài đặt

Server này chạy trên máy của bạn dưới dạng tiến trình con của client. Bạn cần cài runtime mà lệnh của server sử dụng, chẳng hạn Node.js cho npx, uv cho uvx hoặc Docker, cùng mọi biến được liệt kê trong mục Environment.

Claude Code

shell
claude mcp add --scope project memory -- npx -y @modelcontextprotocol/server-memory

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}

Codex

~/.codex/config.toml
[mcp_servers.memory]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-memory"]

Cấu hình cho các client khác →

Các server khác trong model và bộ nhớ

Nguồn

  1. github.com/modelcontextprotocol/servers