Skills · Coding · Agent

Sequential Thinking MCP Server

Unverified24/40

Originally by modelcontextprotocol · MIT

Claude Code·UnknownFrontmatter could not be read
Cursor·UnknownWe have not crawled the repo tree, so we will not guess
Codex·UnknownWe have not crawled the repo tree, so we will not guess
Gemini CLI·UnknownThe spec defines no detection rule for Gemini
Copilot·UnknownWe have not crawled the repo tree, so we will not guess
npx agentalley add sequentialthinking

This command does not work yet — the CLI is still being built. Until then, use Raw in the reader below to take the file.

Who is stuck, and on what

The whole source

No sign-in, no blur, nothing truncated
sequentialthinking/SKILL.md223 lines7.4 KBRawView on GitHub
Frontmatter: no frontmatter — costs points on criterion B3.
1# Sequential Thinking MCP ServerA5No allowed-tools declared — no way to tell what this skill may touchB3Frontmatter: no frontmatter
2 
3An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
4 
5Published on npm as [`@modelcontextprotocol/server-sequential-thinking`](https://www.npmjs.com/package/@modelcontextprotocol/server-sequential-thinking).
6 
7## Features
8 
9- Break down complex problems into manageable steps
10- Revise and refine thoughts as understanding deepens
11- Branch into alternative paths of reasoning
12- Adjust the total number of thoughts dynamically
13- Generate and verify solution hypotheses
14 
15## Tool
16 
17### sequential_thinking
18 
19Facilitates a detailed, step-by-step thinking process for problem-solving and analysis.
20 
21**Inputs:**
22- `thought` (string): The current thinking step
23- `nextThoughtNeeded` (boolean): Whether another thought step is needed
24- `thoughtNumber` (integer): Current thought number
25- `totalThoughts` (integer): Estimated total thoughts needed
26- `isRevision` (boolean, optional): Whether this revises previous thinking
27- `revisesThought` (integer, optional): Which thought is being reconsidered
28- `branchFromThought` (integer, optional): Branching point thought number
29- `branchId` (string, optional): Branch identifier
30- `needsMoreThoughts` (boolean, optional): If more thoughts are needed
31 
32## Usage
33 
34The Sequential Thinking tool is designed for:
35- Breaking down complex problems into steps
36- Planning and design with room for revision
37- Analysis that might need course correction
38- Problems where the full scope might not be clear initially
39- Tasks that need to maintain context over multiple steps
40- Situations where irrelevant information needs to be filtered out
41 
42In practice, you do not call `sequential_thinking` 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.
43 
44### What it looks like in use
45 
46Example prompts that typically benefit from this tool:
47 
48- `Plan a database migration from PostgreSQL 14 to 16, list risks, and revise the plan if downtime exceeds 5 minutes.`
49- `Debug why this deployment only fails in production and show your reasoning step by step.`
50- `Compare three architecture options for a file sync engine and branch if one assumption turns out to be wrong.`
51 
52### How to tell it is working
53 
54If your host or inspector shows tool activity, you should see repeated calls to `sequential_thinking` with fields such as:
55 
56- `thought`
57- `thoughtNumber`
58- `totalThoughts`
59- `nextThoughtNeeded`
60 
61When the reasoning changes course, you may also see revision or branching fields like `isRevision`, `revisesThought`, `branchFromThought`, or `branchId`.
62 
63### Quick manual verification
64 
65After installing the server in your MCP host:
66 
671. Restart or reload the host so it reconnects to the server.
682. Confirm the `sequential_thinking` tool appears in the host's MCP tool list or inspector.
693. Ask the host to solve a non-trivial problem in a step-by-step way.
704. Verify that the host invokes the tool multiple times instead of returning a one-shot answer.
71 
72## Configuration
73 
74### Usage with Claude Desktop
75 
76Add this to your `claude_desktop_config.json`:
77 
78#### npx
79 
80```json
81{
82 "mcpServers": {
83 "sequential-thinking": {
84 "command": "npx",
85 "args": [
86 "-y",
87 "@modelcontextprotocol/server-sequential-thinking"
88 ]
89 }
90 }
91}
92```
93 
94On Windows, use `cmd /c` to launch `npx`:
95 
96```json
97{
98 "mcpServers": {
99 "sequential-thinking": {
100 "command": "cmd",
101 "args": [
102 "/c",
103 "npx",
104 "-y",
105 "@modelcontextprotocol/server-sequential-thinking"
106 ]
107 }
108 }
109}
110```
111 
112#### docker
113 
114```json
115{
116 "mcpServers": {
117 "sequentialthinking": {
118 "command": "docker",
119 "args": [
120 "run",
121 "--rm",
122 "-i",
123 "mcp/sequentialthinking"
124 ]
125 }
126 }
127}
128```
129 
130To disable logging of thought information set env var: `DISABLE_THOUGHT_LOGGING` to `true`.
131 
132### Usage with VS Code
133 
134For quick installation, click one of the installation buttons below...
135 
136[![Install with NPX in VS Code](https://img.shields.io/badge/VS_Code-NPM-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40modelcontextprotocol%2Fserver-sequential-thinking%22%5D%7D) [![Install with NPX in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-NPM-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40modelcontextprotocol%2Fserver-sequential-thinking%22%5D%7D&quality=insiders)B1Line is 718 characters — unreadable by eye
137 
138[![Install with Docker in VS Code](https://img.shields.io/badge/VS_Code-Docker-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22--rm%22%2C%22-i%22%2C%22mcp%2Fsequentialthinking%22%5D%7D) [![Install with Docker in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Docker-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=sequentialthinking&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22--rm%22%2C%22-i%22%2C%22mcp%2Fsequentialthinking%22%5D%7D&quality=insiders)B1Line is 730 characters — unreadable by eye
139 
140For manual installation, you can configure the MCP server using one of these methods:
141 
142**Method 1: User Configuration (Recommended)**
143Add 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.
144 
145**Method 2: Workspace Configuration**
146Alternatively, 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.
147 
148> For more details about MCP configuration in VS Code, see the [official VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/customization/mcp-servers).
149 
150For NPX installation:
151 
152```json
153{
154 "servers": {
155 "sequential-thinking": {
156 "command": "npx",
157 "args": [
158 "-y",
159 "@modelcontextprotocol/server-sequential-thinking"
160 ]
161 }
162 }
163}
164```
165 
166On Windows, use:
167 
168```json
169{
170 "servers": {
171 "sequential-thinking": {
172 "command": "cmd",
173 "args": [
174 "/c",
175 "npx",
176 "-y",
177 "@modelcontextprotocol/server-sequential-thinking"
178 ]
179 }
180 }
181}
182```
183 
184For Docker installation:
185 
186```json
187{
188 "servers": {
189 "sequential-thinking": {
190 "command": "docker",
191 "args": [
192 "run",
193 "--rm",
194 "-i",
195 "mcp/sequentialthinking"
196 ]
197 }
198 }
199}
200```
201 
202### Usage with Codex CLI
203 
204Run the following:
205 
206#### npx
207 
208```bash
209codex mcp add sequential-thinking npx -y @modelcontextprotocol/server-sequential-thinking
210```
211 
212## Building
213 
214Docker:
215 
216```bash
217docker build -t mcp/sequentialthinking -f src/sequentialthinking/Dockerfile .
218```
219 
220## License
221 
222This 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.
223 

Reviews

Installed this one?Write the first review and take the Trailblazer badge.

Reviews only open after a real install, so this is empty — and we leave it empty rather than invent one.

Alternatives

Also in Coding