The MCP Sequential Thinking server enhances your problem-solving process by automatically recommending appropriate tools based on your thought content. It combines 26 pre-configured tools including Claude Code tools and Basic Memory integration to suggest the right tools at the right time based on intelligent pattern matching.
You can install the server using npm or npx:
npm install mcp-sequentialthinking-tools
# or use directly with npx
npx -y mcp-sequentialthinking-tools
The server requires configuration through your MCP client. Here are examples for different environments:
Add this to your Cline MCP settings:
{
"mcpServers": {
"mcp-sequentialthinking-tools": {
"command": "npx",
"args": ["-y", "mcp-sequentialthinking-tools"]
}
}
}
For WSL environments, add this to your Claude Desktop configuration:
{
"mcpServers": {
"mcp-sequentialthinking-tools": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"source ~/.nvm/nvm.sh && /home/username/.nvm/versions/node/v20.12.1/bin/npx mcp-sequentialthinking-tools"
]
}
}
}
The server implements a single MCP tool with configurable parameters that helps guide your problem-solving process.
The server comes with 26 pre-configured tools:
Read
, Write
, Edit
, MultiEdit
, LS
, Glob
, Grep
Bash
, Agent
NotebookRead
, NotebookEdit
WebFetch
, WebSearch
TodoRead
, TodoWrite
StickerRequest
mcp__basic-memory__write_note
- Record knowledgemcp__basic-memory__read_note
- Access saved informationmcp__basic-memory__search_notes
- Search your knowledge basemcp__basic-memory__build_context
- Follow knowledge connectionsThe server automatically analyzes your thoughts and recommends appropriate tools:
// You think: "I need to save this important decision"
// Server automatically recommends: mcp__basic-memory__write_note (0.95 confidence)
// You think: "Search for all TODO comments"
// Server automatically recommends: Grep (0.85), Agent (0.75)
Each recommendation includes:
Here's an example of how the server guides tool usage:
{
"thought": "Initial research step to understand what universal reactivity means in Svelte 5",
"current_step": {
"step_description": "Gather initial information about Svelte 5's universal reactivity",
"expected_outcome": "Clear understanding of universal reactivity concept",
"recommended_tools": [
{
"tool_name": "search_docs",
"confidence": 0.9,
"rationale": "Search Svelte documentation for official information",
"priority": 1
},
{
"tool_name": "tavily_search",
"confidence": 0.8,
"rationale": "Get additional context from reliable sources",
"priority": 2
}
],
"next_step_conditions": [
"Verify information accuracy",
"Look for implementation details"
]
},
"thought_number": 1,
"total_thoughts": 5,
"next_thought_needed": true
}
The sequentialthinking_tools
tool accepts these parameters:
thought
(string, required): Your current thinking stepnext_thought_needed
(boolean, required): Whether another thought step is neededthought_number
(integer, required): Current thought numbertotal_thoughts
(integer, required): Estimated total thoughts neededis_revision
(boolean, optional): Whether this revises previous thinkingrevises_thought
(integer, optional): Which thought is being reconsideredbranch_from_thought
(integer, optional): Branching point thought numberbranch_id
(string, optional): Branch identifierneeds_more_thoughts
(boolean, optional): If more thoughts are neededcurrent_step
(object, optional): Current step recommendation with:
step_description
: What needs to be donerecommended_tools
: Array of tool recommendations with confidence scoresexpected_outcome
: What to expect from this stepnext_step_conditions
: Conditions for next stepprevious_steps
(array, optional): Steps already recommendedremaining_steps
(array, optional): High-level descriptions of upcoming stepsThe server supports:
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "mcp-sequentialthinking-tools" '{"command":"npx","args":["-y","mcp-sequentialthinking-tools"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"mcp-sequentialthinking-tools": {
"command": "npx",
"args": [
"-y",
"mcp-sequentialthinking-tools"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"mcp-sequentialthinking-tools": {
"command": "npx",
"args": [
"-y",
"mcp-sequentialthinking-tools"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect