CAS_NLP_Module3_Calibre_Project
by alexchilton
Overview
Manages a Calibre ebook library and enriches metadata by exposing various tools and capabilities to AI models like Claude Desktop.
Installation
python -m calibre_mcp.appEnvironment Variables
- CALIBRE_LIBRARY_PATH
- PYTHONPATH
- PATH
Security Notes
Extensive use of `subprocess.run` to interact with `calibredb` and `ebook-meta` CLI tools. Several tool parameters (e.g., `search_term`, `query`, `file_path`, `title`, `authors`, `isbn` in `calibre_tools/cli_wrapper.py`) are passed directly from user input without explicit sanitization, posing a risk of command injection, which could lead to arbitrary code execution or data manipulation if the underlying Calibre CLI tools are vulnerable to such input. The `calibre_sql` tool executes arbitrary SQL queries (though in read-only mode), which could lead to information disclosure of database schema or denial-of-service via resource-intensive queries. No obvious hardcoded secrets were found. Consider implementing `shlex.quote` for all user-provided arguments passed to subprocess calls.
Similar Servers
markitdown-mcp
Converts various document and media formats to Markdown using the Model Context Protocol (MCP), primarily for integration with AI workflows like Claude Desktop.
CAS_NLP_Module3_Calibre_Project
Manages a Calibre ebook library and enriches metadata by exposing various tools and capabilities to AI models like Claude Desktop.
zotero-keeper
AI-powered management and organization of local Zotero bibliographic references, enabling search, import, and basic library analytics through AI agents like VS Code Copilot or Claude Desktop.
motoko
A personal knowledge management system that uses AI agents to manage structured data in local markdown files and external data lakes, alongside an interactive chat interface and automated maintenance.