Chain of Draft Thinking

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Source code hosting and version control integration for collaboration and contributions

  • Runtime environment for server execution with support for version 16.0.0 and above

  • Package management system for installing dependencies and running development scripts

MCP 链草稿服务器

Chain of Draft Server 是一款强大的 AI 驱动工具,它通过系统化、迭代式地完善思路和设计,帮助开发者做出更明智的决策。它能够与主流 AI 代理无缝集成,并提供结构化的推理、API 设计、架构决策、代码审查和实施规划方法。

🌟 功能

核心能力

  • 迭代推理:通过草案链协议进行系统改进
  • 思维史:跟踪和管理推理迭代
  • 分支支持:重点回顾特定的推理步骤
  • TypeScript 支持:通过 Zod 验证实现完整的 TypeScript
  • 错误处理:全面的错误类型和处理
  • 实时日志记录:内置调试和监控系统

🚀 入门

先决条件

  • Node.js >= 16.0.0
  • npm >= 8.0.0

安装

  1. 克隆存储库:
git clone https://github.com/bsmi021/mcp-chain-of-draft-server.git cd mcp-chain-of-draft-server
  1. 安装依赖项:
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

❓ 常见问题解答

Chain of Draft 协议如何运作?

该协议将指导您通过迭代草稿和重点批评来系统地改进您的思维。

我可以自定义批评维度吗?

是的!每个工具都支持根据您的特定需求定制评论重点。

我应该计划多少份草稿?

我们建议大多数任务需要 3-5 个草稿,但您可以根据复杂性进行调整。

🤝 贡献

欢迎大家投稿!请查看我们的投稿指南

👥 社区与支持

  • GitHub 问题 - 报告错误或建议功能
  • 拉取请求 - 提交你的贡献
  • 文档 - 查看我们的详细文档

📝 许可证

MIT 许可证 - 有关详细信息,请参阅LICENSE文件。

🙏 致谢

  • 感谢我们的贡献者和早期采用者
  • 特别感谢 MCP 社区
  • 受到系统推理方法的启发

由 @bsmi021 使用 🧠 制作

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Chain of Draft Server 是一款强大的 AI 驱动工具,它通过系统化、迭代式地完善思路和设计,帮助开发者做出更明智的决策。它与主流 AI 代理无缝集成,并提供了一种结构化的方法来处理推理、API 设计、架构决策、代码编写等工作。

  1. 🌟 Features
    1. Core Capabilities
  2. 🚀 Getting Started
    1. Prerequisites
    2. Installation
    3. Configuration
  3. 💡 Usage Examples
    1. Chain of Draft Protocol
  4. 🛠️ Development
    1. Project Structure
    2. Starting Development Server
  5. ❓ FAQ
    1. How does the Chain of Draft protocol work?
    2. Can I customize the critique dimensions?
    3. How many drafts should I plan for?
  6. 🤝 Contributing
    1. 👥 Community & Support
      1. 📝 License
        1. 🙏 Acknowledgments
          ID: exar7zd4f0