library_scan
Scan a local directory recursively for EPUB and PDF files, registering them in a sidecar catalog for document access. Run after server restart before using document ID tools.
Instructions
Scan a local root recursively for EPUB/PDF documents and register them in one root sidecar catalog at /.mcp-ebook-read. If root is omitted, the MCP process project root is used. Use this before doc_id-only tools after a fresh server restart. Returns scan_performance so agents can see candidate counts, hash workers, and scan timing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | ||
| patterns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||