Think Tool MCP Server (Simplified)

by monotykamary

153 downloads
Not rated
GitHub

About

An MCP server implementing Anthropic's think tool

Details

Author
monotykamary
Downloads
153
Categories
Other

- Implements the think tool from Anthropic's agentic tool use.
- Provides structured space for AI agent reasoning.
- Does not affect external state or retrieve new information.
- Designed for Claude Desktop and MCP-compatible clients.
- Simple: only one tool with minimal dependencies.
- Supports both local and Docker deployment.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Think Tool MCP Server (Simplified)
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, run npm install and npm run build, then start with node dist/index.js. Alternatively, use Docker: build the image with docker build -t think-tool-mcp . and run with docker run -i --rm think-tool-mcp. Configure Claude Desktop by adding the provided MCP server settings (using Docker) to your Claude Desktop configuration. Invoke the tool by calling think with a required thought string parameter.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "think tool mcp server (simplified)": {
            "think-tool-mcp-monotykamary": {
                "command": "node",
                "args": [
                    "dist/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "think-tool-mcp-monotykamary": {
        "command": "node",
        "args": [
            "dist/index.js"
        ]
    }
}

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:

1. 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"]
}

Setup

Local Development

1. Clone the repository:

   git clone https://github.com/monotykamary/think-tool-mcp.git
cd think-tool-mcp

2. Install dependencies:

   npm install

3. Build the project:

   npm run build

4. Run the server:

   node dist/index.js

Environment Variables

No environment variables are required for the Think Tool MCP server.

Running with Docker

1. Build the Docker image:

   docker build -t think-tool-mcp .

2. 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:
1. Claude will automatically start the Docker container when needed.
2. The MCP server will be available for logging and reviewing thoughts.
3. 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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.