分而治之MCP服务器

分而治之MCP服务器

一个支持AI代理分解复杂任务的模型上下文协议(MCP)服务器。

快速入门

  1. 将服务器添加到MCP配置文件中: 使用以下JSON配置: { "mcpServers": { "divide-and-conquer": { "command": "npx", "args": ["-y", "@landicefu/divide-and-conquer-mcp-server"], "disabled": false } } }

  2. 初始化新任务: 调用 initialize_task 工具,例如: await use_mcp_tool({ server_name: "divide-and-conquer", tool_name: "initialize_task", arguments: { task_description: "重构身份验证系统", context_for_all_tasks: "当前系统使用基于会话的身份验证。" } });

  3. 添加检查项: 使用工具 add_checklist_item 添加具体任务。

  4. 获取任务状态: 调用 get_checklist_summaryget_current_task_details 查看任务详情。