gotza02-ultimate-thinking 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +155 -0
- package/dist/edge-case-analysis.d.ts +8 -0
- package/dist/edge-case-analysis.d.ts.map +1 -0
- package/dist/edge-case-analysis.js +725 -0
- package/dist/edge-case-analysis.js.map +1 -0
- package/dist/enhanced-index.d.ts +3 -0
- package/dist/enhanced-index.d.ts.map +1 -0
- package/dist/enhanced-index.js +752 -0
- package/dist/enhanced-index.js.map +1 -0
- package/dist/enhanced-lib.d.ts +328 -0
- package/dist/enhanced-lib.d.ts.map +1 -0
- package/dist/enhanced-lib.js +1371 -0
- package/dist/enhanced-lib.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +115 -0
- package/dist/index.js.map +1 -0
- package/dist/lib.d.ts +31 -0
- package/dist/lib.d.ts.map +1 -0
- package/dist/lib.js +119 -0
- package/dist/lib.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +55 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Model Context Protocol a Series of LF Projects, LLC (Modified by User)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Sequential Thinking MCP Server
|
|
2
|
+
|
|
3
|
+
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Break down complex problems into manageable steps
|
|
8
|
+
- Revise and refine thoughts as understanding deepens
|
|
9
|
+
- Branch into alternative paths of reasoning
|
|
10
|
+
- Adjust the total number of thoughts dynamically
|
|
11
|
+
- Generate and verify solution hypotheses
|
|
12
|
+
|
|
13
|
+
## Tool
|
|
14
|
+
|
|
15
|
+
### sequential_thinking
|
|
16
|
+
|
|
17
|
+
Facilitates a detailed, step-by-step thinking process for problem-solving and analysis.
|
|
18
|
+
|
|
19
|
+
**Inputs:**
|
|
20
|
+
- `thought` (string): The current thinking step
|
|
21
|
+
- `nextThoughtNeeded` (boolean): Whether another thought step is needed
|
|
22
|
+
- `thoughtNumber` (integer): Current thought number
|
|
23
|
+
- `totalThoughts` (integer): Estimated total thoughts needed
|
|
24
|
+
- `isRevision` (boolean, optional): Whether this revises previous thinking
|
|
25
|
+
- `revisesThought` (integer, optional): Which thought is being reconsidered
|
|
26
|
+
- `branchFromThought` (integer, optional): Branching point thought number
|
|
27
|
+
- `branchId` (string, optional): Branch identifier
|
|
28
|
+
- `needsMoreThoughts` (boolean, optional): If more thoughts are needed
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
The Sequential Thinking tool is designed for:
|
|
33
|
+
- Breaking down complex problems into steps
|
|
34
|
+
- Planning and design with room for revision
|
|
35
|
+
- Analysis that might need course correction
|
|
36
|
+
- Problems where the full scope might not be clear initially
|
|
37
|
+
- Tasks that need to maintain context over multiple steps
|
|
38
|
+
- Situations where irrelevant information needs to be filtered out
|
|
39
|
+
|
|
40
|
+
## Configuration
|
|
41
|
+
|
|
42
|
+
### Usage with Claude Desktop
|
|
43
|
+
|
|
44
|
+
Add this to your `claude_desktop_config.json`:
|
|
45
|
+
|
|
46
|
+
#### npx
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"mcpServers": {
|
|
51
|
+
"sequential-thinking": {
|
|
52
|
+
"command": "npx",
|
|
53
|
+
"args": [
|
|
54
|
+
"-y",
|
|
55
|
+
"gotza02-ultimate-thinking"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### docker
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{
|
|
66
|
+
"mcpServers": {
|
|
67
|
+
"sequentialthinking": {
|
|
68
|
+
"command": "docker",
|
|
69
|
+
"args": [
|
|
70
|
+
"run",
|
|
71
|
+
"--rm",
|
|
72
|
+
"-i",
|
|
73
|
+
"mcp/sequentialthinking"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
To disable logging of thought information set env var: `DISABLE_THOUGHT_LOGGING` to `true`.
|
|
81
|
+
Comment
|
|
82
|
+
|
|
83
|
+
### Usage with VS Code
|
|
84
|
+
|
|
85
|
+
For quick installation, click one of the installation buttons below...
|
|
86
|
+
|
|
87
|
+
[](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) [](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)
|
|
88
|
+
|
|
89
|
+
[](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) [](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)
|
|
90
|
+
|
|
91
|
+
For manual installation, you can configure the MCP server using one of these methods:
|
|
92
|
+
|
|
93
|
+
**Method 1: User Configuration (Recommended)**
|
|
94
|
+
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.
|
|
95
|
+
|
|
96
|
+
**Method 2: Workspace Configuration**
|
|
97
|
+
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.
|
|
98
|
+
|
|
99
|
+
> 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).
|
|
100
|
+
|
|
101
|
+
For NPX installation:
|
|
102
|
+
|
|
103
|
+
```json
|
|
104
|
+
{
|
|
105
|
+
"servers": {
|
|
106
|
+
"sequential-thinking": {
|
|
107
|
+
"command": "npx",
|
|
108
|
+
"args": [
|
|
109
|
+
"-y",
|
|
110
|
+
"gotza02-ultimate-thinking"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
For Docker installation:
|
|
118
|
+
|
|
119
|
+
```json
|
|
120
|
+
{
|
|
121
|
+
"servers": {
|
|
122
|
+
"sequential-thinking": {
|
|
123
|
+
"command": "docker",
|
|
124
|
+
"args": [
|
|
125
|
+
"run",
|
|
126
|
+
"--rm",
|
|
127
|
+
"-i",
|
|
128
|
+
"mcp/sequentialthinking"
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Usage with Codex CLI
|
|
136
|
+
|
|
137
|
+
Run the following:
|
|
138
|
+
|
|
139
|
+
#### npx
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
codex mcp add sequential-thinking npx -y gotza02-ultimate-thinking
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Building
|
|
146
|
+
|
|
147
|
+
Docker:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
docker build -t mcp/sequentialthinking -f src/sequentialthinking/Dockerfile .
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## License
|
|
154
|
+
|
|
155
|
+
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.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Edge Cases & Bug Hunting Analysis for Sequential Thinking MCP Server
|
|
4
|
+
*
|
|
5
|
+
* This file contains comprehensive tests for all edge cases mentioned in the analysis request.
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=edge-case-analysis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edge-case-analysis.d.ts","sourceRoot":"","sources":["../edge-case-analysis.ts"],"names":[],"mappings":";AAEA;;;;GAIG"}
|