SDK catalog / Memory

Memory

alpha 0.3.0-rc.3

Published preview for @wf/agent-memory@0.3.0-rc.3. Follow the registry guide and review compatibility before installing.

Join the alpha Sign in with Google, then add your name. We review alpha access requests.

# Configuration for the memory MCP server. Relative paths are based on this file.
#
# Every setting below is optional and shown at its maintained default, so a
# missing file is a supported way to run: the file exists to change something,
# not to permit starting. Credentials never live here - a setting ending `Env`
# names the environment variable to read one from.

storage:
  # One OS account / single identity for this standalone MCP process.
  root: ./private-memory
  isolation: local

memory:
  # Results a search returns when the caller does not ask for a count.
  searchLimit: 8

preferences:
  # Learn only direct, non-sensitive preferences. Explicit false is the opt-out.
  enabled: true
  # Optional private location, resolved relative to this YAML file.
  # root: ./personal-memory
  maxPreferences: 80
  historyLimit: 12
  contextChars: 4000
  # Tencent cannot be enabled in this release. Old uploads need separate cleanup.

codeGraph:
  # One source file larger than this stops the whole scan rather than being
  # skipped, so keep it above your largest checked-in JavaScript file.
  maxFileBytes: 4000000
  # Replaces the built-in list entirely, so name every build folder you have.
  excludeDirectories:
    - node_modules
    - dist
    - build
    - .runtime

http:
  # Off by default. Turn it on for a client that cannot spawn a local process -
  # a ChatGPT connector, a Claude web connector, another machine.
  enabled: false
  host: 127.0.0.1
  # 0 asks the operating system for any free port, announced on stderr.
  port: 8765
  path: /mcp
  # Empty refuses every browser. An ordinary client sends no Origin and is
  # unaffected.
  allowedOrigins:
    - https://claude.ai
  # With this set, a request without the bearer token is refused. Leave it out
  # only on loopback.
  # authTokenEnv: MEMORY_HTTP_TOKEN