Think Tool MCP Server

by PhillipRt
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Think Tool MCP 服务器

将 Anthropic 的“思考”工具正式实现为 MCP 服务器- 通过结构化思维显著提高 Claude 的推理能力。

什么是思考工具?

这款 MCP 服务器实现了 Anthropic 在其工程博客文章中介绍的“思考”工具。“思考”工具为 Claude 提供了一个专用的空间,用于在复杂的问题解决任务中进行结构化推理,从而实现更周到、更准确、更可靠的响应。

经过验证的性能优势

Anthropic 的研究表明,使用“思考”工具可以获得显著的改进:

  • 复杂客户服务任务改进了 54%
  • 显著更好地遵守详细的政策和指导方针
  • 增强同一任务多次试验的一致性
  • 提高软件工程基准测试的性能
  • 与其他增强技术相比,实施开销最小

“思考”工具在其他方法不足的地方表现出色:

  • 对于需要复杂工具链的情况**,比扩展思考更好**
  • 对于政策密集型场景,比基线提示更有效
  • 与优化提示配合使用时尤其有效

快速安装

对于克劳德桌面

npx -y @smithery/cli@latest install @PhillipRt/think-mcp-server --client claude --config "{}"

对于光标

npx -y @smithery/cli@latest install @PhillipRt/think-mcp-server --client cursor --config "{}"

工作原理

“思考”工具实现了 Anthropic 工程博客中描述的精确机制。与扩展思考(在 Claude 开始响应之前进行)不同,“思考”工具允许 Claude 在响应生成过程中暂停并进行反思。

**关键机制:**该工具不执行任何外部操作或检索新信息 - 它只是为Claude提供了一个专用的便笺簿,以便逐步进行推理,从而大大提高了复杂任务的性能。

当克劳德使用“思考”工具时:

  1. **会停下来组织思路,**然后再继续复杂的推理链
  2. 创建了一种解决多步骤问题的结构化方法
  3. 它更彻底、更一致地验证策略合规性
  4. 在决定下一步之前,它会仔细分析工具的输出
  5. 它在长时间交互中保持更好的情境感知

何时使用思考工具

在以下情况下,“思考”工具尤其有价值:

  1. 与其他 MCP 工具配合使用- 非常适合分析数据库、文件系统或 API 的输出
  2. 遵循复杂的政策- 非常适合客户服务、法律或合规场景
  3. 制定连续决策- 非常适合后续步骤依赖于先前步骤的工作流程
  4. 处理网络搜索结果- 帮助 Claude 综合来自多个来源的信息
  5. 解决编码挑战——提高软件工程任务的成功率

系统提示以获得最佳结果

Anthropic 的研究表明,将“思考”工具与优化的提示相结合,可以带来最显著的性能提升。为了获得最佳效果,请在您的 Claude 交互中添加以下优化的系统提示:

适用于 Claude Desktop(自定义说明)

  1. 前往“设置”>“自定义说明”
  2. 添加以下系统提示:
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 Remember that using the think tool has been shown to improve your performance by up to 54% on complex tasks, especially when working with multiple tools or following detailed policies.

对于光标(全局规则)

要将思考工具添加为光标规则:

  1. 打开游标设置
  2. 导航至“常规”>“AI 规则”
  3. 添加一条新规则,内容如下:
After any context change (viewing new files, running commands, or receiving tool outputs), use the "mcp_think" tool to organize your reasoning before responding. Specifically, always use the think tool when: - After examining file contents or project structure - After running terminal commands or analyzing their outputs - After receiving search results or API responses - Before making code suggestions or explaining complex concepts - When transitioning between different parts of a task When using the think tool: - List the specific rules or constraints that apply to the current task - Check if all required information is collected - Verify that your planned approach is correct - Break down complex problems into clearly defined steps - Analyze outputs from other tools thoroughly - Plan multi-step approaches before executing them The think tool has been proven to improve performance by up to 54% on complex tasks, especially when working with multiple tools or following detailed policies.

手动安装

如果您希望在本地运行服务器:

  1. 克隆存储库
    git clone https://github.com/PhillipRt/think-mcp-server.git cd think-mcp-server
  2. 安装依赖项
    npm install
  3. 构建并运行
    npm run build npm start
  4. 手动配置 Claude Desktop
    • 查找或创建配置文件:
      • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
      • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • 添加您的服务器配置:
    { "mcpServers": { "think-tool": { "command": "node", "args": ["path/to/think-mcp-server/dist/server.js"] } } }

执照

MIT 许可证

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Tools

Anthropic 的“思考”工具的正式实施,为 Claude 提供了一个专门的结构化推理空间,在需要多步骤解决问题的复杂任务上将性能提高了 54%。

  1. What is the Think Tool?
    1. Proven Performance Benefits
      1. Quick Install
        1. For Claude Desktop
        2. For Cursor
      2. How It Works
        1. When to Use the Think Tool
      3. System Prompt for Optimal Results
        1. For Claude Desktop (Custom Instructions)
        2. For Cursor (Global Rules)
      4. Manual Installation
        1. License
          ID: ykr1kw1a89