DM

dannymac180/mcp-think-tool

部署与 DevOps

本页由 AI 翻译,技术细节请以原文为准。 查看原文

130 stars 19 forks 质量 54 趋势 16MIT

dannymac180/mcp-think-tool 是从 https://github.com/dannymac180/mcp-think-tool. 导入的 MCP 服务器候选

概览

dannymac180/mcp-think-tool 是从 https://github.com/dannymac180/mcp-think-tool. 导入的 MCP 服务器候选

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,实现了“think”工具,以提升 Claude 的复杂推理能力。

概述

该MCP服务器实现了Anthropic博客文章中描述的“think”工具,为Claude在复杂问题解决任务中提供了一个专门的结构化思维空间。研究表明,think工具在需要遵循政策和推理的复杂任务中显著提升性能,尤其是在长时间的工具调用链中。

特色

  • 结构化思维空间:为克劳德提供专门的空间来拆解复杂问题
  • 思维历史:维护所有想法日志并附有时间戳以便参考
  • 统计与分析:提供关于思维模式的元数据
  • 清白选项:允许在重新开始时清除思维历史

安装

从 PyPI 安装:

配置

风帆冲浪

要在 Windsurf 中使用 Claude 使用此工具,请在 MCP 配置文件中添加以下配置:

command 字段应该指向你用 pip 安装 Python 包的目录。

Docker

你可以只用 Dockerfile 安装这个 MCP 服务器

本页由 AI 翻译,技术细节请以原文为准。

README

MCP Think Tool Server

A Model Context Protocol (MCP) server implementing the “think” tool for improving Claude’s complex reasoning capabilities.

Overview

This MCP server implements the “think” tool as described in Anthropic’s blog post, which provides Claude with a dedicated space for structured thinking during complex problem-solving tasks. The think tool has been shown to significantly improve performance in complex tasks requiring policy adherence and reasoning in long chains of tool calls.

Features

  • Structured Thinking Space: Provides Claude with a dedicated place to break down complex problems
  • Thought History: Maintains a log of all thoughts with timestamps for reference
  • Statistics and Analysis: Offers metadata about thinking patterns
  • Clean Slate Option: Allows clearing thought history when starting fresh

Installation

Install from PyPI:

pip install mcp-think-tool

Configuration

Windsurf

To use this tool with Claude in Windsurf, add the following configuration to your MCP config file:

"think": {
    "command": "/home/xxx/.local/bin/mcp-think-tool",
    "args": [],
    "type": "stdio",
    "pollingInterval": 30000,
    "startupTimeout": 30000,
    "restartOnFailure": true
}

The command field should point to the directory where you installed the python package using pip.

Docker

You can install this MCP server with only the Dockerfile

First download the Dockerfile, navigate to its directory, and build the Docker image

docker build -t mcp-think-tool .

Then add the following configuration your MCP config file

"think": {
    "command": "docker",
    "args": ["run", "--rm", "-i", "mcp-think-tool"]
}

This was tested and working with Claude Desktop and Cursor

在 GitHub 查看完整 README

安装

docker run --rm -i mcp-think-tool
新手?先看 mcpskill.org 教程 →