Skip to main content
Glama

Chain of Draft Thinking

by bsmi021

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 使用 🧠 制作

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

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

  1. 🌟 功能
    1. 核心能力
  2. 🚀 入门
    1. 先决条件
    2. 安装
    3. 配置
  3. 💡 使用示例
    1. 草案协议链
  4. 🛠️ 开发
    1. 项目结构
    2. 启动开发服务器
  5. ❓ 常见问题解答
    1. Chain of Draft 协议如何运作?
    2. 我可以自定义批评维度吗?
    3. 我应该计划多少份草稿?
  6. 🤝 贡献
    1. 👥 社区与支持
      1. 📝 许可证
        1. 🙏 致谢

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            Server that enhances the capabilities of the Cline coding agent. It provides intelligent code suggestions, reduces hallucinations, and documents the knowledge base by leveraging your project's documentation and detecting the technologies used in your codebase.
            Last updated -
            12
            JavaScript
          • A
            security
            F
            license
            A
            quality
            Implements the Chain of Draft reasoning approach to generate minimalistic intermediate reasoning outputs while solving tasks, significantly reducing token usage while maintaining accuracy.
            Last updated -
            7
            11
            Python
            • Apple
          • A
            security
            A
            license
            A
            quality
            A server based on Model Context Protocol that provides predefined prompt templates for tasks like code review and API documentation generation, enabling more efficient workflows in Cursor/Windsurf editors.
            Last updated -
            10
            2
            197
            JavaScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that manages character knowledge and relationships for creative writing projects, offering semantic search and AI-powered analysis.
            Last updated -
            Python
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/bsmi021/mcp-chain-of-draft-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server