Token导航 LogoToken导航TokenDH.com
MCP Thinking Tool logo
运维云端未说明官方级别未说明来源级核验

MCP Thinking Tool

MCP Server

MCP Think Tool是一个通过无操作工具帮助Claude分解复杂问题并增强其推理能力的提示工程技术实现。

工具数

1

提示词数

0

GitHub Stars

1

资源数

0
TypeScriptClaude云端部署Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

piotrpalek

提供方

piotrpalek

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

MCP思维工具

这是Anthropic工程博客文章中描述的“Think Tool”作为MCP服务器的实现。Think Tool是一种简单但有效的快速工程技术,可帮助Claude分解复杂问题并增强其推理能力。

原理

Think Tool非常简单——它提供了一个无操作工具,除了回显输入外什么也不做。神奇之处在于它如何让克劳德:

  1. 退一步思考复杂的问题
  2. 将推理分解为离散的步骤
  3. 更系统地组织思想
  4. 在复杂计算过程中缓存中间结果
  5. 解决问题时展示其工作

正如Anthropic所描述的那样,这是一种“快速工程技巧”,他们使用标准的工具调用机制来定义一个名为“think”的工具,该工具“什么都不做”——没有实现——它只是允许模型使用其现有的训练,即何时使用工具停止并将额外的想法转储到上下文中。

实现细节

MCP服务器公开了一个工具:

  1. think -将想法作为输入并返回

工具定义:

{
  "name": "think",
  "description": "Use the tool to think about something. It will not obtain new information or change the database, but just append the thought to the log. Use it when complex reasoning or some cache memory is needed.",
  "input_schema": {
    "type": "object",
    "properties": {
      "thought": {
        "type": "string",
        "description": "A thought to think about."
      }
    },
    "required": ["thought"]
  }
}

用法

设置

  1. 克隆此存储库
  2. npm install 安装依赖项
  3. npm run build 编译TypeScript
  4. npm start 启动MCP服务器

连接到克劳德桌面

将此服务器添加到您的Claude Desktop配置文件中:

{
  "mcpServers": {
    "think-tool": {
      "command": "node",
      "args": ["/path/to/mcp-think-tool/build/index.js"]
    }
  }
}

添加此提示以教LLM如何使用think工具:

## Using 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

Here are some examples of what to iterate over inside the think tool:

User wants to cancel flight ABC123
- Need to verify: user ID, reservation ID, reason
- Check cancellation rules:
  * Is it within 24h of booking?
  * If not, check ticket class and insurance
- Verify no segments flown or are in the past
- Plan: collect missing info, verify rules, get confirmation

User wants to book 3 tickets to NYC with 2 checked bags each
- Need user ID to check:
  * Membership tier for baggage allowance
  * Which payments methods exist in profile
- Baggage calculation:
  * Economy class × 3 passengers
  * If regular member: 1 free bag each → 3 extra bags = $150
  * If silver member: 2 free bags each → 0 extra bags = $0
  * If gold member: 3 free bags each → 0 extra bags = $0
- Payment rules to verify:
  * Max 1 travel certificate, 1 credit card, 3 gift cards
  * All payment methods must be in profile
  * Travel certificate remainder goes to waste
- Plan:
1. Get user ID
2. Verify membership level for bag fees
3. Check which payment methods in profile and if their combination is allowed
4. Calculate total: ticket price + any bag fees
5. Get explicit confirmation for booking

替换 /path/to/mcp-think-tool 以及此存储库的实际路径。

例子

Claude可能会使用Think Tool来解决以下问题:

Solving 235 × 47:

Think: First I'll break this down. I need to multiply 235 by 47.
Think: I'll start by calculating 235 × 40 = 9,400
Think: Then I'll calculate 235 × 7 = 1,645
Think: Now I add them together: 9,400 + 1,645 = 11,045

Therefore, 235 × 47 = 11,045

或者对于更复杂的推理任务:

Think: I need to analyze the given problem carefully. The question asks about the impact of reducing carbon emissions by 15% over 5 years.
Think: First, I should establish the baseline emissions. The document mentions current annual emissions of 50 million metric tons.
Think: 15% reduction over 5 years means approximately 3% reduction per year, assuming linear decrease.
Think: After 5 years, annual emissions would be 50 × (1 - 0.15) = 50 × 0.85 = 42.5 million metric tons.
Think: The total reduction over 5 years would be the sum of the reductions each year...

发展

  • src/index.ts -MCP服务器实现

许可证

国际协调委员会

目录标签

目录标签

TypeScriptClaude云端部署提示工程本地部署推理增强思维分解AI工具MCP服务

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

1

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP