一个实现“思维”工具以提升Claude复杂推理能力的模型上下文协议(MCP)服务器。
此MCP服务器实现了Anthropic在其博客文章中描述的“思维”工具,为Claude在解决复杂问题时提供了一个专门的结构化思考空间。“思维”工具已被证明可以显著提高需要遵守策略并在长时间的工具调用链中进行推理的复杂任务的表现。
从PyPI安装:
pip install mcp-think-tool
要在Windsurf中使用此工具与Claude一起工作,请在您的MCP配置文件中添加以下配置:
"think": {
"command": "/home/xxx/.local/bin/mcp-think-tool",
"args": [],
"type": "stdio",
"pollingInterval": 30000,
"startupTimeout": 30000,
"restartOnFailure": true
}
command字段应指向您使用pip安装Python包的目录。
您可以仅使用Dockerfile安装此MCP服务器。
首先下载Dockerfile,导航到其目录并构建Docker镜像
docker build -t mcp-think-tool .
然后在您的MCP配置文件中添加以下配置
"think": {
"command": "docker",
"args": ["run", "--rm", "-i", "mcp-think-tool"]
}
这已在Claude Desktop和Cursor上测试并正常工作。