
think tool mcp
An MCP server implementing Anthropic's think tool
Repository Info
About This Server
An MCP server implementing Anthropic's think tool
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Think Tool MCP Server (Simplified)
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.
Overview
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.
Available Tool
The server provides the following tool:
- think: Use the tool to think about something. It will not obtain new information or make any changes to the repository, but just log the thought. Use it when complex reasoning or brainstorming is needed.
- Parameters:
thought(required, string): A thought to think about.
- Input Schema:
{ "type": "object", "properties": { "thought": { "type": "string", "description": "Your thoughts." } }, "required": ["thought"] }
- Parameters:
Setup
Local Development
-
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
Environment Variables
No environment variables are required for the Think Tool MCP server.
Running with Docker
-
Build the Docker image:
docker build -t think-tool-mcp . -
Run the container:
docker run -i --rm think-tool-mcp
Usage with Claude Desktop
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:
- Claude will automatically start the Docker container when needed.
- The MCP server will be available for logging and reviewing thoughts.
- The container will be removed when Claude Desktop is closed.
Usage Example
Logging a Thought
// 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."
}
}
Troubleshooting
- Server Connection: Ensure the server is running (locally or via Docker) and configured correctly in your MCP client (e.g., Claude Desktop settings).
- Tool Name: Verify you are calling the tool named
think.
License
MIT
Quick Start
Clone the repository
git clone https://github.com/monotykamary/think-tool-mcpInstall dependencies
cd think-tool-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.