Think Strategies MCP Server 标志

Think Strategies MCP Server

社区
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

发布者aaronsb
代码仓库think-strategies
语言JavaScript
复刻数
4
星标数
28
可用工具
1
传输类型stdio
分类
链接
  • 将工具接入 AI 工作流

    Think Strategies MCP Server 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 1 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 28 个星标和 4 个复刻。

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.

安装

TypingMind
前提条件:

Node.js 18+

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

可用工具

  • 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.

将 Think Strategies MCP Server MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Think Strategies MCP Server 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Think Strategies MCP Server 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Think Strategies MCP Server MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "aaronsb-think-strategies": {
      "command": "npx",
      "args": [
        "-y",
        "think-strategies"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Think Strategies MCP Server MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Think Strategies MCP Server MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Think Strategies MCP Server 帮我完成这项任务吗?
Think Strategies MCP Server
当然,我看过了。
以下是我使用 Think Strategies MCP Server 得到的结果。

常见问题

Think Strategies MCP Server MCP 服务器有什么用途?

Think Strategies MCP Server 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Think Strategies MCP Server MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Think Strategies MCP Server。

为什么在 TypingMind 中使用 Think Strategies MCP Server MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Think Strategies MCP Server 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Think Strategies MCP Server MCP 连接到 TypingMind?

Think Strategies MCP Server 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Think Strategies MCP Server MCP 在 TypingMind 中提供哪些工具?

Think Strategies MCP Server 提供 1 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Think Strategies MCP Server MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Think Strategies MCP Server 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

documentation
strategy-config

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇