Installation

Run the memorystore MCP server from npm, a global install, or source.

The npm package currently builds its Rust binary from source during installation, so install a Rust toolchain and make sure cargo is on PATH first.

Run from an MCP client

An MCP client can launch the package through npx without a separate global install:

[mcp_servers.memorystore]
command = "npx"
args = ["-y", "@barekey/memorystore"]
startup_timeout_sec = 30

The server resolves the active project root from the MCP client. After it starts, call the init tool once in each repository that should have a store.

Install the package

deno add --node-modules-dir=auto --allow-scripts=npm:@barekey/memorystore npm:@barekey/memorystore

Package managers that block dependency lifecycle scripts by default must allow @barekey/memorystore to run its build step. The Deno, pnpm, Nub, and Aube commands above grant that permission while installing.

The package exposes both memorystore-mcp and memorystore binaries. To initialize a project outside an MCP client, pass its root explicitly:

npx memorystore-mcp --root /path/to/project init

Build from source

cargo build --release --bin memorystore-mcp

Point the MCP client at target/release/memorystore-mcp, or memorystore-mcp.exe on Windows.

Install the agent skill

The repository includes a Codex skill that teaches agents to use the MCP operations safely and never edit .memory-store directly.

npx -y skills add usebarekey/memorystore --skill memorystore --full-depth
On this page