
Think Tool
iamwavecut
README
MCP-Think
MCP-Think 是一个模型上下文协议 (MCP) 服务器,它为 LLM 实现了 "Think Tool"。此工具允许 LLM 记录和检索其在推理过程中的思考过程。
YOLO
curl -fsSL https://raw.githubusercontent.com/iamwavecut/MCP-Think/main/install.sh | bash
特性
- Think Tool: 记录想法和推理步骤
- Get Thoughts: 检索所有先前记录的想法
- Clear Thoughts: 清除所有记录的想法
- Get Thought Stats: 获取有关记录的想法的统计信息
安装
有几种方法可以安装和运行 MCP-Think:
通过 Smithery 安装
要通过 Smithery 为 Claude Desktop 自动安装 mcp-think:
npx -y @smithery/cli install @iamwavecut/mcp-think --client claude
1. 预构建的二进制文件(推荐用于独立使用)
适用于 Linux、Windows 和 macOS(amd64 和 arm64)的即用型二进制文件会自动构建并附加到每个 GitHub Release。 如果您不需要修改代码,这是最简单的入门方法。
-
macOS/Linux 自动安装脚本:(参见 YOLO)
该脚本会自动检测您的操作系统和架构,下载相应的二进制文件,并指导您完成安装。
-
手动安装(包括 Windows):
- 转到 Releases 页面。
- 下载适合您系统的二进制文件(例如,
think-tool-linux-amd64
、think-tool-windows-amd64.exe
、think-tool-darwin-arm64
)。 - (可选)重命名它:
mv think-tool-linux-amd64 think-tool
- 使其可执行(Linux/macOS):
chmod +x think-tool
- 运行它:
./think-tool
(参见用法部分)
2. 使用 go install
(需要 Go)
此命令编译并将二进制文件安装到您的 Go bin 目录($GOPATH/bin
或 $HOME/go/bin
)。
go install github.com/iamwavecut/MCP-Think@latest
- 注意: 确保您的 Go bin 目录位于系统的
PATH
中。 您可能需要将export PATH=$PATH:$(go env GOPATH)/bin
或export PATH=$PATH:$HOME/go/bin
添加到您的 shell 配置文件(~/.bashrc
、~/.zshrc
等)。 - 运行已安装的二进制文件:
MCP-Think
3. 使用 go run
(快速测试,需要 Go)
此命令直接从源代码编译并运行 main
包,而无需安装二进制文件。 它对于快速测试很有用。
go run github.com/iamwavecut/MCP-Think@latest
- 如果需要,这将临时下载模块及其依赖项。
要求
- Go 1.24 或更高版本(如果从源代码构建或使用
go install
/go run
)
用法
运行独立服务器
如果您通过预构建的二进制文件或 go install
安装:
# 如果使用当前目录中的预构建二进制文件:
./think-tool
# 如果通过 'go install' 或安装脚本安装到 /usr/local/bin:
think-tool
如果您正在使用 go run
:
go run github.com/iamwavecut/MCP-Think@latest
服务器将打印 Starting Think Tool MCP Server with stdio transport...
并等待 stdin 上的 MCP 请求。
在 Cursor 中设置
要将 MCP-Think 与 Cursor 结合使用,请按照以下步骤操作:
- 使用上述安装方法之一安装 MCP-Think
- 在
~/.cursor/mcp.json
创建或更新您的 Cursor MCP 配置文件:
{
"mcpServers": {
"think-tool": {
"command": "think-tool", // 或绝对路径,例如:/opt/bin/think-tool
"transport": "stdio"
}
}
}
- 将以下规则添加到您的 Cursor 规则: <details> <summary>Cursor settings > Rules > User rules</summary> <pre>
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: <think_tool_example_1> 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 </think_tool_example_1>
<think_tool_example_2> 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 → 1 extra bag = $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:
- Get user ID
- Verify membership level for bag fees
- Check which payment methods in profile and if their combination is allowed
- Calculate total: ticket price + any bag fees
- Get explicit confirmation for booking </think_tool_example_2> </pre> </details>
- Cursor 现在可以在您的 Cursor 对话中使用 Claude 3.7 Sonnet 中的 Think Tool
推荐服务器
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
MCP Package Docs Server
促进大型语言模型高效访问和获取 Go、Python 和 NPM 包的结构化文档,通过多语言支持和性能优化来增强软件开发。
Claude Code MCP
一个实现了 Claude Code 作为模型上下文协议(Model Context Protocol, MCP)服务器的方案,它可以通过标准化的 MCP 接口来使用 Claude 的软件工程能力(代码生成、编辑、审查和文件操作)。
@kazuph/mcp-taskmanager
用于任务管理的模型上下文协议服务器。它允许 Claude Desktop(或任何 MCP 客户端)在基于队列的系统中管理和执行任务。
mermaid-mcp-server
一个模型上下文协议 (MCP) 服务器,用于将 Mermaid 图表转换为 PNG 图像。
Jira-Context-MCP
MCP 服务器向 AI 编码助手(如 Cursor)提供 Jira 工单信息。

Linear MCP Server
一个模型上下文协议(Model Context Protocol)服务器,它与 Linear 的问题跟踪系统集成,允许大型语言模型(LLM)通过自然语言交互来创建、更新、搜索和评论 Linear 问题。

Sequential Thinking MCP Server
这个服务器通过将复杂问题分解为顺序步骤来促进结构化的问题解决,支持修订,并通过完整的 MCP 集成来实现多条解决方案路径。
Curri MCP Server
通过管理文本笔记、提供笔记创建工具以及使用结构化提示生成摘要,从而实现与 Curri API 的交互。