思考
一个简单的MCP插件,返回提供的思维字符串。适用于代理推理、缓存内存,或者当你想在工作流中“大声思考”时。
它做什么
需要一个 thought 参数(字符串),并简单地将其作为结果返回。无副作用,无日志记录,无数据库或网络调用。
阅读更多关于think工具的信息 这篇博客文章.
用法
致电:
{
"plugins": [
{
"name": "think",
"path": "oci://ghcr.io/hyper-mcp-rs/think-plugin:latest"
}
]
}示例
工具调用:
{
"name": "think",
"arguments": { "thought": "I should try a different approach." }
}退货:
"I should try a different approach."Cursor/Windsurf的示例用法
添加新的光标/风帆规则,如下所示
After any context change (viewing new files, running commands, or receiving tool outputs), use the "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.