An MCP (Model Context Protocol) server that provides sequential thinking capabilities with intelligent tool and skill recommendations for AI assistants.
- Sequential Thinking Framework: Break down complex problems into structured thought steps
- Tool Recommendations: AI-driven tool selection with confidence scores and rationales
- Skill Integration: Support for Claude Code skills with automatic discovery
- Branching & Revision: Non-linear thinking paths with thought revision support
- History Management: Configurable thought history with automatic trimming
- Type-Safe: Full TypeScript support with Valibot validation
Requires Node.js v18+.
From the project root:
chmod +x install-mcp-sequentialthinking-tools.sh
./install-mcp-sequentialthinking-tools.shThis script will:
- Check prerequisites (Node.js, npm)
- Install dependencies and build the project
- Install
sequentialthinking-toolsglobally
Verify the installation:
sequentialthinking-tools --helpTip: Use
./install-mcp-sequentialthinking-tools.sh --linkfor development mode (symlinks instead of copying, rebuild withnpm run buildafter changes).
The server uses stdio transport by default — no extra configuration needed. Add it to your MCP client:
User-scoped (~/.claude.json) or project-scoped (.mcp.json in project root):
{
"mcpServers": {
"sequentialthinking-tools": {
"command": "sequentialthinking-tools"
}
}
}Or via CLI:
claude mcp add sequentialthinking-tools -- sequentialthinking-toolsUser-scoped (~/.codex/config.toml) or project-scoped (.codex/config.toml):
[mcp_servers.sequentialthinking-tools]
command = "sequentialthinking-tools"Or via CLI:
codex mcp add sequentialthinking-tools -- sequentialthinking-toolsGlobal (~/.config/opencode/opencode.json) or project-scoped (.opencode.json):
{
"mcpServers": {
"sequentialthinking-tools": {
"type": "local",
"command": [
"npx",
"-y",
"sequentialthinking-tools"
],
"enabled": true,
"environment": {
"MAX_HISTORY_SIZE": "10000"
}
},
}
}| Variable | Default | Description |
|---|---|---|
MAX_HISTORY_SIZE |
1000 |
Maximum thoughts to keep in history |
The server supports three transports via the TRANSPORT_TYPE environment variable:
| Transport | Use Case | Command |
|---|---|---|
stdio (default) |
Local MCP clients | sequentialthinking-tools |
sse (legacy) |
Multi-user, backwards compat | TRANSPORT_TYPE=sse sequentialthinking-tools |
streamable-http |
Production deployments | TRANSPORT_TYPE=streamable-http sequentialthinking-tools |
npm install
npm run dev # MCP inspector
npm test
npm run type-check
npm run lintMIT