Skip to main content
Glama
MCP Think Tool Server

MCP Think Tool Server

by cgize

MCP 思考工具服务器

模型上下文协议 (MCP) 服务器实现了“思考”工具,用于提高 Claude 的复杂推理能力。

概述

该 MCP 服务器实现了 Anthropic 的“思考”工具,该工具为 Claude 提供了一个专用的空间,用于在复杂的问题解决任务中进行结构化思考。正如Anthropic 的博客文章所述,该思考工具已被证明能够显著提升在需要遵循策略并在长链工具调用中进行推理的复杂任务中的表现。

Related MCP server: Think Tool MCP Server

自定义指令

向 Claude 中添加这些自定义指令,以优化其对思考工具的使用:

You have access to a "think" tool that provides a dedicated space for structured reasoning. Using this tool significantly improves your performance on complex tasks. 

## When to use the think tool 
Before taking any action or responding to the user after receiving tool results, use the think tool as a scratchpad to: 
- List the specific rules that apply to the current request 
- Check if all required information is collected 
- Verify that the planned action complies with all policies 
- Iterate over tool results for correctness 
- Analyze complex information from web searches or other tools 
- Plan multi-step approaches before executing them 

## How to use the think tool effectively 
When using the think tool: 
1. Break down complex problems into clearly defined steps 
2. Identify key facts, constraints, and requirements 
3. Check for gaps in information and plan how to fill them 
4. Evaluate multiple approaches before choosing one 
5. Verify your reasoning for logical errors or biases

关键用例

  • 复杂的工具链:当 Claude 需要调用复杂的工具并仔细分析输出时

  • 遵守政策:通过详细的指导方针在政策繁重的环境中导航

  • 顺序决策:每一步都建立在前一步的基础上,错误代价高昂

  • 多步骤分析:将复杂问题分解为可管理的步骤

安装

npm install -g @cgize/mcp-think-tool

配置

将此配置添加到您的 MCP 配置文件中:

{
  "mcpServers": {
    "think-tool": {
      "command": "npx",
      "args": [
        "-y",
        "@cgize/mcp-think-tool"
      ],
      "type": "stdio",
      "pollingInterval": 30000,
      "startupTimeout": 30000,
      "restartOnFailure": true
    }
  }
}

配置文件位置:

  • C:\Users\[username]\AppData\Roaming\Claude\claude_desktop_config.json

如果全局安装,您还可以使用:

{
  "mcpServers": {
    "think-tool": {
      "command": "claude-mcp-think-tool",
      "args": [],
      "type": "stdio",
      "pollingInterval": 30000,
      "startupTimeout": 30000,
      "restartOnFailure": true
    }
  }
}

可用工具

  • 思考:记录解决问题过程中的结构化推理

  • get_thoughts :检索所有记录的想法

  • clear_thoughts :重置思考过程

  • get_thought_stats :分析思维模式

示例提示

Using the think tool, solve this multi-step problem:

A train travels at a constant speed of 60 km/h. It departs from station A at 9:00 AM and arrives at station B at 11:30 AM. What is the distance between stations A and B?

执照

麻省理工学院

Available Tools

4 tools
clear_thoughtsA

Clear all thoughts recorded in the current session. Use this to start fresh if the thinking process needs to be reset.

Inputs: no named parameters.

get_thoughtsB

Retrieve all thoughts recorded in the current session to review your reasoning process.

Inputs: no named parameters.

get_thought_statsB

Get statistics about the thoughts recorded in the current session to analyze your thinking process.

Inputs: no named parameters.

thinkA

Use this tool to think about something. It will not obtain new information or change anything, but just append the thought to the log. Use it when complex reasoning or cache memory is needed, especially during long chains of tool calls, policy adherence scenarios, or sequential decision making.

Inputs: thought (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: clear_thoughts resets the session, get_thoughts retrieves thoughts, get_thought_stats provides analytics, and think adds new thoughts. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern (clear_thoughts, get_thoughts, get_thought_stats, think), with 'think' being a slight exception but still fitting as a verb. The naming is predictable and readable throughout the set.

    Tool Count5/5

    With 4 tools, the server is well-scoped for its purpose of managing a thinking process. Each tool earns its place by covering essential operations: adding, retrieving, analyzing, and clearing thoughts, without being overly sparse or bloated.

    Completeness5/5

    The tool set provides complete lifecycle coverage for the domain of thought management: create (think), read (get_thoughts), analyze (get_thought_stats), and delete (clear_thoughts). There are no obvious gaps, and agents can perform all necessary operations without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that implements the 'think' tool, providing Claude with a dedicated space for structured thinking during complex problem-solving tasks to improve reasoning capabilities.
      130
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Official implementation of Anthropic's 'think' tool that provides Claude with a dedicated space for structured reasoning, improving performance by up to 54% on complex tasks requiring multi-step problem solving.
      1
      125
      ISC
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server implementation of Anthropic's Think Tool prompt engineering technique that enables Claude to break down complex problems and enhance its reasoning capabilities by providing a simple tool that echoes back thoughts.
      1
      2
      ISC