Home / MCP / Sequential Thinking MCP Server

Sequential Thinking MCP Server

Provides a structured, step-by-step thinking tool to break down problems, revise thoughts, and explore alternate reasoning paths.

other
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "sequential_thinking": {
            "command": "npx",
            "args": [
                "-y",
                "@modelcontextprotocol/server-sequential-thinking"
            ]
        }
    }
}

You use the Sequential Thinking MCP Server to guide structured, step-by-step problem solving. It helps you break down complex problems, revise as you learn, and explore alternate reasoning paths while keeping track of progress across multiple thoughts.

How to use

You run the Sequential Thinking MCP Server alongside an MCP client to enable a detailed, organized thinking process. Use it to plan complex analyses, branch into alternative reasoning paths, revise earlier steps, and verify hypotheses as you work toward a solution.

How to install

Prerequisites: ensure you have a modern runtime environment available for the chosen MCP server methods. You will need either Node with npx or Docker, depending on which method you want to use.

Option A: run via npx (STDIO) with a local MCP server instance.

{
  "mcpServers": {
    "sequential_thinking": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sequential-thinking"
      ]
    }
  }
}

Option B: run via Docker (STDIO) with a containerized MCP server.

{
  "mcpServers": {
    "sequentialthinking": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "mcp/sequentialthinking"
      ]
    }
  }
}

Additional notes

Docker-based and npx-based configurations are provided to run the server in STDIO mode. Choose the method that best fits your environment. When you start the server, you will interact with your MCP client to send thinking steps, revision flags, and branching instructions as described in the tool’s inputs.

Configuration and building

You can build or run the server using the provided commands. The Docker approach builds a container image named mcp/sequentialthinking, while the npx approach pulls the package at runtime.

Available tools

sequential_thinking

A tool that facilitates a detailed, step-by-step thinking process for problem-solving and analysis. It supports inputs for the current thought, whether another thought is needed, thought numbering, revisions, branching, and thought totals.