You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI surface is write-only (index, refresh, hooks, ingest-coverage, mcp). All 17 MCP query tools have no CLI equivalent. Users and scripts cannot query the knowledge base without spinning up an MCP server and connecting a client.
Proposal
Add a lore query <tool-name> [--json '{ ... }'] subcommand that dispatches directly to MCP tool handlers.
ToolRegistry already maps tool names → handler factories. This subcommand needs ~50 lines: open DB read-only, instantiate ToolDependencies, look up the handler by name, parse --json args, call it, print JSON to stdout.
Output to stdout as JSON for piping; errors to stderr.