think-strategies
v0.9.1
Published
MCP server for sequential thinking and problem solving
Maintainers
Readme
Think Strategies MCP Server
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
Documentation
Comprehensive documentation is available in the following files:
- Executive Summary - High-level overview of Sequential Thinking
- Practical Guide - Examples and best practices for using the tool
- Technical Documentation - Detailed technical explanation of the architecture
- Flow Engine Architecture - In-depth explanation of the flow engine's flexibility and strategy-specific flows
- Strategy Comparison - Detailed comparison of different thinking strategies
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
Tools and Resources
Tool: think-strategies
Facilitates a detailed, step-by-step thinking process for problem-solving and analysis.
Inputs:
thought(string): The current thinking stepnextThoughtNeeded(boolean): Whether another thought step is neededthoughtNumber(integer): Current thought numbertotalThoughts(integer): Estimated total thoughts neededisRevision(boolean, optional): Whether this revises previous thinkingrevisesThought(integer, optional): Which thought is being reconsideredbranchFromThought(integer, optional): Branching point thought numberbranchId(string, optional): Branch identifierneedsMoreThoughts(boolean, optional): If more thoughts are needed
Resource: think-strategies://documentation
Provides detailed documentation for the Sequential Thinking tool, including:
- When to use the tool
- Key features
- Parameter explanations
- Best practices for effective usage
Usage
The Sequential Thinking tool is designed for:
- Breaking down complex problems into steps
- Planning and design with room for revision
- Analysis that might need course correction
- Problems where the full scope might not be clear initially
- Tasks that need to maintain context over multiple steps
- Situations where irrelevant information needs to be filtered out
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:
# Run from npm registry (after publishing)
npx think-strategies
# Or run directly from GitHub
npx github:aaronsb/think-strategiesSetup with Node.js
- Clone the repository:
git clone https://github.com/aaronsb/think-strategies.git
cd think-strategies- Install dependencies:
npm install- Make the server executable:
chmod +x index.js- Run the server:
node index.jsSetup with Docker
Using Pre-built Image (Recommended)
Pull and run the latest image from GitHub Container Registry:
docker run --rm -i ghcr.io/aaronsb/think-strategies:latestBuilding Locally
- Clone the repository:
git clone https://github.com/aaronsb/think-strategies.git
cd think-strategies- Build the Docker image:
./scripts/build-local.sh- Run the Docker container:
./scripts/run-local.shThis 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:
- Fork the repository on GitHub
- Clone your fork locally
- Add the upstream repository:
git remote add upstream https://github.com/aaronsb/think-strategies.git- Create a branch for your changes
- Submit a pull request with your changes
Configuration
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
Using npx (Recommended)
{
"mcpServers": {
"sequential-thinking": {
"autoApprove": ["think-strategies"],
"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)
{
"mcpServers": {
"think-strategies": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"command": "npx",
"args": [
"github:aaronsb/think-strategies"
],
"env": {},
"transportType": "stdio"
}
}
}Using Node.js
{
"mcpServers": {
"think-strategies": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"command": "node",
"args": [
"/path/to/repo/think-strategies/index.js"
],
"env": {},
"transportType": "stdio"
}
}
}Using Docker
{
"mcpServers": {
"think-strategies": {
"autoApprove": [],
"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.
