Skip to content

v0.5.0: MCP Server, Major Simplification

Choose a tag to compare

@queelius queelius released this 13 Mar 15:36

What's New

MCP Server (ebk mcp-serve) — AI integration via Model Context Protocol with 3 tools:

  • get_schema — introspect library database structure
  • execute_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]

Full Changelog

v0.4.4...v0.5.0