{"_id":"@modelcontextprotocol/server-sequential-thinking","_rev":"13-bb122c0f7191287c4ae6f54cb45698db","name":"@modelcontextprotocol/server-sequential-thinking","dist-tags":{"latest":"2026.7.4"},"versions":{"0.5.1":{"name":"@modelcontextprotocol/server-sequential-thinking","version":"0.5.1","author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-sequential-thinking@0.5.1","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"thedsp","email":"experimentalworks@gmail.com"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"752a58e9897c28ff40d65173d0256287f4513328","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-sequential-thinking/-/server-sequential-thinking-0.5.1.tgz","fileCount":3,"integrity":"sha512-l/bpcWvg2SjFzh7aUyUDOp6dSgaS7trTiNoGz/jt+IShD7+HNeZYeWqE21l6KZdw1y284PL89y3IIZmuNdCKJg==","signatures":[{"sig":"MEQCIDaureEMbwQr30mSKR7NsfUW42gB5HZscYVMPUKu/EjxAiB9IALv5W5SzjJhjofnDcWG3cTSztJyu8rOCZxaEVZEOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12532},"type":"module","gitHead":"4818feaeb831756aa78904601cc80a1d03f215c2","scripts":{"build":"tsc && shx chmod +x dist/*.js","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},"_npmVersion":"10.7.0","description":"MCP server for sequential thinking and problem solving","directories":{},"_nodeVersion":"18.20.4","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":"^20.11.0","@types/yargs":"^17.0.32"},"_npmOperationalInternal":{"tmp":"tmp/server-sequential-thinking_0.5.1_1733232334717_0.8612085899051172","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"@modelcontextprotocol/server-sequential-thinking","version":"0.6.0","author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-sequential-thinking@0.6.0","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"thedsp","email":"experimentalworks@gmail.com"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"d436d20310727682d126c4ffb38bd3b598eb7db1","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-sequential-thinking/-/server-sequential-thinking-0.6.0.tgz","fileCount":3,"integrity":"sha512-rYEDPzjk1wWBVMYzVyaNEQxd1/1j798JeEL5tnoennRVvHDPSYyogqAexhZ32diaGauTC7BDzONr2kllIUYYCg==","signatures":[{"sig":"MEQCIEeM56oEXuGoTFnoG6KZX6Rk5oudccFDh0K3msqA4GTjAiBje8rEAcWj+MsPJPiWRYuBIh5uhy12Ha3bEX7D3dGlLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12532},"type":"module","gitHead":"129d80af313c6c0ad9a929f4923c6d8a07d6a9e5","scripts":{"build":"tsc && shx chmod +x dist/*.js","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},"_npmVersion":"10.8.2","description":"MCP server for sequential thinking and problem solving","directories":{},"_nodeVersion":"18.20.5","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":"^20.11.0","@types/yargs":"^17.0.32"},"_npmOperationalInternal":{"tmp":"tmp/server-sequential-thinking_0.6.0_1733241950678_0.384249776985931","host":"s3://npm-registry-packages"}},"0.6.1":{"name":"@modelcontextprotocol/server-sequential-thinking","version":"0.6.1","author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-sequential-thinking@0.6.1","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"thedsp","email":"experimentalworks@gmail.com"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"82a6d2e12925597de8a421cddc265a60976adb4c","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-sequential-thinking/-/server-sequential-thinking-0.6.1.tgz","fileCount":3,"integrity":"sha512-xqgowu9W1CI9/y+jUxnrm5DWXfJsuXh1QIGL1d0SyO0N+oOv7MfUk3/uxc52fE1L6+v07kwXTglCJ95m+njIew==","signatures":[{"sig":"MEUCIEH9+MEf8hq24uH6DSAKjgxutuDti2uKQDCkTI6Rru2CAiEA3Qm6hdmVe898F+ImwJW2fhjSQze6RY4qsfLtIcXvq7g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12532},"type":"module","gitHead":"a096c95e8eaa718b0efbce64ee77e2ddda4fdcd8","scripts":{"build":"tsc && shx chmod +x dist/*.js","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},"_npmVersion":"10.8.2","description":"MCP server for sequential thinking and problem solving","directories":{},"_nodeVersion":"18.20.5","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":"^20.11.0","@types/yargs":"^17.0.32"},"_npmOperationalInternal":{"tmp":"tmp/server-sequential-thinking_0.6.1_1733248346144_0.8534169402630238","host":"s3://npm-registry-packages"}},"0.6.2":{"name":"@modelcontextprotocol/server-sequential-thinking","version":"0.6.2","author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-sequential-thinking@0.6.2","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"thedsp","email":"experimentalworks@gmail.com"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"7bad8e8004fe8650ac3d6f1ef06431de3cb30597","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-sequential-thinking/-/server-sequential-thinking-0.6.2.tgz","fileCount":3,"integrity":"sha512-CgYRG6PPPldPk60Oi/jmPNKQ8hUg1V2rqlBRWsRvB5/QIgb+kyd6dySh0WfEoWC5kT+7avM2qDD8SKEBBHRkOQ==","signatures":[{"sig":"MEUCIQDZ1ZxtZngpoaD5xJ4L/2+G9oKeLMRXF0tmCTVHNfXckgIgfzT++D/9Q8HUQfw1LzmiAcctCtmbvUsV4NEePUSBHng=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12531},"type":"module","gitHead":"94a36286d2ea49d095704167846283f0c2c2d5d1","scripts":{"build":"tsc && shx chmod +x dist/*.js","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},"_npmVersion":"10.8.2","description":"MCP server for sequential thinking and problem solving","directories":{},"_nodeVersion":"18.20.5","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":"^20.11.0","@types/yargs":"^17.0.32"},"_npmOperationalInternal":{"tmp":"tmp/server-sequential-thinking_0.6.2_1733328898109_0.23155000529576708","host":"s3://npm-registry-packages"}},"2025.7.1":{"name":"@modelcontextprotocol/server-sequential-thinking","version":"2025.7.1","author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-sequential-thinking@2025.7.1","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"thedsp","email":"experimentalworks@gmail.com"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"3ab173c5ecfca840d32532426d8439d195d7591d","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-sequential-thinking/-/server-sequential-thinking-2025.7.1.tgz","fileCount":3,"integrity":"sha512-gEMck99hpP+us6CTGACerxOlCsVL+e53kBev5E64m4yaQhnjIj/+vTttapc7Xc1TsvPnzSmtCwKYvcFPZ0tg/w==","signatures":[{"sig":"MEYCIQCOAQh97Tl4jL7a2oovCFPjRCWQ/MzG5j0gPtLorlSfTgIhAOF9ilv3UFF8F2aU6hs41/Sk5AM5ERmcastkNDxvLnst","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15667},"type":"module","gitHead":"8a7ad88e5c6f71211bd4feb15bcb563fb758412b","scripts":{"build":"tsc && shx chmod +x dist/*.js","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"jspahrsummers","actor":{"name":"jspahrsummers","type":"user","email":"justin@jspahrsummers.com"},"email":"justin@jspahrsummers.com"},"_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_2025.7.1_1751394724289_0.7008274529102205","host":"s3://npm-registry-packages-npm-production"}},"2025.11.25":{"name":"@modelcontextprotocol/server-sequential-thinking","version":"2025.11.25","author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-sequential-thinking@2025.11.25","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paulcarletonjr@gmail.com"},{"name":"thedsp","email":"experimentalworks@gmail.com"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"efbd0e2c61e78a028bcfc1835bcccf3f1586850e","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-sequential-thinking/-/server-sequential-thinking-2025.11.25.tgz","fileCount":4,"integrity":"sha512-E91aiN9uKg8BL0Cw52jRWcGYkGzCEDIdILvyW08JdVte99bLqvSIlT9U0dz24TeZxnxc2Wx9dSdCyMo1mLOeKA==","signatures":[{"sig":"MEQCIALOHSWgJj0Nqlq8BCkA9HbscRDhoNwDCeozjpUBTkn8AiBtKAEvE7CO7/jWBvb7vBDlw3tQdMLPca/ZtvOLtvZmHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14190},"type":"module","gitHead":"0155af3069fb6d593165037a28703cb3a595cf67","scripts":{"test":"vitest run --coverage","build":"tsc && shx chmod +x dist/*.js","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"pcarleton","email":"paulcarletonjr@gmail.com"},"_npmVersion":"10.9.4","description":"MCP server for sequential thinking and problem solving","directories":{},"_nodeVersion":"22.21.1","dependencies":{"chalk":"^5.3.0","yargs":"^17.7.2","@modelcontextprotocol/sdk":"^1.19.1"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.4","vitest":"^2.1.8","typescript":"^5.3.3","@types/node":"^22","@types/yargs":"^17.0.32","@vitest/coverage-v8":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/server-sequential-thinking_2025.11.25_1764097381317_0.34780931273812965","host":"s3://npm-registry-packages-npm-production"}},"2025.12.18":{"name":"@modelcontextprotocol/server-sequential-thinking","version":"2025.12.18","author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-sequential-thinking@2025.12.18","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paulcarletonjr@gmail.com"},{"name":"thedsp","email":"experimentalworks@gmail.com"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"bin":{"mcp-server-sequential-thinking":"dist/index.js"},"dist":{"shasum":"5547ea1798848ecc25364f236a9c1fa9f0e93582","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-sequential-thinking/-/server-sequential-thinking-2025.12.18.tgz","fileCount":4,"integrity":"sha512-eFR5I9Z9czXQhDn05wahetZU83YNPO+p1HLSEZZEM5q9U1CLF7zv9+TrmSBfRoPaksEAoM8pTWQ33lRCScSFeQ==","signatures":[{"sig":"MEUCIHbBKhsQKf4StLQ60kUXu6ZvfdVENwTe2SxUtmyxx+IkAiEAr4LxJ8tT7iU5tjoF9JjGDJ0diweD115ZU+5xnyb0xCA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14550},"type":"module","gitHead":"2d18c2308dfb2c751bc31498edfbefe103849b7c","mcpName":"io.github.modelcontextprotocol/server-sequential-thinking","scripts":{"test":"vitest run --coverage","build":"tsc && shx chmod +x dist/*.js","watch":"tsc --watch","prepare":"npm run build"},"_npmUser":{"name":"pcarleton","email":"paulcarletonjr@gmail.com"},"repository":{"url":"git+https://github.com/modelcontextprotocol/servers.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server for sequential thinking and problem solving","directories":{},"_nodeVersion":"22.21.1","dependencies":{"chalk":"^5.3.0","yargs":"^17.7.2","@modelcontextprotocol/sdk":"^1.24.0"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.4","vitest":"^2.1.8","typescript":"^5.3.3","@types/node":"^22","@types/yargs":"^17.0.32","@vitest/coverage-v8":"^2.1.8"},"_npmOperationalInternal":{"tmp":"tmp/server-sequential-thinking_2025.12.18_1766073940551_0.2708816354778554","host":"s3://npm-registry-packages-npm-production"}},"2026.7.4":{"name":"@modelcontextprotocol/server-sequential-thinking","version":"2026.7.4","description":"MCP server for sequential thinking and problem solving","license":"SEE LICENSE IN LICENSE","mcpName":"io.github.modelcontextprotocol/server-sequential-thinking","author":{"name":"Model Context Protocol a Series of LF Projects, LLC."},"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"repository":{"type":"git","url":"git+https://github.com/modelcontextprotocol/servers.git"},"type":"module","bin":{"mcp-server-sequential-thinking":"dist/index.js"},"scripts":{"build":"tsc && shx chmod +x dist/*.js","prepare":"npm run build","watch":"tsc --watch","test":"vitest run --coverage"},"dependencies":{"@modelcontextprotocol/sdk":"^1.29.0","chalk":"^5.3.0","yargs":"^17.7.2"},"devDependencies":{"@types/node":"^22","@types/yargs":"^17.0.32","@vitest/coverage-v8":"^4.1.8","shx":"^0.3.4","typescript":"^5.3.3","vitest":"^4.1.8"},"gitHead":"6dd0a683e198783e30feabf7abaf42f925bd18b1","_id":"@modelcontextprotocol/server-sequential-thinking@2026.7.4","_nodeVersion":"22.23.1","_npmVersion":"11.18.0","dist":{"integrity":"sha512-tmR/ieGaeweffLNBrDp1H1w4sn4M6TN5yWSbMS+YMfS+0GDyPjnNKzqCl2uqfdRiX3D44PJUhwiDGqtJp6tFhw==","shasum":"2fee9c40358565f847eddfc877efba13f98527ef","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-sequential-thinking/-/server-sequential-thinking-2026.7.4.tgz","fileCount":4,"unpackedSize":17285,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-sequential-thinking@2026.7.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBcDulSYAh3zvHfZX0yFK1NBL5zmJe4UG1x7fdtHept2AiEAhCdvlG2WR3SXY+P9wUiXveNVtOT7OxD2R2v8lkalvDg="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4c7619b6-28cd-43b8-8e56-a49c0c9204d6"}},"directories":{},"maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"},{"name":"cliffhall","email":"cliff@futurescale.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/server-sequential-thinking_2026.7.4_1783206313009_0.07696448227998132"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-03T13:25:34.621Z","modified":"2026-07-04T23:05:13.436Z","0.5.1":"2024-12-03T13:25:34.917Z","0.6.0":"2024-12-03T16:05:50.828Z","0.6.1":"2024-12-03T17:52:26.307Z","0.6.2":"2024-12-04T16:14:58.292Z","2025.7.1":"2025-07-01T18:32:04.479Z","2025.11.25":"2025-11-25T19:03:01.504Z","2025.12.18":"2025-12-18T16:05:40.713Z","2026.7.4":"2026-07-04T23:05:13.130Z"},"bugs":{"url":"https://github.com/modelcontextprotocol/servers/issues"},"author":{"name":"Model Context Protocol a Series of LF Projects, LLC."},"license":"SEE LICENSE IN LICENSE","homepage":"https://modelcontextprotocol.io","repository":{"type":"git","url":"git+https://github.com/modelcontextprotocol/servers.git"},"description":"MCP server for sequential thinking and problem solving","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"},{"name":"cliffhall","email":"cliff@futurescale.com"}],"readme":"# Sequential Thinking MCP Server\n\nAn MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.\n\nPublished on npm as [`@modelcontextprotocol/server-sequential-thinking`](https://www.npmjs.com/package/@modelcontextprotocol/server-sequential-thinking).\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\n## Tool\n\n### sequential_thinking\n\nFacilitates a detailed, step-by-step thinking process for problem-solving and analysis.\n\n**Inputs:**\n- `thought` (string): The current thinking step\n- `nextThoughtNeeded` (boolean): Whether another thought step is needed\n- `thoughtNumber` (integer): Current thought number\n- `totalThoughts` (integer): Estimated total thoughts needed\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\nIn 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.\n\n### What it looks like in use\n\nExample prompts that typically benefit from this tool:\n\n- `Plan a database migration from PostgreSQL 14 to 16, list risks, and revise the plan if downtime exceeds 5 minutes.`\n- `Debug why this deployment only fails in production and show your reasoning step by step.`\n- `Compare three architecture options for a file sync engine and branch if one assumption turns out to be wrong.`\n\n### How to tell it is working\n\nIf your host or inspector shows tool activity, you should see repeated calls to `sequential_thinking` with fields such as:\n\n- `thought`\n- `thoughtNumber`\n- `totalThoughts`\n- `nextThoughtNeeded`\n\nWhen the reasoning changes course, you may also see revision or branching fields like `isRevision`, `revisesThought`, `branchFromThought`, or `branchId`.\n\n### Quick manual verification\n\nAfter installing the server in your MCP host:\n\n1. Restart or reload the host so it reconnects to the server.\n2. Confirm the `sequential_thinking` tool appears in the host's MCP tool list or inspector.\n3. Ask the host to solve a non-trivial problem in a step-by-step way.\n4. Verify that the host invokes the tool multiple times instead of returning a one-shot answer.\n\n## Configuration\n\n### Usage with Claude Desktop\n\nAdd this to your `claude_desktop_config.json`:\n\n#### npx\n\n```json\n{\n  \"mcpServers\": {\n    \"sequential-thinking\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@modelcontextprotocol/server-sequential-thinking\"\n      ]\n    }\n  }\n}\n```\n\nOn Windows, use `cmd /c` to launch `npx`:\n\n```json\n{\n  \"mcpServers\": {\n    \"sequential-thinking\": {\n      \"command\": \"cmd\",\n      \"args\": [\n        \"/c\",\n        \"npx\",\n        \"-y\",\n        \"@modelcontextprotocol/server-sequential-thinking\"\n      ]\n    }\n  }\n}\n```\n\n#### docker\n\n```json\n{\n  \"mcpServers\": {\n    \"sequentialthinking\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"--rm\",\n        \"-i\",\n        \"mcp/sequentialthinking\"\n      ]\n    }\n  }\n}\n```\n\nTo disable logging of thought information set env var: `DISABLE_THOUGHT_LOGGING` to `true`.\n\n### Usage with VS Code\n\nFor quick installation, click one of the installation buttons below...\n\n[![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)\n\n[![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)\n\nFor manual installation, you can configure the MCP server using one of these methods:\n\n**Method 1: User Configuration (Recommended)**\nAdd 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.\n\n**Method 2: Workspace Configuration**\nAlternatively, 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.\n\n> 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).\n\nFor NPX installation:\n\n```json\n{\n  \"servers\": {\n    \"sequential-thinking\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@modelcontextprotocol/server-sequential-thinking\"\n      ]\n    }\n  }\n}\n```\n\nOn Windows, use:\n\n```json\n{\n  \"servers\": {\n    \"sequential-thinking\": {\n      \"command\": \"cmd\",\n      \"args\": [\n        \"/c\",\n        \"npx\",\n        \"-y\",\n        \"@modelcontextprotocol/server-sequential-thinking\"\n      ]\n    }\n  }\n}\n```\n\nFor Docker installation:\n\n```json\n{\n  \"servers\": {\n    \"sequential-thinking\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"--rm\",\n        \"-i\",\n        \"mcp/sequentialthinking\"\n      ]\n    }\n  }\n}\n```\n\n### Usage with Codex CLI\n\nRun the following:\n\n#### npx\n\n```bash\ncodex mcp add sequential-thinking npx -y @modelcontextprotocol/server-sequential-thinking\n```\n\n## Building\n\nDocker:\n\n```bash\ndocker build -t mcp/sequentialthinking -f src/sequentialthinking/Dockerfile .\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"}