Sequential Thinking Recall

Sequential Thinking Recall

🚀 逐步思考 MCP 服务器

本项目是一个逐步思考 MCP 服务器,支持在多个步骤中逐步推理问题,能自动记录每次迭代的详细历史,还具备过滤不相关信息等特性,并且便于与其他工具和服务集成。

✨ 主要特性

  1. 逐步推理:在多个步骤中逐步推理问题,支持在每个步骤中添加新的上下文和信息。
  2. 版本控制:自动记录每次迭代的详细历史,允许回溯和修正。
  3. 过滤功能:能够识别并丢弃不相关信息,专注于核心问题。
  4. 可扩展性:便于与其他工具和服务(如 API 或数据库)集成。

📦 安装指南

  1. 克隆仓库:
    git clone https://github.com/yourusername/sequential-thinking-recall.git
    cd sequential-thinking-recall
    
  2. 安装依赖:
    npm install
    

💻 使用示例

服务器启动

npm run build
npm run start

开发模式

npm run dev

配置环境变量

config.json 中配置以下参数:

  • RECALL_PRIVATE_KEY:您的私钥(带或不带 "0x" 前缀)
  • RECALL_NETWORK:网络环境,可选值为 testnetmainnet
  • RECALL_BUCKET_ALIAS:存储桶别名,默认为 sequential-thinking-logs
  • RECALL_LOG_PREFIX:日志前缀,默认为 sequential-

📚 详细文档

集成到 Cursor

  1. 构建项目:
    npm run build
    
  2. 打开 Cursor,进入设置 > MCP 服务器。
  3. 点击 "添加服务器",配置如下:
    • 名称Sequential Thinking MCP
    • 类型command
    • 命令node
    • 参数/path/to/sequential-thinking-recall/dist/index.js
    • 环境变量
      • RECALL_PRIVATE_KEY:您的私钥
      • RECALL_NETWORKtestnet
      • RECALL_BUCKET_ALIASsequential-thinking-logs
      • RECALL_LOG_PREFIXsequential-

集成到 Claude Desktop

  1. 构建项目:

    npm run build
    
  2. 找到配置文件路径:

    • macOS~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows:%APPDATA%\Claude\claude_desktop_config.json%
    • Linux~/.config/Claude/claude_desktop_config.json
  3. 编辑 claude_desktop_config.json 文件,添加以下内容:

    {
    "mcpServers": {
    "sequential-thinking-mcp": {
    "command": "node",
    "args": [
    "/path/to/sequential-thinking-recall/dist/index.js"
    ],
    "env": {
    "RECALL_PRIVATE_KEY": "您的私钥",
    "RECALL_NETWORK": "testnet",
    "RECALL_BUCKET_ALIAS": "sequential-thinking-logs",
    "RECALL_LOG_PREFIX": "sequential-"
    }
    }
    }
    }
    
  4. 替换 /path/to/sequential-thinking-recall/dist/index.js 为实际路径。

📄 许可证

此 MCP 服务器根据 MIT 许可证分发。这意味着您可以自由使用、修改和分发软件,但需遵守 MIT 许可证的条款和条件。有关详细信息,请参阅项目仓库中的 LICENSE 文件。

⚠️ 重要提示

在开发过程中,请使用 console.error() 而不是 console.log() 进行调试和日志记录。Claude Desktop 应用通过 stdout 与服务器通信,任何 console.log() 语句都会干扰此通信并导致 JSON 解析错误。

  • 0 关注
  • 0 收藏,32 浏览
  • system 提出于 2025-09-20 01:06

相似服务问题

相关AI产品