Skip to content

Permissions and local data

Windows permissions and the local data root are separate boundaries. A successful server start does not grant access to every target operation, and local artifacts can contain sensitive process data.

The selected process can deny query, VM-read, VM-write, thread, or debug-related operations.

The default data root is ~/.memscope-mcp. Set MEMSCOPE_HOME before server startup to relocate it:

Terminal window
$env:MEMSCOPE_HOME = Join-Path $env:TEMP "memscope-mcp-session"
New-Item -ItemType Directory -Force $env:MEMSCOPE_HOME | Out-Null
memscope-mcp paths

The server uses these subdirectories:

  • logs/sessions/<session-id>.jsonl for bounded session events and plugin diagnostics;
  • scripts/<process>/<name>.lua for saved Lua scripts; and
  • plugins/<filename>.py for explicitly activated plugin files.

Netcap recordings use $MEMSCOPE_HOME/scripts/<process>/recordings/. The cwd-relative scripts/<process>/recordings/ path is a read-only legacy fallback.


Source: getting-started guide