mcp-sequentialthinking-tools

by spences10

Recommended
93 stars
18 downloads
Not rated
GitHub

About

An adaptation of the MCP Sequential Thinking Server designed to guide tool usage in problem-solving. This server helps break down complex problems into manageable steps and provides recommendations for which MCP tools would be most effective at each stage.

Details

Author
spences10
Repository
spences10/mcp-sequentialthinking-tools
GitHub stars
93
Downloads
18
License
MIT License
Categories
Productivity, Project Management, Other

- Records sequential thoughts with step numbering and estimates.
- Supports branching and revision of reasoning steps.
- Validates model‑recommended tool names against a supplied list.
- Sessions isolate history; defaults to "default".
- Security filtering redacts prompt‑injection‑like text.
- History retrieval and clearing via dedicated tools.

Setting up with Highlight

Follow these steps to add this server as a custom Highlight plugin:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp-sequentialthinking-tools
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 mcp-sequentialthinking-tools
    Environment
    • MAX_HISTORY_SIZE 1000

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install and configure via npx -y mcp-sequentialthinking-tools in your MCP client settings (e.g., Claude Desktop). Optionally set the MAX_HISTORY_SIZE environment variable (default 1000 per session). Use the provided sequentialthinking_tools, get_thinking_history, and clear_thinking_history tools, and optionally include the sequential-thinking-guidance prompt.

sequentialthinking_tools

Records one thought. Required parameters: thought (current reasoning step), thought_number (current step number), total_thoughts (current estimate), next_thought_needed (whether another thought is needed). Optional parameters include session_id, is_revision, revises_thought, branch_from_thought, branch_id, needs_more_thoughts, available_tools, recommended_tools, and remaining_steps.

get_thinking_history

Returns stored thoughts for a session. Parameters: session_id (defaults to default), branch_id (optional branch filter), limit (max records to return; default 50, max 500).

clear_thinking_history

Clears one session or every session. Parameters: session_id (defaults to default), all_sessions (clear all history buckets).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

Linux

{
    "env": {
        "MAX_HISTORY_SIZE": "1000"
    },
    "args": [
        "-y",
        "mcp-sequentialthinking-tools"
    ],
    "command": "npx"
}

Macos

{
    "env": {
        "MAX_HISTORY_SIZE": "1000"
    },
    "args": [
        "-y",
        "mcp-sequentialthinking-tools"
    ],
    "command": "npx"
}

Windows

{
    "env": {
        "MAX_HISTORY_SIZE": "1000"
    },
    "args": [
        "/c",
        "npx",
        "-y",
        "mcp-sequentialthinking-tools"
    ],
    "command": "cmd"
}

Guides problem-solving by breaking down complex problems and recommending the best MCP tools for each step.

A lightweight MCP server for recording sequential reasoning steps. It is a scratchpad with history, branching, revision metadata, and optional validation for model-authored tool plans.

It doesnotdiscover your other MCP tools and it doesnotchoose tools for the model. If you passavailable_toolsandrecommended_tools, the server validates that the recommended names exist and stores the step.

Use this when a task benefits from explicit, inspectable reasoning:

- breaking a messy problem into steps;
- revising or branching a plan;
- keeping a small reasoning history by session;
- validating tool-plan names against a supplied tool list;
- clearing or inspecting reasoning history during a long agent run.

Do not use it for trivial requests. It adds overhead.

- thought— current reasoning step
- thought_number— current step number
- total_thoughts— current estimate; automatically raised if lower thanthought_number
- next_thought_needed— whether another thought is needed

- session_id— history bucket; defaults todefault
- is_revision,revises_thought
- branch_from_thought,branch_id
- needs_more_thoughts
- available_tools— array of tool names or{ name, description }objects
- recommended_tools— model-authored recommendations to validate/store
- remaining_steps— short list of upcoming steps

{ "session_id": "svelte-debug", "thought": "First inspect the route files, then run the failing check.", "thought_number": 1, "total_thoughts": 3, "next_thought_needed": true, "available_tools": ["read", "bash"], "recommended_tools": [ { "tool_name": "read", "confidence": 0.9, "rationale": "Need to inspect the relevant files before editing.", "priority": 1 } ] }

Ifrecommended_toolscontains a name not present inavailable_tools, the call returnsisError: trueand does not store the thought.

The server treats thought text, tool descriptions, rationales, and remaining-step text as untrusted input. Prompt-injection-like text is scanned and redacted before it is stored or returned in history. Calls with redactions includesecurity_warningsshowing which fields matched.

This is defensive filtering, not a guarantee that arbitrary adversarial text is safe. Do not put secrets in thoughts or tool descriptions.

- session_id— defaults todefault
- branch_id— optional branch filter
- limit— max records to return; default50, max500

- session_id— defaults todefault
- all_sessions— clear all history buckets

A short prompt that tells the model how to use this server honestly: as a scratchpad and validator, not as an external reasoning engine.

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

MAX_HISTORY_SIZEis per session and defaults to1000.

The server usestmcpand includes a small stdio transport that accepts both standardContent-Lengthframed MCP messages and newline-delimited JSON used by oldertmcptooling.

pnpm install pnpm test pnpm build pnpm check

This project usesvite-plusfor build, test, format, and lint orchestration.

pnpm changeset pnpm changeset version pnpm release

- Built on theModel Context Protocol
- Adapted from the
MCP Sequential Thinking Server

The 1Password MCP server creates a bridge that allows MCP clients such as Codex and Kiro to manage your 1Password Environments with secure authorization prompts.

This is the 1st, easiest, and cheapest PPT, slides, presentation AI generation MCP Server in the world.

Persistent memory for any AI assistant. Zero token cost until recall. Stores memories in local SQLite, ranks by 6-factor scoring, returns results 79% smaller than JSON. Works with Claude, ChatGPT, Grok, Cursor, Windsurf, and any MCP client.

A MCP server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

Enables LLM clients to interact with macOS applications through AppleScript. Built using the @beyondbetter/bb-mcp-server library, this server provides safe, controlled execution of predefined scripts with optional support for arbitrary script execution.

An MCP server for WordPress plugin audits

Turn your AI assistant into a digital marketing hub that creates, organizes, and analyzes links and QR Codes on demand.

Connect AI clients to Cal.com scheduling through the Model Context Protocol using the hosted server at mcp.cal.com or a local instance.

Sync Calendars, Scheduling Links, AI Executive Scheduling Assistant, Unified Calendar

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.