v0.5.0: MCP Server, Major Simplification
What's New
MCP Server (ebk mcp-serve) — AI integration via Model Context Protocol with 3 tools:
get_schema— introspect library database structureexecute_sql— read-only SQL with 3-layer defense (regex,?mode=ro, authorizer)update_books— batch update metadata, tags, authors, subjects, merge duplicates
What's Removed (~8,500 lines)
| Module | Lines | Reason |
|---|---|---|
ebk/ai/ |
~3,300 | Replaced by MCP server |
ebk/repl/ |
~2,300 | Unused |
ebk/vfs/ |
~2,800 | Redundant with REST API |
ebk/skills/ |
~180 | Replaced by MCP server |
Also removed: LLM config, ebk enrich command, VFS web router, stale references.
Install / Upgrade
pip install --upgrade ebk
# With MCP support:
pip install --upgrade ebk[mcp]