← back to gokmengokhan__endnote-mcp

All specs 1 total

All specs Real LLM only Function bodies
rebuild_indexREAL LLM gemma4:latest · · unknown
src/endnote_mcp/server.py
Executes a command-line utility to re-index an EndNote library, which processes newly added XML files and re-extracts associated PDFs. It takes no explicit inputs but relies on a configuration object to locate the database path. The function returns a string summarizing the indexing status, including counts for references, PDFs, and pages, along with the command's output or any encountered errors. A notable side-effect is that it closes and then re-establishes a global database connection using the configuration.