mcp_server.tools
Pure tool functions for MemDiver — dataset discovery and analysis.
Each function takes a ToolSession + explicit params and returns a dict. The MCP server and future web gateway both call these directly.
- scan_dataset(session, root, keylog_filename='keylog.csv', protocols=None)[source]
Scan a dataset directory for available protocols, libraries, and phases.
- list_protocols(session)[source]
List all registered protocol descriptors.
- Parameters:
session (ToolSession)
- Return type: