返回 MCP 目录
public公开dns本地运行

MCP思考工具

一个实现'think'工具的MCP服务器,为克劳德提供了一个专门的空间,以便在解决复杂问题时进行结构化思考,从而提高推理能力。

article

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

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端