Phase 3.5: Migrate to MCP backend architecture #39
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Refactor luminos into an MCP client/server model. The filesystem investigation tools become a standalone MCP server;
ai.pybecomes an MCP client that discovers tools dynamically and forwards calls to the server.Motivation
Two goals:
Work items
luminos_lib/mcp_client.py— thin MCP client (stdio transport)luminos_mcp/filesystem.py— MCP server wrappingread_file,list_dir,parse_structure,run_command,stat_fileai.pytool dispatch to forward calls to MCP servertools/list--mcpCLI flag for selecting a non-default serverNo behavior change
The investigation loop, cache, prompts, synthesis, confidence tracking, and reporting are unchanged. This is purely structural.
Timing
After Phase 3 (investigation planning) is complete. See PLAN.md Part 10 for full design and known tensions.
Dependencies