Logo Think Strategies MCP Server

Think Strategies MCP Server

Cộng đồng
aaronsb

An MCP server that provides structured thinking strategies for breaking down complex problems into manageable steps with support for revisions, branching, and multiple reasoning approaches

Nhà phát hànhaaronsb
Kho mãthink-strategies
Ngôn ngữJavaScript
Bản fork
4
Sao
28
Công cụ có sẵn
1
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Think Strategies MCP Server cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 1 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    28 sao và 4 bản fork từ kho mã được liên kết.

Think Strategies MCP Server

Overview

An MCP server implementation that provides a tool for dynamic and reflective problem-solving through structured thinking processes. Choose from 10 different reasoning strategies:

  • 🔄 Linear - Flexible thinking with revisions and branches
  • 🔗 Chain of Thought - Sequential step-by-step reasoning
  • 🎯 React - Reasoning combined with actions and observations
  • 📋 ReWOO - Plan-execute pattern with parallel tool usage
  • 📝 Scratchpad - Iterative calculations with state tracking
  • ❓ Self-Ask - Decompose into sub-questions and answers
  • 🔍 Self-Consistency - Multiple reasoning paths to consensus
  • 🔭 Step-Back - Abstract principles before specific application
  • 🌳 Tree of Thoughts - Explore and evaluate multiple branches
  • ⚖️ Trilemma - Balance three competing objectives through satisficing

Documentation

Comprehensive documentation is available in the following files:

Features

  • Break down complex problems into manageable steps
  • Revise and refine thoughts as understanding deepens
  • Branch into alternative paths of reasoning
  • Adjust the total number of thoughts dynamically
  • Support for unfixed step numbers through cyclic flows
  • Strategy-specific flow patterns for different reasoning approaches
  • Generate and verify solution hypotheses

Architecture

The think-strategies server uses a consolidated 3-tool architecture designed for optimal balance between simplicity and power:

Core Tools

1. think-strategies (Core Thinking)

Facilitates structured problem-solving with prominent strategy selection.

Parameters (7):

  • strategy (string): Primary choice - one of 10 reasoning strategies
  • thought (string): The current thinking step
  • thoughtNumber (integer): Current thought number (uses dual A1|S1 numbering)
  • totalThoughts (integer): Estimated total thoughts needed
  • nextThoughtNeeded (boolean): Whether another thought step is needed
  • plannedActions (array, optional): Plan tool calls for think→act→reflect workflow
  • actionResults (array, optional): Integrate results from executed tools
  • action (string, optional): Strategy-specific action (for ReAct, ReWOO)
  • observation (string, optional): Strategy-specific observation
  • finalAnswer (string, optional): Final result when thinking is complete

2. think-tools (Action-Based Utilities)

Consolidated utilities with action-based routing.

Parameters (6):

  • action (string): "connect-server" | "execute-actions" | "server-status" | "create-branch"
  • serverName (string, optional): MCP server name for connections
  • command (string, optional): Command to execute
  • args (array, optional): Command arguments
  • branchId (string, optional): Branch identifier for branching
  • branchFromThought (number, optional): Thought number to branch from
  • thought (string, optional): Context for branching

3. think-session-manager (Session Operations)

Manage thinking session persistence and continuity.

Parameters (3):

  • action (string): "list" | "get" | "resume"
  • sessionId (string, optional): Specific session ID
  • limit (number, optional): Number of sessions to return (default: 10)

Key Features

  • Strategy Selection Prominence: Clear choice among 10 reasoning strategies
  • Think→Act→Reflect Workflow: Seamless integration with any available tools
  • Dual Numbering System: Absolute (A1, A2...) and sequence-relative (S1, S2...) tracking
  • True Branching: Create alternative reasoning paths
  • Session Continuity: Persistent sessions with resume capability
  • MCP Integration: Connect to other MCP servers during thinking
  • No Tool Duplication: Clean separation of concerns across 3 focused tools

Resources

  • documentation: Complete tool documentation and usage examples
  • strategy-config: Configuration for all 10 thinking strategies and their stage flows

Usage

When to Use Think-Strategies

The think-strategies server is designed for:

  • Complex Problem-Solving: Break down multi-step challenges into manageable pieces
  • Strategic Analysis: Choose the optimal reasoning approach for your specific problem type
  • Iterative Refinement: Revise and improve your thinking as understanding deepens
  • Alternative Exploration: Branch into different solution paths and compare approaches
  • Tool Integration: Combine reasoning with real tool execution (think\u2192act\u2192reflect)
  • Session Continuity: Resume and build upon previous thinking sessions

Strategy Selection Guide

  • Linear/Chain of Thought: Step-by-step reasoning for straightforward problems
  • ReAct: When you need to gather information or execute actions during reasoning
  • ReWOO: For parallel tool usage and plan-execute workflows
  • Tree of Thoughts: When exploring multiple solution branches is valuable
  • Trilemma: For balancing three competing objectives through satisficing
  • Self-Ask: Break complex questions into simpler sub-questions
  • Step-Back: When you need to establish principles before diving into specifics

Installation

Prerequisites

  • Node.js (v14 or higher) and npm (v6 or higher) OR
  • Docker

Quick Start with npx (Easiest)

You can run the server directly using npx without cloning or installing:

bash
# Run from npm registry (after publishing)
npx think-strategies

# Or run directly from GitHub
npx github:aaronsb/think-strategies

Setup with Node.js

  1. Clone the repository:
bash
git clone https://github.com/aaronsb/think-strategies.git
cd think-strategies
  1. Install dependencies:
bash
npm install
  1. Make the server executable:
bash
chmod +x index.js
  1. Run the server:
bash
node index.js

Setup with Docker

Using Pre-built Image (Recommended)

Pull and run the latest image from GitHub Container Registry:

bash
docker run --rm -i ghcr.io/aaronsb/think-strategies:latest

Building Locally

  1. Clone the repository:
bash
git clone https://github.com/aaronsb/think-strategies.git
cd think-strategies
  1. Build the Docker image:
bash
./scripts/build-local.sh
  1. Run the Docker container:
bash
./scripts/run-local.sh

This will run the server with the correct permissions, ensuring that any files created are owned by the current user, not root.

Development

To contribute to the project:

  1. Fork the repository on GitHub
  2. Clone your fork locally
  3. Add the upstream repository:
bash
git remote add upstream https://github.com/aaronsb/think-strategies.git
  1. Create a branch for your changes
  2. Submit a pull request with your changes

Configuration

Using Claude Code CLI (Recommended)

Add the think-strategies MCP server using Claude Code's built-in command:

bash
# Add from GitHub (latest version)
claude mcp add think-strategies "npx" "github:aaronsb/think-strategies" -- --storage-path "/home/$(whoami)/Documents/thinking"

# Add from local development path
claude mcp add think-strategies "node" "/path/to/think-strategies/index.js" -- --storage-path "/home/$(whoami)/Documents/thinking"

# Add with Docker
claude mcp add think-strategies "docker" "run" "--rm" "-i" "--user" "$(id -u):$(id -g)" "-v" "/home/$(whoami)/Documents/thinking:/app/data" "ghcr.io/aaronsb/think-strategies:latest"

# Optional: Use user scope to share thinking sessions across all projects
claude mcp add --scope user think-strategies "npx" "github:aaronsb/think-strategies" -- --storage-path "/home/$(whoami)/Documents/thinking"

Scope Options:

  • Local (default): Server available only in current project directory
  • User (recommended): Server available globally, allowing you to access all thinking sessions across projects and build a comprehensive knowledge base

Manual Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

Using npx (Recommended)

json
{
  "mcpServers": {
    "think-strategies": {
      "autoApprove": ["think-strategies", "think-tools", "think-session-manager"],
      "disabled": false,
      "timeout": 60,
      "command": "npx",
      "args": [
        "github:aaronsb/think-strategies",
        "--storage-path",
        "/path/to/thinking/storage"
      ],
      "transportType": "stdio"
    }
  }
}

Usage with Cline

Add this to your cline_mcp_settings.json:

Using npx (Recommended)

json
{
  "mcpServers": {
    "think-strategies": {
      "autoApprove": ["think-strategies", "think-tools", "think-session-manager"],
      "disabled": false,
      "timeout": 60,
      "command": "npx",
      "args": [
        "github:aaronsb/think-strategies"
      ],
      "env": {},
      "transportType": "stdio"
    }
  }
}

Using Node.js

json
{
  "mcpServers": {
    "think-strategies": {
      "autoApprove": ["think-strategies", "think-tools", "think-session-manager"],
      "disabled": false,
      "timeout": 60,
      "command": "node",
      "args": [
        "/path/to/repo/think-strategies/index.js"
      ],
      "env": {},
      "transportType": "stdio"
    }
  }
}

Using Docker

json
{
  "mcpServers": {
    "think-strategies": {
      "autoApprove": ["think-strategies", "think-tools", "think-session-manager"],
      "disabled": false,
      "timeout": 60,
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "--user",
        "$(id -u):$(id -g)",
        "-v",
        "/tmp/sequentialthinking-plus-data:/app/data",
        "ghcr.io/aaronsb/think-strategies:latest"
      ],
      "env": {},
      "transportType": "stdio"
    }
  }
}

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "aaronsb-think-strategies": {
      "command": "npx",
      "args": [
        "-y",
        "think-strategies"
      ]
    }
  }
}

Công cụ có sẵn

  • think-strategies

    A tool for dynamic and reflective problem-solving through structured thoughts using 9 different reasoning strategies: linear (flexible with revisions), chain_of_thought (sequential steps), react (reasoning + actions), rewoo (planning + parallel tools), scratchpad (iterative calculations), self_ask (sub-questions), self_consistency (multiple paths), step_back (abstract principles first), tree_of_thoughts (explore & evaluate branches). Set 'strategy' parameter to choose. Access documentation resource for detailed guidance. Works as force multiplier with other tools.

Dùng MCP Think Strategies MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Think Strategies MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm Think Strategies MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Think Strategies MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "aaronsb-think-strategies": {
      "command": "npx",
      "args": [
        "-y",
        "think-strategies"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Think Strategies MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Think Strategies MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng Think Strategies MCP Server giúp tôi làm việc này không?
Think Strategies MCP Server
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng Think Strategies MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Think Strategies MCP Server dùng để làm gì?

Think Strategies MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Think Strategies MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Think Strategies MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Think Strategies MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Think Strategies MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Think Strategies MCP Server với TypingMind?

Think Strategies MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Think Strategies MCP Server cung cấp những công cụ nào trong TypingMind?

Think Strategies MCP Server cung cấp 1 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Think Strategies MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Think Strategies MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

documentation
strategy-config

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇