In short.
The Sequential Thinking MCP Server is a small Node.js program that lets an AI app such as Claude Desktop, VS Code or Codex CLI record numbered, revisable and branching thinking steps. It suits people who want a model's reasoning laid out step by step. Its main catch is that it stores and counts the thoughts but does not reason about them or check them itself. Technically, version 2.1.1 of @modelcontextprotocol/server-sequential-thinking exposes one tool, sequentialthinking, and serves the 2026-07-28 and 2025-11-25 protocol versions over stdio. By default it keeps at most 1000 thoughts per connection. The captured repository folder contains 21 files, including test source. Nothing was run for this report, and the evidence contains no cost, benchmark or answer-quality data.
Researched and written by an AI model and checked by a second AI model. How it works
Scope: the src/sequentialthinking folder of modelcontextprotocol/servers at revision e1dc4b18. It contains 21 files: source, test source, build and container files, README, CHANGELOG and package metadata. Related notice: the LICENSE file at the repository root. It sits outside the folder but sets the project-wide licensing terms used in the rights analysis. It includes the full Apache-2.0 and MIT texts and names CC-BY-4.0 with a link; the CC-BY-4.0 legal text was not captured. Excluded: - linked pages, including the npm, VS Code documentation and installation links in the README, the changelog's pull request, issue and commit links, and the CC legal text; - other folders, including src/everything, which the Dockerfile comment names as the layout it follows; - the root package.json, package-lock.json, .npmrc and tsconfig.json that the build and Docker files depend on; - built dist/ output and node_modules; - the contents of the published npm package, for which package.json lists only dist. Untested: no code was executed, installed, built, containerised or connected to any MCP host for this report. The test suites, the Docker build, the npx route and each host configuration are described from their text only. Runtime behaviour, performance, memory use, cost and answer quality are not assessed.
The overview
Identity
The Sequential Thinking MCP Server is a program that speaks the Model Context Protocol (MCP), the open standard that lets AI apps call outside tools. The captured package is @modelcontextprotocol/server-sequential-thinking, version 2.1.1, from the src/sequentialthinking folder of the modelcontextprotocol/servers repository at revision e1dc4b18. Its package metadata names Model Context Protocol a Series of LF Projects, LLC. as author, and the server identifies itself to clients as sequential-thinking-server.
In plain terms, it gives an AI model one tool it can call to write down a numbered step of its thinking, mark a step as a revision of an earlier one, or open a branch of alternative reasoning. The server keeps those steps and returns counts. It does not produce the reasoning itself; the model does.
The evidence does not establish two things. The first is a release date for 2.1.1, because the changelog entries carry pull request numbers but no dates. The second is who maintains the project. Each changelog entry credits the GitHub user @cliffhall, but that shows who contributed those changes, not who maintains the project.
Assessment
On the evidence, this is a substantial resource rather than a stub. It has a versioned package and changelog, an entry point that serves the protocol and registers the tool, and documented install routes for three MCP hosts. Nine test files and a shared test helper pin its behaviour in detail.
The main caveat is what the code actually does. processThought in lib.ts stores each thought, counts it, tracks branches and returns only numbers and branch identifiers, not the thought text. The tests state that revisions and branch points are not checked against earlier thoughts, and that needsMoreThoughts does not change the result. The evidence contains no benchmark, comparison or usage data, so any improvement in a model's answers is not measured here.
Fit: the tool is useful when you want a model's steps recorded visibly, with revisions and branches, for planning or debugging. The captured files do not show that it makes answers more accurate, and this assessment does not claim that it does.
Users
Beginners: people who use an MCP-aware app such as Claude Desktop, VS Code or Codex CLI and are willing to edit one configuration file. The README gives copy-paste JSON for claude_desktop_config.json and for VS Code's mcp.json, a one-line command for Codex CLI, and a Windows variant that starts npx through cmd /c. The npx route needs Node.js 24 or later.
Experienced developers: people who build MCP hosts or servers, or who want to see how a small server is structured. index.ts registers the tool and exposes createServer() and main(), and lib.ts holds the state logic. helpers.ts links an SDK client to the server in memory for tests. A comment in input-descriptions.test.ts calls this server the reference implementation that other server authors copy. The test itself requires a description on every input property of every tool the server advertises.
Unknown: how many people use it, and whether it is used with hosts other than those named in the README. The captured files do not say.
Capabilities
The server offers one tool, sequentialthinking, titled Sequential Thinking. Four inputs are required: thought (text), nextThoughtNeeded (true or false), and thoughtNumber and totalThoughts (whole numbers of at least 1). Five are optional: isRevision, revisesThought, branchFromThought, branchId and needsMoreThoughts. Every input has its own description, and a test requires a description on every input property of every tool.
Input handling is lenient. Boolean fields accept the strings 'true' and 'false' in any letter case, number fields accept numeric strings, and the boolean true becomes 1 in a number field. Values such as 'yes' for a boolean, or 1.5 for a thought number, are rejected with messages that name the field.
Each accepted call adds one entry to the in-memory history. A revision or branch is stored as an ordinary entry, and if thoughtNumber exceeds totalThoughts, totalThoughts is raised to match. A branch is recorded only when branchFromThought comes with a non-empty branchId. A branchId alone, branchFromThought alone, or an empty branchId records no branch. The JSON result carries thoughtNumber, totalThoughts, nextThoughtNeeded, branches and thoughtHistoryLength. branches lists the identifiers of branches that still have retained thoughts. The thought text is not in the result.
The list of branches is read from the keys of the branch map with Object.keys(). The tests show first-seen order for the identifiers they use, but that order is not guaranteed for every identifier, because JavaScript sorts integer-like keys differently.
Protocol: one server build answers both 2026-07-28 clients (server/discover, no handshake) and 2025-11-25 clients (initialize handshake). A request for a protocol version it does not serve gets error -32022 with the list of supported versions. Only the tools capability is advertised; requests for prompts or resources get Method not found.
Logging: unless DISABLE_THOUGHT_LOGGING is 'true' in any letter case, each accepted thought is drawn as a box on stderr, with a header label for a plain thought, a revision or a branch. Thought text wraps onto rows of at most 100 UTF-16 code units, and an emoji is never split across rows. At most 1,000 rows of thought text are drawn; after that, one summary row says how many lines were left out. Header rows (a long branch ID also wraps), borders and the summary row are not counted in the 1,000-row limit. Only the log is shortened: the full thought stays in history until it is dropped, and the tool result is unchanged.
Annotations: readOnlyHint false, destructiveHint false, idempotentHint false, openWorldHint false. The source gives the reason: every call appends to history, so the tool is neither read-only nor idempotent. The source also says it is not destructive and not open-world.
Using it
Requirements
Runtime: Node.js 24 or later. The package engines field and the README both say so, and the 2.0.0 changelog says the server now requires Node.js 24. Runtime dependencies are the MCP server SDK (^2.3.1), chalk (^5.3.0) and zod (^4.2.0).
Host: an MCP-aware client that can start a stdio server. The captured files name only Claude Desktop, VS Code and Codex CLI; other hosts are not assessed.
Building from source: the package extends a root tsconfig.json and sits in an npm workspace. The Dockerfile copies the root package.json, package-lock.json and .npmrc. Those root files are outside the captured folder, so a source build cannot be fully checked from the evidence.
Docker is optional. The image is built on node:24-alpine and runs as UID 1000, the base image's unprivileged node user, so it can pass runAsNonRoot admission policies. The captured files describe no API keys, accounts or network services.
Mechanism
Each client connection gets its own server, built by createServer(), which serveStdio calls once per connection. Each server holds its own thought history and branch map, so two connections never share state, and history lasts only as long as the connection.
On each call, lib.ts first raises totalThoughts if thoughtNumber exceeds it. Next it draws the stderr box, if logging is on. Only then does it change state, so a failed draw or write leaves history and branches unchanged; the thinking test file asserts this. The thought is added to history. If branchFromThought is given with a non-empty branchId, it is also added to that branch's list. A branchId without branchFromThought, or an empty branchId, records no branch. The branch map has a null prototype, so identifiers such as constructor are treated as ordinary keys.
When history grows past MAX_THOUGHT_HISTORY (default 1000), the oldest thought is removed. If that thought was on a branch, it is removed from the branch too, and a branch with no retained thoughts is dropped. The branches list in the result therefore names only branches that still have retained thoughts, in the order Object.keys() gives for the branch map. An invalid MAX_THOUGHT_HISTORY value is reported on stderr and replaced by the default. The cap counts thoughts, not bytes.
Input checks are Zod schemas declared in index.ts, and the SDK checks arguments against them. Bad arguments produce messages such as 'Input validation error: Invalid arguments for tool sequentialthinking: ...', and a rejected call is not counted in history. An unknown tool name gets JSON-RPC error -32602. Over stdio, any single incoming message larger than 10 MiB closes the connection.
main() serves the server on stdio by default and accepts another transport for tests. A transport failure is printed to stderr and sets the exit code to 1. The captured code has no HTTP transport.
Setup
npx route (from the README): in the host's configuration, add a server whose command is npx, with the arguments -y and @modelcontextprotocol/server-sequential-thinking. On Windows the command is cmd, with the arguments /c, npx, -y and the package name. VS Code uses a servers key in mcp.json. Codex CLI users run codex mcp add sequential-thinking npx -y @modelcontextprotocol/server-sequential-thinking.
Docker route: from the repository root, run docker build -f src/sequentialthinking/Dockerfile -t mcp/sequentialthinking . and then point the host at docker run --rm -i mcp/sequentialthinking. An allow-list in Dockerfile.dockerignore limits the build context to the root manifests and the server source, leaving out node_modules, dist and coverage. The captured files show how to build the image but not a published registry image, so whether one exists is unknown.
Environment variables: setting DISABLE_THOUGHT_LOGGING to true turns off the stderr boxes, and MAX_THOUGHT_HISTORY sets the history cap as a positive whole number (default 1000). To check that it works, the README says to restart the host, confirm that sequentialthinking appears in the tool list, ask for a step-by-step solution to a multi-part problem, and watch for repeated tool calls.
Building from source: in the workspace, npm run build runs tsc and makes dist/*.js executable, and the prepare script runs the build on install. This was not run for this report.
Example
A test asserts the result of a call with thought 'a thought', nextThoughtNeeded true, thoughtNumber 1 and totalThoughts 3. The expected result is thoughtNumber 1, totalThoughts 3, nextThoughtNeeded true, branches [] and thoughtHistoryLength 1. A second call with thoughtNumber 2, branchFromThought 1 and branchId 'alt' is asserted to return branches ['alt'] and thoughtHistoryLength 2.
With logging on, a first thought is drawn on stderr as a bordered box headed '💭 Thought 1/3' with the thought text inside. A branch is headed '🌿 Branch 1/3 (from thought 1, ID: alt)'. When no branchId is given, the header leaves out the ID.
One example prompt from the README is: 'Plan a database migration from PostgreSQL 14 to 16, list risks, and revise the plan if downtime exceeds 5 minutes.' The README expects the host to make several calls, each carrying thoughtNumber and totalThoughts. The captured evidence contains no real session, so what a model writes for that prompt is not assessed.
Assessment & evidence
Limitations
It does not reason or verify. The server stores and counts thoughts. It does not check logic, test hypotheses, or confirm that a revised thought or a branch point exists. The model must keep the substance of its reasoning in its own context, because the result returns counts and branch identifiers, not the thought text.
Privacy: history lives in memory for one connection, and each retained thought's full text is held there until it is dropped or the connection closes. Logging is on by default. With logging on, each accepted thought's text is drawn on stderr, wrapped at 100 UTF-16 code units per row and cut off after 1,000 rows. What the model writes can therefore appear wherever the host keeps the server's stderr. Setting DISABLE_THOUGHT_LOGGING to true stops that. The captured source files contain no code that makes network requests, and the tool declares itself closed-world (openWorldHint false).
Compatibility: version 2.0.0 made breaking changes: - Node.js 24 became required. - An unknown tool name now returns error -32602 rather than an error result. - Error messages dropped the 'MCP error <code>:' prefix. - Tool schemas declare JSON Schema 2020-12 instead of draft-07. - Task-execution metadata was removed. Version 2.1.0 also shortened the tool description, so the guidance a model reads differs from earlier releases.
Roadmap: a test comment mentions a 'Part 5' decision about what the tool advertises under the tasks extension. One comment is not enough evidence of a current roadmap, and the captured evidence describes no planned changes.
Transport and size: the captured code supports only stdio, and any single incoming message larger than 10 MiB closes the connection.
Reasoning
The conclusion that this is a substantial, usable resource rests on specific evidence: - a versioned package with a matching changelog (package.json, CHANGELOG); - an entry point that serves the protocol and declares its one tool (index.ts); - tests that pin the schema, state and protocol behaviour (tools-list.test, input-schema.test, thinking.test, eras.test).
The caution that it is a log and counter rather than a reasoner comes directly from lib.ts, which returns only counts and branch identifiers, and from thinking.test, which asserts that revision and branch targets are not checked.
The rights conclusion goes only as far as the notices do. The repository-root LICENSE sets project-wide terms. New code, and code whose authors agreed to relicensing, is under Apache-2.0. Contributions from MIT authors who have not agreed stay under MIT. Documentation, excluding specifications, is under CC-BY-4.0. The evidence does not show which licence covers each code contribution in this folder, and the README's MIT-only statement conflicts with these terms. This report therefore states the terms and leaves the per-contribution question open.
Cost, benchmark and answer-quality evidence is absent. That absence is recorded as a gap, not as a finding about the tool, so this report makes no claim about benefit.
Alternatives
The captured files do not compare this tool with any other product. In the README's usage model, you ask the host's model to think step by step and the host decides when to call the tool, so the implied alternative is making the same request without the tool. The evidence contains no side-by-side comparison of answer quality, so the difference is not assessed.
Install options: npx, which needs Node.js 24 and no local build, or Docker, which builds a local image. The Dockerfile says its layout follows src/everything/Dockerfile, which is in a folder that was not captured, so that comparison is not assessed.
Within the server, two settings can be changed: DISABLE_THOUGHT_LOGGING turns off stderr logging, and MAX_THOUGHT_HISTORY changes the history cap. The captured evidence describes no other reasoning MCP server.
Evidence
The captured evidence covers the whole src/sequentialthinking folder: source, tests, build and container files, README, changelog and package metadata. The tests cover: - the entry point; - both protocol eras; - the in-process test helper; - input descriptions; - schema coercion and errors; - version resolution; - a smoke test of the built program, which is skipped when dist/ is absent; - state and branching; - stderr logging; - the shape of the tool list.
The test files show what is asserted, not that the assertions pass. The evidence includes no test run, build, CI log or coverage report. The vitest configuration requires 90% coverage of lines, statements, functions and branches in every file; that is a configured requirement, not a measured result.
All of the evidence comes from the project itself. Several files link to outside material: the README to npm, the VS Code documentation and VS Code install links; the changelog to pull requests, issues and commits, and it names a security advisory; and the LICENSE to the CC-BY-4.0 legal text. That linked material was excluded and not read, and no third-party evaluation, review or usage figure was captured.
Access & freshness
Costs
No price for the server or for any hosting appears in the captured files, so those costs are unknown.
Model cost is not assessed, but a few facts bear on it. The tool description and input schema are advertised in the tool list, and a source comment says clients also send the field descriptions. The 2.1.0 changelog puts the trimmed description at about 198 tokens, down from about 566; that figure is the project's own estimate. Each thought is passed as tool-call arguments, so the tool may add tokens to a session. However, the captured server does not show how a host puts tool calls and results into the model's context or how it bills them, which depends on the host. The evidence also does not measure how many calls a task needs, so measured token use and cost are unknown.
Resource use has configured limits but was not measured. History is capped at 1000 thoughts by default. Each log box wraps thought text at 100 UTF-16 code units per row and draws at most 1,000 rows of thought text, plus header, border and summary rows. Every retained thought keeps its full text in memory until it is dropped, and the cap counts thoughts rather than bytes, so these limits do not set a fixed memory budget. Memory use depends on thought size and is not measured. Node.js 24, and a container runtime if you use Docker, bring their own costs, which are unknown here.
Rights
The licence statements do not agree. package.json gives the licence as 'SEE LICENSE IN LICENSE', but no LICENSE file is inside the captured folder; the captured LICENSE is the file at the repository root. The README says only that the server is licensed under the MIT License.
The root LICENSE sets project-wide terms for a move from the MIT License to Apache-2.0: - New code and specification contributions are Apache-2.0, and so are contributions whose authors have agreed to relicensing. - Contributions from authors who originally licensed their work under MIT and have not agreed remain MIT. For these, the notice says no rights are granted beyond the original licence. - Documentation, excluding specifications, is CC-BY-4.0. The file includes the full Apache-2.0 and MIT texts, with the MIT copyright line Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC. CC-BY-4.0 is only named, with a link to its legal text, which was not captured.
What remains open is which licence covers each contribution. Under these terms, each part of the code in src/sequentialthinking is under Apache-2.0 or MIT, depending on who wrote it and whether they agreed to relicensing. The evidence does not record that for any file. The notice also does not list which files count as documentation. The README's MIT-only statement leaves out these terms, so it does not give the full picture. Both licences reproduced in full require that their licence text or notice be included with copies.
The licence texts carry 'as is' disclaimers of warranty and liability. Separately, the 1.0.0 changelog note says the server does not use the SDK's OAuth client, which is the subject of the security advisory the changelog cites.
Freshness
The evidence was captured at revision e1dc4b18 on 2026-11-12, the date of this report. The package version, 2.1.1, matches the top changelog entry, a patch that limits the size of the stderr thought box. The changelog entries carry no dates, so how long ago 2.1.1 was released is unknown.
The changelog records how the server developed: - 2.0.0 moved it to the SDK v2 packages and added the 2026-07-28 protocol revision. - 2.1.0 added the history cap. - 2.1.1 limited the log box. Because the entries are undated, they do not show whether the project is actively maintained now. The 1.0.0 entry says it was the last release of the legacy-era server on the 1.x SDK. That entry does not deprecate the 2.x package, and the evidence contains no deprecation or archive notice.
Protocol coverage: the server serves 2026-07-28 and 2025-11-25 clients. The captured files do not show whether later protocol revisions will be supported.
Actions
If you are trying it: install Node.js 24 or later, copy the README block for your host, restart the host, and check that sequentialthinking appears in its tool list. If thought text in logs would be sensitive, set DISABLE_THOUGHT_LOGGING to true first.
If you are building on it: read index.ts and lib.ts first. Pin the version, because 2.0.0 changed error text and error codes and 2.1.0 changed the description the model reads. Check that any client you support can handle the newer error formats.
Before reuse or redistribution, read the root LICENSE. It puts new code, and code whose authors agreed to relicensing, under Apache-2.0. It keeps contributions from MIT authors who have not agreed under MIT, and it puts documentation (excluding specifications) under CC-BY-4.0. The evidence does not show which licence covers each contribution in src/sequentialthinking, and the README's MIT-only statement leaves out these terms. Confirm with the project which licence covers the code you plan to reuse, and keep the licence notices with any copies.
To check the test claims yourself, clone the repository at e1dc4b18 and run the folder's validate script, which runs the format check, lint, typecheck, build and tests. That has not been done for this report.
