MCP-Think is a Model Context Protocol (MCP) server that implements a "[Think Tool](https://www.anthropic.com/engineering/claude-think-tool)" for LLMs. This tool allows LLMs to record and retrieve their thinking processes during reasoning.
YOLO
Features
Think Tool: Record thoughts and reasoning steps
Get Thoughts: Retrieve all previously recorded thoughts
Clear Thoughts: Clear all recorded thoughts
Get Thought Stats: Get statistics about recorded thoughts
Installation
There are several ways to install and run MCP-Think:
Installing via Smithery
To install mcp-think for Claude Desktop automatically via Smithery:
1. Pre-built Binaries (Recommended for Standalone Use)
Ready-to-use binaries for Linux, Windows, and macOS (amd64 & arm64) are automatically built and attached to each GitHub Release. This is the easiest way to get started if you don't need to modify the code.
The script automatically detects your OS and architecture, downloads the appropriate binary, and guides you through installation.
#### Manual Installation (incl. Windows):
1. Go to the [Releases page](https://github.com/iamwavecut/MCP-Think/releases).
2. Download the appropriate binary for your system (e.g., `think-tool-linux-amd64`, `think-tool-windows-amd64.exe`, `think-tool-darwin-arm64`).
3. (Optional) Rename it: `mv think-tool-linux-amd64 think-tool`
4. Make it executable (Linux/macOS): `chmod +x think-tool`
5. Run it: `./think-tool` (See Usage section)
2. Using `go install` (Requires Go)
This command compiles and installs the binary into your Go bin directory ($GOPATH/bin or $HOME/go/bin).
Note: Ensure your Go bin directory is in your system's PATH. You might need to add export PATH=$PATH:$(go env GOPATH)/bin or export PATH=$PATH:$HOME/go/bin to your shell profile (~/.bashrc, ~/.zshrc, etc.).
Run the installed binary: MCP-Think
3. Using `go run` (Quick Testing, Requires Go)
This command compiles and runs the main package directly from the source code without installing a binary. It's useful for quick tests.
This downloads the module and its dependencies temporarily if needed.
Requirements
Go 1.24 or higher (if building from source or using go install/go run)
Usage
Running the Standalone Server
If you installed via Pre-built Binary or `go install`:
If you are using `go run`:
The server will print Starting Think Tool MCP Server with stdio transport... and wait for MCP requests on stdin.
Setting up in Cursor
To use MCP-Think with Cursor, follow these steps:
Install MCP-Think using one of the installation methods above
Create or update your Cursor MCP configuration file at ~/.cursor/mcp.json:
Cursor MCP should be initialized
Add the following rule to your Cursor rules:
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:
Verify no segments flown or are in the past
Plan: collect missing info, verify rules, get confirmation
</think_tool_example_1>
MCP-Think is a Model Context Protocol (MCP) server that implements a "[Think Tool](https://www.anthropic.com/engineering/claude-think-tool)" for LLMs. This tool allows LLMs to record and retrieve their thinking processes during reasoning.
YOLO
Features
Think Tool: Record thoughts and reasoning steps
Get Thoughts: Retrieve all previously recorded thoughts
Clear Thoughts: Clear all recorded thoughts
Get Thought Stats: Get statistics about recorded thoughts
Installation
There are several ways to install and run MCP-Think:
Installing via Smithery
To install mcp-think for Claude Desktop automatically via Smithery:
1. Pre-built Binaries (Recommended for Standalone Use)
Ready-to-use binaries for Linux, Windows, and macOS (amd64 & arm64) are automatically built and attached to each GitHub Release. This is the easiest way to get started if you don't need to modify the code.
The script automatically detects your OS and architecture, downloads the appropriate binary, and guides you through installation.
#### Manual Installation (incl. Windows):
1. Go to the [Releases page](https://github.com/iamwavecut/MCP-Think/releases).
2. Download the appropriate binary for your system (e.g., `think-tool-linux-amd64`, `think-tool-windows-amd64.exe`, `think-tool-darwin-arm64`).
3. (Optional) Rename it: `mv think-tool-linux-amd64 think-tool`
4. Make it executable (Linux/macOS): `chmod +x think-tool`
5. Run it: `./think-tool` (See Usage section)
2. Using `go install` (Requires Go)
This command compiles and installs the binary into your Go bin directory ($GOPATH/bin or $HOME/go/bin).
Note: Ensure your Go bin directory is in your system's PATH. You might need to add export PATH=$PATH:$(go env GOPATH)/bin or export PATH=$PATH:$HOME/go/bin to your shell profile (~/.bashrc, ~/.zshrc, etc.).
Run the installed binary: MCP-Think
3. Using `go run` (Quick Testing, Requires Go)
This command compiles and runs the main package directly from the source code without installing a binary. It's useful for quick tests.
This downloads the module and its dependencies temporarily if needed.
Requirements
Go 1.24 or higher (if building from source or using go install/go run)
Usage
Running the Standalone Server
If you installed via Pre-built Binary or `go install`:
If you are using `go run`:
The server will print Starting Think Tool MCP Server with stdio transport... and wait for MCP requests on stdin.
Setting up in Cursor
To use MCP-Think with Cursor, follow these steps:
Install MCP-Think using one of the installation methods above
Create or update your Cursor MCP configuration file at ~/.cursor/mcp.json:
Cursor MCP should be initialized
Add the following rule to your Cursor rules:
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:
Verify no segments flown or are in the past
Plan: collect missing info, verify rules, get confirmation
</think_tool_example_1>