SDK catalog / Agent Memory

Agent Memory

preview 0.3.0-alpha.1

Preview documentation for @workforce-sdk/agent-memory@0.3.0-alpha.1. Existing legacy downloads may use a different API; this page does not announce a new release.

# 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.

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

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