Chain of Draft Server 是一个强大的 AI 驱动工具,通过系统化的迭代改进思路和设计来帮助开发者做出更好的决策。它与流行的 AI 代理无缝集成,并为推理、API 设计、架构决策、代码审查和实施计划提供了一种结构化的方法。
git clone https://github.com/bsmi021/mcp-chain-of-draft-server.git
cd mcp-chain-of-draft-server

npm install
在 initialize.ts
中简单的服务器配置:
const serverConfig = {
name: "chain-of-draft",
version: "1.0.0",
}

const thoughtData = {
reasoning_chain: ["Initial analysis of the problem"],
next_step_needed: true,
draft_number: 1,
total_drafts: 3,
is_critique: true,
critique_focus: "logical_consistency"
};

src/ ├── tools/ # Specialized Tools │ ├── chainOfDraft/ # Core Protocol │ └── index.ts / # Entry Point ├── utils/ # Utilities └── index.ts # Entry Point
npm run dev
该协议通过迭代草稿和针对性的批评引导您逐步改进思考过程。
当然可以!每个工具都支持根据您的具体需求定制批评焦点。
我们建议大多数任务准备 3-5 次草稿,但您可以根据复杂程度调整。
我们欢迎贡献!请查阅我们的贡献指南。
MIT 许可证 - 详情请参阅 LICENSE 文件。
由 @bsmi021 用 🧠 制作