A Model Context Protocol (MCP) server implementing the think
tool as described by Anthropic. This server provides a dedicated space for an AI agent to perform structured thinking during complex tasks, improving reasoning and decision-making.
This simplified MCP server provides only the think
tool. It allows an AI agent to log its reasoning process without affecting external state or retrieving new information. This implementation is based on the concept outlined in Anthropic's engineering blog post on enhancing agentic tool use. This specific think tool uses the adapted SWE-Bench version.
It is designed for use with Claude Desktop or any MCP-compatible client.
The server provides the following tool:
thought
(required, string): A thought to think about.{
"type": "object",
"properties": {
"thought": {
"type": "string",
"description": "Your thoughts."
}
},
"required": ["thought"]
}
Clone the repository:
git clone https://github.com/monotykamary/think-tool-mcp.git
cd think-tool-mcp
Install dependencies:
npm install
Build the project:
npm run build
Run the server:
node dist/index.js
No environment variables are required for the Think Tool MCP server.
Build the Docker image:
docker build -t think-tool-mcp .
Run the container:
docker run -i --rm think-tool-mcp
To use this MCP server with Claude Desktop, add the following configuration to your Claude Desktop settings:
{
"mcpServers": {
"think-tool": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/monotykamary/think-tool-mcp"
]
}
}
}
With this configuration:
// Example MCP Tool Call
{
"tool_name": "think",
"arguments": {
"thought": "Okay, the user wants to refactor the database schema. First, I need to analyze the current schema (using get_schema tool), then identify potential improvements like normalization or indexing. After that, I'll propose a new schema and ask for confirmation before generating the migration script."
}
}
think
.MIT
{
"mcpServers": {
"think-tool": {
"env": {},
"args": [
"run",
"-i",
"--rm",
"ghcr.io/monotykamary/think-tool-mcp"
],
"command": "docker"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.