Sequential Thinking Tools MCP server

Provides structured multi-step analytical reasoning with automatic tool recommendations, integrating file operations, execution, web access, and knowledge management tools to break down complex problems into manageable steps with branching logic and context persistence.
Back to servers
Setup instructions
Provider
MattMagg
Release date
Jun 01, 2025
Language
Python
Stats
23 stars

The MCP Sequential Thinking server enhances your problem-solving process by automatically recommending appropriate tools based on your thought content. It combines 26 pre-configured tools including Claude Code tools and Basic Memory integration to suggest the right tools at the right time based on intelligent pattern matching.

Installation

Install via NPM

You can install the server using npm or npx:

npm install mcp-sequentialthinking-tools
# or use directly with npx
npx -y mcp-sequentialthinking-tools

Configuration Setup

The server requires configuration through your MCP client. Here are examples for different environments:

Cline Configuration

Add this to your Cline MCP settings:

{
  "mcpServers": {
    "mcp-sequentialthinking-tools": {
      "command": "npx",
      "args": ["-y", "mcp-sequentialthinking-tools"]
    }
  }
}

Claude Desktop with WSL Configuration

For WSL environments, add this to your Claude Desktop configuration:

{
  "mcpServers": {
    "mcp-sequentialthinking-tools": {
      "command": "wsl.exe",
      "args": [
        "bash",
        "-c",
        "source ~/.nvm/nvm.sh && /home/username/.nvm/versions/node/v20.12.1/bin/npx mcp-sequentialthinking-tools"
      ]
    }
  }
}

Using the Sequential Thinking Tool

The server implements a single MCP tool with configurable parameters that helps guide your problem-solving process.

Available Tools

The server comes with 26 pre-configured tools:

Claude Code Tools (17 tools)

  • File operations: Read, Write, Edit, MultiEdit, LS, Glob, Grep
  • Execution: Bash, Agent
  • Notebooks: NotebookRead, NotebookEdit
  • Web: WebFetch, WebSearch
  • Tasks: TodoRead, TodoWrite
  • Special: StickerRequest

Basic Memory Tools (9 tools)

  • mcp__basic-memory__write_note - Record knowledge
  • mcp__basic-memory__read_note - Access saved information
  • mcp__basic-memory__search_notes - Search your knowledge base
  • mcp__basic-memory__build_context - Follow knowledge connections
  • And more memory-related tools

How It Works

The server automatically analyzes your thoughts and recommends appropriate tools:

// You think: "I need to save this important decision"
// Server automatically recommends: mcp__basic-memory__write_note (0.95 confidence)

// You think: "Search for all TODO comments" 
// Server automatically recommends: Grep (0.85), Agent (0.75)

Each recommendation includes:

  • Confidence score (0-1) based on pattern matching
  • Clear rationale explaining why the tool fits
  • Priority level for execution order
  • Alternative tools that could also work

Example Usage

Here's an example of how the server guides tool usage:

{
  "thought": "Initial research step to understand what universal reactivity means in Svelte 5",
  "current_step": {
    "step_description": "Gather initial information about Svelte 5's universal reactivity",
    "expected_outcome": "Clear understanding of universal reactivity concept",
    "recommended_tools": [
      {
        "tool_name": "search_docs",
        "confidence": 0.9,
        "rationale": "Search Svelte documentation for official information",
        "priority": 1
      },
      {
        "tool_name": "tavily_search",
        "confidence": 0.8,
        "rationale": "Get additional context from reliable sources",
        "priority": 2
      }
    ],
    "next_step_conditions": [
      "Verify information accuracy",
      "Look for implementation details"
    ]
  },
  "thought_number": 1,
  "total_thoughts": 5,
  "next_thought_needed": true
}

API Parameters

The sequentialthinking_tools tool accepts these parameters:

  • thought (string, required): Your current thinking step
  • next_thought_needed (boolean, required): Whether another thought step is needed
  • thought_number (integer, required): Current thought number
  • total_thoughts (integer, required): Estimated total thoughts needed
  • is_revision (boolean, optional): Whether this revises previous thinking
  • revises_thought (integer, optional): Which thought is being reconsidered
  • branch_from_thought (integer, optional): Branching point thought number
  • branch_id (string, optional): Branch identifier
  • needs_more_thoughts (boolean, optional): If more thoughts are needed
  • current_step (object, optional): Current step recommendation with:
    • step_description: What needs to be done
    • recommended_tools: Array of tool recommendations with confidence scores
    • expected_outcome: What to expect from this step
    • next_step_conditions: Conditions for next step
  • previous_steps (array, optional): Steps already recommended
  • remaining_steps (array, optional): High-level descriptions of upcoming steps

Advanced Features

The server supports:

  • Creating branches to explore different approaches
  • Revising previous thoughts with new information
  • Maintaining context across multiple steps
  • Suggesting next steps based on current findings
  • Pattern-based intelligence to recommend appropriate tools

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "mcp-sequentialthinking-tools" '{"command":"npx","args":["-y","mcp-sequentialthinking-tools"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "mcp-sequentialthinking-tools": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-sequentialthinking-tools"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

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

2. Add this to your configuration file:

{
    "mcpServers": {
        "mcp-sequentialthinking-tools": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-sequentialthinking-tools"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later