{"_id":"@ahxxm/server-sequential-thinking","_rev":"3-ea3146e0dd3a60b13e3310f48364fc5a","name":"@ahxxm/server-sequential-thinking","dist-tags":{"latest":"0.6.5"},"versions":{"0.6.3":{"name":"@ahxxm/server-sequential-thinking","version":"0.6.3","keywords":["MCP"],"license":"MIT","_id":"@ahxxm/server-sequential-thinking@0.6.3","maintainers":[{"name":"ahxxm","email":"npm@ahxxm.com"}],"homepage":"https://modelcontextprotocol.io","bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"e3c8c8200d28fca429f4f764ecb9dcf9069e4aa2","tarball":"https://registry.npmjs.org/@ahxxm/server-sequential-thinking/-/server-sequential-thinking-0.6.3.tgz","fileCount":6,"integrity":"sha512-xMdge8wq38yAM1UF9w/yu0CoNGkXEpvFrbihcoqdGM1BDU4TBdJvLpLSs/s72Pt1vrdDElUBKbtGraElecg3tg==","signatures":[{"sig":"MEYCIQCykSrKmHSSfy1rIHcx6iWiKWwyZ8YqicJ+FHp90lzw9gIhAJQATxJOQnofZIg2bbKPUcli4dgPotqHQWQ3OVu/FIcM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26205},"type":"module","gitHead":"66df809a98ae944ed7e6f4845421f146db66fc10","scripts":{"build":"tsc && npx shx chmod +x dist/*.js","clean":"npx shx rm -rf dist","start":"node dist/index.js","watch":"tsc --watch","prepare":"npm run build","install:ci":"npm ci --ignore-scripts","install:prod":"npm ci --ignore-scripts --omit=dev"},"_npmUser":{"name":"ahxxm","actor":{"name":"ahxxm","type":"user","email":"npm@ahxxm.com"},"email":"npm@ahxxm.com"},"repository":{"url":"https://git.sr.ht/~ahxxm/sequentialthink.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for sequential thinking and problem solving","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^5.3.0","yargs":"^17.7.2","@modelcontextprotocol/sdk":"0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.4","typescript":"^5.3.3","@types/node":"^22","@types/yargs":"^17.0.32"},"_npmOperationalInternal":{"tmp":"tmp/server-sequential-thinking_0.6.3_1750479247086_0.7751433843997835","host":"s3://npm-registry-packages-npm-production"}},"0.6.4":{"name":"@ahxxm/server-sequential-thinking","version":"0.6.4","keywords":["MCP"],"license":"MIT","_id":"@ahxxm/server-sequential-thinking@0.6.4","maintainers":[{"name":"ahxxm","email":"npm@ahxxm.com"}],"homepage":"https://modelcontextprotocol.io","bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"081141cffacf5c18e6f3f30d07cd043ce680a573","tarball":"https://registry.npmjs.org/@ahxxm/server-sequential-thinking/-/server-sequential-thinking-0.6.4.tgz","fileCount":6,"integrity":"sha512-VDvnbk+5cAoPbpqR1irnXRyXXbPeNhYVhOgj3zh9H1PZrSmvg4SDGD+SSgvkuzqmGAXN60JU/RjXNds2ugvdUg==","signatures":[{"sig":"MEYCIQCtTMIfvqEZRI+vxdMVDm3pX+eo/SmzNCL7z+qXmj+g/gIhAMsXoAU60gUj3atdHd3em38WlPcMscRMSE8Fzvu3eNnG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26216},"type":"module","gitHead":"7b72c1c18f01bc320eb8a52f3c117573c3919f15","scripts":{"build":"tsc && npx shx chmod +x dist/*.js","clean":"npx shx rm -rf dist","start":"node dist/index.js","watch":"tsc --watch","prepare":"npm run build","install:ci":"npm ci --ignore-scripts","install:prod":"npm ci --ignore-scripts --omit=dev"},"_npmUser":{"name":"ahxxm","actor":{"name":"ahxxm","type":"user","email":"npm@ahxxm.com"},"email":"npm@ahxxm.com"},"repository":{"url":"https://git.sr.ht/~ahxxm/sequentialthink.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for sequential thinking and problem solving","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^5.3.0","yargs":"^17.7.2","@modelcontextprotocol/sdk":"0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.4","typescript":"^5.3.3","@types/node":"^22","@types/yargs":"^17.0.32"},"_npmOperationalInternal":{"tmp":"tmp/server-sequential-thinking_0.6.4_1750479869698_0.08693642715305439","host":"s3://npm-registry-packages-npm-production"}},"0.6.5":{"name":"@ahxxm/server-sequential-thinking","version":"0.6.5","description":"MCP server for sequential thinking and problem solving","license":"MIT","homepage":"https://modelcontextprotocol.io","type":"module","bin":{"mcp-server-sequential-thinking":"dist/index.js"},"scripts":{"clean":"npx shx rm -rf dist","build":"tsc && npx shx chmod +x dist/*.js","install:ci":"npm ci --ignore-scripts","install:prod":"npm ci --ignore-scripts --omit=dev","prepare":"npm run build","watch":"tsc --watch","start":"node dist/index.js","test":"vitest run --coverage"},"dependencies":{"@modelcontextprotocol/sdk":"^1.24.0","chalk":"^5.3.0","zod":"^3.24.0"},"devDependencies":{"@types/node":"^22","@vitest/coverage-v8":"^2.1.8","shx":"^0.3.4","typescript":"^5.3.3","vitest":"^2.1.8"},"repository":{"type":"git","url":"https://git.sr.ht/~ahxxm/sequentialthink.git"},"keywords":["MCP"],"_id":"@ahxxm/server-sequential-thinking@0.6.5","gitHead":"572725468a31933469bd2b2a72ef5f809508ebd5","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-pbcGeZFfWfAQgdsgyJP+Gzh1T2cYdxK27Tqwip+eOPpDdaiyKUJZSoOYfGUCHCvVdKI2BiJOx55lr/5FQ8N9Ew==","shasum":"c6872c19adb987ca66f3248b567cb3e6c1cae1a0","tarball":"https://registry.npmjs.org/@ahxxm/server-sequential-thinking/-/server-sequential-thinking-0.6.5.tgz","fileCount":6,"unpackedSize":23289,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFA3KjpG6piK5RjrRHC08rkcbPvuKkRO8A3QFW0n0fkgAiEAuLbNWHysdz7nd5UjgucSqDueFiiUgPqHEBnSfU5OWeY="}]},"_npmUser":{"name":"ahxxm","email":"npm@ahxxm.com"},"directories":{},"maintainers":[{"name":"ahxxm","email":"npm@ahxxm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/server-sequential-thinking_0.6.5_1766970781546_0.5570070322808147"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-21T04:14:07.019Z","modified":"2025-12-29T01:13:01.888Z","0.6.3":"2025-06-21T04:14:07.257Z","0.6.4":"2025-06-21T04:24:29.870Z","0.6.5":"2025-12-29T01:13:01.684Z"},"license":"MIT","homepage":"https://modelcontextprotocol.io","keywords":["MCP"],"repository":{"type":"git","url":"https://git.sr.ht/~ahxxm/sequentialthink.git"},"description":"MCP server for sequential thinking and problem solving","maintainers":[{"name":"ahxxm","email":"npm@ahxxm.com"}],"readme":"# Sequential Thinking MCP Server\n\nAn MCP server implementation that provides a tool for reflective, assumption-aware reasoning through a structured thinking process that makes metacognition explicit.\n\n## Features\n\n- Break down complex problems into manageable steps\n- Revise and refine thoughts as understanding deepens\n- Branch into alternative paths of reasoning\n- Adjust the total number of thoughts dynamically\n- Generate and verify solution hypotheses\n- Identify assumptions that need verification\n- Pause thinking to gather evidence from other tools\n- Resume reasoning with new information\n\n## Workflow\n\nThe Sequential Thinking tool works in an iterative cycle with other evidence-gathering tools:\n\n```mermaid\ngraph TD\n    A[\"Sequential Thinking Tool<br/>Begin Reflective Analysis\"] --> B[\"Generate Thoughts<br/>Identify Assumptions\"]\n    B --> C{\"Assumptions Need<br/>Verification?\"}\n    C -->|Yes| D[\"Pause Thinking<br/>nextThoughtNeeded=false<br/>Output Assumptions\"]\n    C -->|No| E[\"Continue Thinking<br/>nextThoughtNeeded=true\"]\n    D --> F[\"Other Tools<br/>Gather Evidence<br/>(web search, file reading, etc.)\"]\n    F --> G[\"Resume Thinking<br/>With New Evidence\"]\n    G --> B\n    E --> H{\"All Assumptions<br/>Verified?\"}\n    H -->|No| B\n    H -->|Yes| I[\"Final Conclusion<br/>nextThoughtNeeded=false\"]\n```\n\nThis workflow emphasizes rigorous reasoning by:\n1. Explicitly identifying assumptions\n2. Pausing to gather supporting evidence\n3. Verifying assumptions before reaching conclusions\n4. Allowing flexible iteration between thinking and evidence gathering\n\n## Tool\n\n### sequential_thinking\n\nFacilitates reflective, assumption-aware reasoning by making thinking explicit, identifying underlying assumptions, and recognizing when external verification is needed.\n\n**Inputs:**\n- `thought` (string): The current thinking step\n- `nextThoughtNeeded` (boolean): Whether to continue thinking or pause (can be false even with unverified assumptions)\n- `thoughtNumber` (integer): Current thought number\n- `totalThoughts` (integer): Estimated total thoughts needed\n- `assumptions` (string, optional): Unverified assumptions that need evidence\n- `evidence` (string, optional): Supporting evidence and verified assumptions\n- `isRevision` (boolean, optional): Whether this revises previous thinking\n- `revisesThought` (integer, optional): Which thought is being reconsidered\n- `branchFromThought` (integer, optional): Branching point thought number\n- `branchId` (string, optional): Branch identifier\n- `needsMoreThoughts` (boolean, optional): If more thoughts are needed\n\n## Usage\n\nThe Sequential Thinking tool is designed for:\n- Breaking down complex problems into steps\n- Planning and design with room for revision\n- Analysis that might need course correction\n- Problems where the full scope might not be clear initially\n- Tasks that need to maintain context over multiple steps\n- Situations where irrelevant information needs to be filtered out\n\n## Configuration\n\n### Claude Code/Desktop\n\nAdd this to `~/.claude.json` or `claude_desktop_config.json`:\n\n#### Local Development\n\n```json\n{\n  \"mcpServers\": {\n    \"sequential-thinking\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/your/seq-think/dist/index.js\"]\n    }\n  }\n}\n```\n\n#### npx\n\n```json\n{\n  \"mcpServers\": {\n    \"sequential-thinking\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@ahxxm/server-sequential-thinking\"\n      ]\n    }\n  }\n}\n```\n\n\n\n### Cursor / VS Code\n\nFor manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open Settings (JSON)`:\n\n```json\n{\n  \"mcp\": {\n    \"servers\": {\n      \"sequential-thinking\": {\n        \"command\": \"npx\",\n        \"args\": [\n          \"-y\",\n          \"@ahxxm/server-sequential-thinking\"\n        ]\n      }\n    }\n  }\n}\n```\n\n\nOptionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.\n\n> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.\n\n\n## Building\n\nTo build the project locally:\n\n```bash\nnpm run build\n```\n\nFor production builds:\n\n```bash\nnpm run build:prod\n```\n\nFor CI/CD environments:\n\n```bash\nnpm run install:ci\nnpm run build:prod\n```\n\n## License\n\nThis 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.\n","readmeFilename":"README.md"}