Anthropic思考工具
STDIO基于MCP的深度思考工具实现
基于MCP的深度思考工具实现
An implementation of Anthropic's "think" tool using the Model Context Protocol (MCP). This tool uses OpenAI's o3-mini model to provide deep thinking capabilities through a standardized MCP interface.
pip install -r requirements.txt
Create or edit the .env
file in the root directory with:
OPENAI_API_KEY=your_api_key_here
Configure Claude Desktop to use the MCP server:
Open your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: C:\Users\YourUsername\AppData\Roaming\Claude\claude_desktop_config.json
Add the following configuration:
{ "mcpServers": { "think": { "command": "/full/path/to/python", "args": [ "/full/path/to/main.py" ] } } }
Be sure to replace the paths with the actual locations on your system.
Restart Claude Desktop