
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
·
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
Published on npm as @modelcontextprotocol/server-sequential-thinking.
server/discover, no handshake) and 2025-era clients (initialize). The thought history lasts as long as the client's connection, on either eraFacilitates 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 neededThe Sequential Thinking tool is designed for:
In practice, you do not call sequentialthinking directly by hand unless your client exposes raw tool calls. Instead, connect the server to an MCP-aware host and ask the model to think through a problem step by step. The host can then decide to call the tool one or more times while it works.
Example prompts that typically benefit from this tool:
Plan a database migration from PostgreSQL 14 to 16, list risks, and revise the plan if downtime exceeds 5 minutes.Debug why this deployment only fails in production and show your reasoning step by step.Compare three architecture options for a file sync engine and branch if one assumption turns out to be wrong.If your host or inspector shows tool activity, you should see repeated calls to sequentialthinking with fields such as:
thoughtthoughtNumbertotalThoughtsnextThoughtNeededWhen the reasoning changes course, you may also see revision or branching fields like isRevision, revisesThought, branchFromThought, or branchId.
After installing the server in your MCP host:
sequentialthinking tool appears in the host's MCP tool list or inspector.Node.js 24 or later, when the server runs through npx or from source.
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}On Windows, use cmd /c to launch npx:
{
"mcpServers": {
"sequential-thinking": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}{
"mcpServers": {
"sequentialthinking": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"mcp/sequentialthinking"
]
}
}
}To disable logging of thought information set env var: DISABLE_THOUGHT_LOGGING to true.
Each thought is logged to stderr as a box, one row per line of the thought. The box is at most 100 characters wide, with longer lines (and a long branch ID in the header) wrapped, and draws at most 1000 rows of thought text; past that it ends with a row saying how many lines it left out. Only the log is shortened: the server keeps the whole thought in its history, and the tool result is unchanged.
To bound memory use, the server retains at most MAX_THOUGHT_HISTORY thoughts per connection (a positive integer; default 1000). Past the cap the oldest thought is dropped, from its branch too, so thoughtHistoryLength in the result stops at the cap and a branch whose thoughts have all been dropped is no longer listed in branches.
For quick installation, click one of the installation buttons below...
For manual installation, you can configure the MCP server using one of these methods:
Method 1: User Configuration (Recommended)
Add the configuration to your user-level MCP configuration file. Open the Command Palette (Ctrl + Shift + P) and run MCP: Open User Configuration. This will open your user mcp.json file where you can add the server configuration.
Method 2: Workspace Configuration
Alternatively, you can add the configuration to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with others.
For more details about MCP configuration in VS Code, see the official VS Code MCP documentation.
For NPX installation:
{
"servers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}On Windows, use:
{
"servers": {
"sequential-thinking": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}For Docker installation:
{
"servers": {
"sequential-thinking": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"mcp/sequentialthinking"
]
}
}
}Run the following:
codex mcp add sequential-thinking npx -y @modelcontextprotocol/server-sequential-thinkingDocker:
docker build -t mcp/sequentialthinking -f src/sequentialthinking/Dockerfile .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. For more details, please see the LICENSE file in the project repository.
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking{
"mcpServers": {
"sequential-thinking": {
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
],
"command": "npx"
}
}
}code --add-mcp '{"name":"sequential-thinking","args":["-y","@modelcontextprotocol/server-sequential-thinking"],"command":"npx"}'[mcp_servers.sequential-thinking]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-sequential-thinking"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/sequential-thinking-mcp-server to learn what the "Sequential Thinking MCP Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
| Name | What it does |
|---|---|
sequentialthinking | A detailed tool for dynamic and reflective problem-solving through thoughts. This tool helps analyze problems through a flexible thinking process that can adapt and evolve. Each thought can build on, |
Read live from the server on September 23, 2026.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/sequential-thinking-mcp-server)WebScore is a free website scanner & checker — scan any site for SEO, performance, security and acce
v2.4.0Release notesv2.3.0Release notesv2.2.0Release notesv2.1.0Release notesv2.0.0Release notesv1.0.0Release notes2026.8.31Release 2026.8.31Release notes2026.8.18Release 2026.8.18Release notes2026.7.10Release 2026.7.10Release notes2026.7.4Release 2026.7.4Release notes2026.1.26Release 2026.1.26Release notes2026.1.14Release 2026.1.14Release notes2025.12.18Release 2025.12.18Release notes2025.11.25Release 2025.11.25Release notes2025.9.25Release 2025.9.25Release notes2025.8.4Release 2025.8.4Release notes2025.7.1Release 2025.7.1Release notes2025.4.24Release 2025.4.24Release notes2025.4.6Release 2025.4.6Release notes2025.1.17Release 2025.1.17Release notesConnect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "sequential-thinking-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
WebScore is a free website scanner & checker — scan any site for SEO, performance, security and acce
AI & ML Services
One email a week. New agents, MCP servers and skills, and what is actually getting traction.