本项目是一个逐步思考 MCP 服务器,支持在多个步骤中逐步推理问题,能自动记录每次迭代的详细历史,还具备过滤不相关信息等特性,并且便于与其他工具和服务集成。
git clone https://github.com/yourusername/sequential-thinking-recall.git
cd sequential-thinking-recall
npm install
npm run build
npm run start
npm run dev
在 config.json 中配置以下参数:
testnet 或 mainnetsequential-thinking-logssequential-npm run build
Sequential Thinking MCPcommandnode/path/to/sequential-thinking-recall/dist/index.jsRECALL_PRIVATE_KEY:您的私钥RECALL_NETWORK:testnetRECALL_BUCKET_ALIAS:sequential-thinking-logsRECALL_LOG_PREFIX:sequential-构建项目:
npm run build
找到配置文件路径:
~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.json编辑 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-"
}
}
}
}
替换 /path/to/sequential-thinking-recall/dist/index.js 为实际路径。
此 MCP 服务器根据 MIT 许可证分发。这意味着您可以自由使用、修改和分发软件,但需遵守 MIT 许可证的条款和条件。有关详细信息,请参阅项目仓库中的 LICENSE 文件。
⚠️ 重要提示
在开发过程中,请使用
console.error()而不是console.log()进行调试和日志记录。Claude Desktop 应用通过 stdout 与服务器通信,任何console.log()语句都会干扰此通信并导致 JSON 解析错误。