Logo van Think Tool

Think Tool

Community
abhinav-mangla

MCP Think Tool Server

Uitgeverabhinav-mangla
Repositorythink-tool-mcp
TaalTypeScript
Forks
3
Sterren
16
Beschikbare tools
1
Transporttypestdio, streamable-http
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Think Tool biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 1 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    16 sterren en 3 forks in de gekoppelde repository.

MCP Think Tool Server

npm version license TypeScript MCP

A Model Context Protocol (MCP) server that implements the "think" tool for enhancing complex reasoning capabilities in Large Language Models (LLMs). This tool provides LLMs with a dedicated space for structured thinking during problem-solving tasks, significantly improving performance in complex scenarios requiring policy adherence and multi-step reasoning.

🧠 Overview

The Think Tool MCP server is based on Anthropic's research demonstrating that providing LLMs with a dedicated "thinking space" dramatically improves performance on complex tasks. This tool allows any compatible LLM (Claude, GPT-4, and others) to:

  • Break down complex problems into manageable steps
  • Perform structured reasoning and analysis
  • Verify policy compliance during decision-making
  • Process and synthesize information from multiple tool calls
  • Maintain context and logical flow in long reasoning chains

As described in Anthropic's blog post, the think tool has shown significant improvements in tasks requiring complex reasoning and policy adherence across different language models.

✨ Features

  • 🔧 Structured Thinking Space: Provides LLMs with a dedicated environment for complex reasoning
  • 📝 Memory Aid: Helps maintain context during long chains of tool calls
  • 🎯 Policy Verification: Enables careful policy adherence checking
  • 🔍 Problem Decomposition: Supports breaking down complex problems into steps
  • ⚡ Lightweight: Minimal overhead with efficient MCP implementation
  • 🔌 Easy Integration: Simple setup with popular AI platforms (Cursor, Claude Desktop, etc.)
  • 🛠️ TypeScript: Built with TypeScript for type safety and better development experience
  • 🌐 Universal Compatibility: Works with any LLM that supports the Model Context Protocol

🚀 Platform Configuration

Cursor IDE

Requirements: Cursor version 0.45.6 or higher

  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Navigate to Features → MCP Servers
  3. Click "+ Add New MCP Server"
  4. Configure the server:
    • Name: think-tool-mcp (or your preferred name)
    • Type: command
    • Command: npx -y think-tool-mcp
  5. Save and restart Cursor

Claude Desktop

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "think-tool": {
      "command": "npx",
      "args": ["-y", "think-tool-mcp"]
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Other MCP-Compatible Platforms

This server works with any platform supporting the Model Context Protocol. Refer to your platform's documentation for MCP server configuration.

📊 Performance Analysis

Extensive research by Anthropic has demonstrated significant performance improvements when LLMs use the think tool. The following results showcase the measurable impact across different benchmarks and use cases.

τ-Bench (Tau-Bench) Results

τ-Bench is a comprehensive benchmark designed to test LLM tool usage in realistic customer service scenarios. It evaluates the ability to navigate complex conversations, follow detailed policy guidelines, and maintain consistency across multiple task trials.

Airline Domain Performance

The airline domain represents a complex policy-heavy environment where precise adherence to detailed rules is critical.

Configurationk=1k=2k=3k=4k=5
Think + Optimized Prompt0.5840.4440.3840.3560.340
Think Tool Alone0.4040.2540.1860.1400.100
Extended Thinking0.4120.2900.2320.1920.160
Baseline (No Think Tool)0.3320.2060.1480.1160.100

Key Findings:

  • 54% relative improvement in pass^1 metric (0.584 vs 0.370 baseline)
  • Optimized prompting with examples dramatically enhanced performance
  • Improvements maintained across all trial consistency levels (k=1 to k=5)

Retail Domain Performance

The retail domain has simpler policies, allowing the think tool to show benefits even without extensive prompting.

Configurationk=1k=2k=3k=4k=5
Think Tool (No Prompt)0.8120.7350.6850.6500.626
Extended Thinking0.7700.6810.6230.5810.548
Baseline0.7830.6950.6430.6070.583

Key Findings:

  • 3.7% improvement in pass^1 metric without additional prompting
  • Demonstrates effectiveness across varying complexity levels
  • Consistent performance gains maintained across multiple trials

SWE-Bench Results

SWE-Bench evaluates coding performance on real-world software engineering tasks. The think tool contributed to Claude 3.7 Sonnet achieving state-of-the-art performance.

Performance Impact:

  • Baseline Score: 62.3% (without think tool)
  • With Think Tool: 64.9% (estimated based on 1.6% improvement)
  • Statistical Significance: Welch's t-test: t(38.89) = 6.71, p < .001, d = 1.47
  • Sample Size: 30 samples with think tool, 144 samples without

Performance Insights

When Think Tool Excels

  1. Policy-Heavy Environments: Up to 54% improvement when complex rule adherence is required
  2. Sequential Decision Making: Significant gains when each action builds on previous ones
  3. Tool Output Analysis: Enhanced performance when processing results from multiple tool calls
  4. Complex Domain Navigation: Greater benefits in challenging domains (airline vs. retail)

Optimization Factors

  1. Domain-Specific Prompting: Examples tailored to specific use cases dramatically improve effectiveness
  2. Complexity Correlation: More complex domains benefit more from structured thinking
  3. Consistency Improvements: Benefits maintained across multiple trial runs, indicating robustness
  4. Error Reduction: Helps LLMs handle edge cases and unusual scenarios more effectively

Comparative Analysis

ApproachAirline Domain (k=1)Retail Domain (k=1)Implementation Effort
Baseline0.3320.783None
Extended Thinking0.412 (+24%)0.770 (-1.7%)Platform-dependent
Think Tool0.404 (+22%)0.812 (+3.7%)Minimal
Think + Optimized Prompt0.584 (+76%)N/ALow

Key Takeaway: The think tool provides substantial performance improvements with minimal implementation overhead, making it an excellent choice for enhancing LLM capabilities in complex reasoning scenarios.

📦 Installation

Quick Start with npx (Recommended)

The fastest way to get started:

bash
npx -y think-tool-mcp

Global Installation

For persistent usage across projects:

bash
npm install -g think-tool-mcp

Local Development Installation

For contributing or local development:

bash
git clone https://github.com/abhinav-mangla/think-tool-mcp.git
cd think-tool-mcp
npm install
npm run build
npm start

🎯 Usage Examples

Complex Problem Solving

Human: Help me optimize our company's supply chain with 5 warehouses and 12 retail locations.

LLM: I'll help you optimize your supply chain. Let me think through this systematically.

[Uses think tool]
Thought: This is a complex optimization problem requiring:
1. Analysis of warehouse-retail location distances
2. Shipping cost calculations between all pairs
3. Delivery time constraints evaluation
4. Inventory capacity considerations
5. Demand pattern analysis

I need to formulate this as a linear programming problem and consider both cost minimization and delivery time constraints...

[Proceeds with structured solution based on analysis]

Policy Adherence

Human: Can I return this opened product after 45 days without a receipt?

LLM: Let me carefully check our return policy.

[Uses think tool]
Thought: Analyzing this return request:
- Item: 45 days old (exceeds standard 30-day window)
- No receipt available
- Package opened

Policy considerations:
- Standard returns require 30 days + receipt
- Store credit might be possible with purchase verification
- Product category affects policy (electronics vs. clothing)
- Loyalty members may have extended windows
- Manager override possibilities

[Provides policy-compliant response with available options]

Multi-Tool Analysis

Human: Find inactive premium users (60+ days) and create a re-engagement campaign.

LLM: I'll search the database and create a targeted campaign.

[Runs database queries]
[Uses think tool]
Thought: Query results show 342 inactive premium users. Key patterns:
- 45% are in 6-12 month subscription cohort
- 72% last activity was "viewed dashboard"
- Only 8% used newest features
- 28% had support tickets before going inactive

Campaign strategy:
- Segment users by usage patterns
- Highlight unexplored features
- Address support-related pain points
- Personalize incentives based on history

[Creates targeted email campaign based on analysis]

🔧 API Reference

Available Tools

think

Provides LLMs with a dedicated space for complex reasoning and analysis.

Parameters:

  • thought (string, required): The thought process, reasoning, or analysis to record

Description: The think tool accepts any structured thinking that an LLM needs to perform. This can include:

  • Step-by-step problem analysis
  • Policy verification workflows
  • Multi-criteria decision making
  • Information synthesis from multiple sources
  • Complex reasoning chains

Usage Pattern: LLMs will automatically use this tool when they need to engage in complex reasoning. The tool does not retrieve new information or make changes—it simply provides a space for structured thinking.

🏗️ Development

Project Structure

think-tool-mcp/
├── src/
│   ├── index.ts          # CLI entry point
│   └── server.ts         # MCP server implementation
├── examples/
│   └── example_usage.md  # Usage examples
├── dist/                 # Compiled JavaScript
├── package.json
├── tsconfig.json
└── README.md

Building from Source

bash
# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Start the built server
npm start

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📋 Requirements

  • Node.js: Version 16 or higher
  • npm: Comes with Node.js
  • MCP-compatible platform: Cursor, Claude Desktop, or other MCP-supporting applications

🔍 Troubleshooting

Common Issues

Server not starting:

  • Ensure Node.js 16+ is installed
  • Check that the command path is correct in your MCP configuration
  • Verify no port conflicts exist

Tool not appearing in AI platform:

  • Confirm MCP server is properly configured
  • Restart your AI platform after configuration changes
  • Check platform-specific MCP documentation

Permission errors:

  • On Unix systems, ensure the binary is executable
  • Try using npx instead of global installation

Debug Mode

For development and debugging:

bash
npm run dev

This runs the server with TypeScript directly and provides more detailed error information.

📚 Learn More

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👤 Author

Abhinav Mangla

🙏 Acknowledgments

  • Anthropic for the think tool research and methodology
  • The Model Context Protocol team for the excellent framework
  • The open-source community for contributions and feedback

Installatie

TypingMind
Vereisten:

Node.js 18+

{
  "mcpServers": {
    "think-tool": {
      "command": "npx",
      "args": [
        "-y",
        "think-tool-mcp"
      ]
    }
  }
}

Beschikbare tools

  • think

    Use this tool to think about something. It will not obtain new information or change anything. Use it when complex reasoning is needed.

      Args:
      thought: A thought to think about. This can be structured reasoning, step-by-step analysis, policy verification, or any other mental process that helps with problem-solving.
    

Gebruik Think Tool MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Think Tool is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Je kunt MCP lokaal op je apparaat uitvoeren of verbinding maken met de URL van een externe MCP-server.

Optie 1: Gebruik de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Think Tool toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Think Tool.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "think-tool": {
      "command": "npx",
      "args": [
        "-y",
        "think-tool-mcp"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Think Tool in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Think Tool in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Think Tool gebruiken om me hiermee te helpen?
Think Tool
Zeker. Ik heb het gelezen.
Dit vond ik met Think Tool.

Optie 2: Voeg een MCP-server-URL toe

Gebruik dit als Think Tool al extern wordt gehost of als je team één gedeelde connector wil die meerdere gebruikers kunnen gebruiken.

1

Open MCP-connectoren

Ga in TypingMind naar Plug-ins, open MCP-connectoren en kies URL toevoegen.

  1. Open TypingMind in je browser.
  2. Ga naar Plug-ins.
  3. Open MCP-connectoren.
  4. Klik op URL toevoegen.
TypingMind-formulier om een eigen MCP-server-URL toe te voegen
2

Plak de server-URL

Voer je server-URL in het veld Server-URL in. Voeg een verbindingsnaam, beschrijving, icoon, aangepaste HTTP-headers of OAuth-clientinstellingen toe als de server die vereist.

  1. Plak je server-URL in het veld Server-URL.
  2. Voer een verbindingsnaam in voor Think Tool.
  3. Voeg een beschrijving en een icoon toe om de verbinding makkelijker te herkennen.
  4. Voeg aangepaste HTTP-headers of OAuth-clientgegevens toe als de server authenticatie vereist.
3

Maak de verbinding

Klik op Verbinding maken, ga terug naar de lijst met plug-ins en controleer of de nieuwe MCP-verbinding actief is.

  1. Klik op Verbinding maken.
  2. Ga terug naar de lijst met MCP-connectoren.
  3. Controleer of de verbinding met Think Tool als actief wordt weergegeven.
  4. Vernieuw de lijst met plug-ins als de verbinding niet meteen verschijnt.
4

Wissel van model zonder opnieuw verbinding te maken

Start een chat met je favoriete model, schakel de tools van Think Tool in via Plug-ins en wissel van model wanneer dat nodig is. De MCP-verbinding blijft beschikbaar in de TypingMind-werkruimte.

  1. Start een nieuwe chat in TypingMind.
  2. Selecteer het AI-model dat je wilt gebruiken.
  3. Schakel de tools van Think Tool in via Plug-ins.
  4. Vraag het model om de tool te gebruiken wanneer dat nodig is.
  5. Schakel over naar een ander AI-model en gebruik dezelfde MCP-verbinding opnieuw.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Think Tool gebruiken om me hiermee te helpen?
Think Tool
Zeker. Ik heb het gelezen.
Dit vond ik met Think Tool.

Veelgestelde vragen

Waarvoor wordt de MCP-server Think Tool gebruikt?

Think Tool is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Think Tool MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Think Tool gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Think Tool MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Think Tool verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Think Tool MCP met TypingMind?

Je kunt Think Tool met TypingMind verbinden via de lokale MCP-connector of door de URL van een externe MCP-server toe te voegen. Gebruik de lokale connector als de server toegang nodig heeft tot bestanden, apps of privébronnen op je apparaat. Gebruik een server-URL als de MCP-server extern wordt gehost.

Welke tools biedt Think Tool MCP in TypingMind?

Think Tool biedt 1 MCP-tools die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Think Tool MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Think Tool authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇