Use plugins
Plugins are opt-in Python extensions. List bundled sources, activate one, and inspect the resulting Lua registry after restarting the server.
Activate a bundled plugin
Section titled “Activate a bundled plugin”memscope-mcp list-pluginsmemscope-mcp install-plugin il2cppmemscope-mcp install-plugin netcapmemscope-mcp pathsThe default install refuses to overwrite an existing activated copy. Overwrite one explicitly with:
memscope-mcp install-plugin netcap --force--force is the explicit overwrite operation. Package upgrades preserve activated plugin copies and saved scripts; they do not refresh local files implicitly.
Confirm the runtime
Section titled “Confirm the runtime”Restart the MCP server, then use Lua:
print(getLoadedExtensions())for _, item in ipairs(listLuaFunctions("il2cpp")) do print(item.name)endA successful plugin contributes Lua functions to lua; it does not add an MCP tool. Runtime scanning uses only direct $MEMSCOPE_HOME/plugins/*.py files in sorted filename order and excludes underscore-prefixed files.
Choose a plugin
Section titled “Choose a plugin”- Use IL2CPP for Unity runtime structures and thread-local native calls.
- Use Netcap for Winsock hooks, packet analysis, and recordings.
- Use Plugin authoring when writing a local domain helper.
Execution and data
Section titled “Execution and data”An activated plugin runs as Python in the server process. It can read the attached target through its session, invoke registered hooks or native helpers, and write local files. Registration mappings, lifecycle callbacks, and data paths follow the contracts in Plugin lifecycle and Plugin API. Testing can use a disposable MEMSCOPE_HOME so activation artifacts stay out of the default root.
Netcap captures target traffic, and environment reads can return credentials or other secret material. Recordings, logs, and diagnostics persist under MEMSCOPE_HOME.
See Plugin overview, Plugin troubleshooting, and Security model.