Commit Graph

5 Commits

Author SHA1 Message Date
Eyal Toledano
880a98e8e2 chore: changeset + update rules. 2025-04-03 04:09:27 -04:00
Eyal Toledano
52adb5c2f6 fix: Improve MCP server robustness and debugging
- Refactor  for more reliable project root detection, particularly when running within integrated environments like Cursor IDE. Includes deriving root from script path and avoiding fallback to '/'.
- Enhance error handling in :
    - Add detailed debug information (paths searched, CWD, etc.) to the error message when  is not found in the provided project root.
    - Improve clarity of error messages and potential solutions.
- Add verbose logging in  to trace session object content and the finally resolved project root path, aiding in debugging path-related issues.
- Add default values for  and  to the example  environment configuration.
2025-04-02 22:04:00 -04:00
Eyal Toledano
6161febbde fix(mcp): make projectRoot optional in all MCP tools
- Update all tool definitions to use z.string().optional() for projectRoot
- Fix direct function implementations to use findTasksJsonPath(args, log) pattern
- Enables consistent project root detection without requiring explicit params
- Update changeset to document these improvements

This change ensures MCP tools work properly with the smart project root
detection system, removing the need for explicit projectRoot parameters in
client applications. Improves usability and reduces integration friction.
2025-04-01 03:12:44 -04:00
Eyal Toledano
22bd13c197 chore: removes the optional from projectRoot. 2025-03-31 15:58:52 -04:00
Eyal Toledano
a6a94e3a18 Implement remove-dependency MCP command for removing dependencies from tasks 2025-03-31 13:51:39 -04:00