Adaptation of the Sequential Thinking server that breaks problems into steps and recommends which MCP tools to use at each stage.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sequential-thinking-tools --env MAX_HISTORY_SIZE='<MAX_HISTORY_SIZE>' -- npx -y mcp-sequentialthinking-tools~/.codex/config.toml
[mcp_servers.sequential-thinking-tools]
command = "npx"
args = ["-y", "mcp-sequentialthinking-tools"]
env = { MAX_HISTORY_SIZE = "<MAX_HISTORY_SIZE>" }
# codex mcp add sequential-thinking-tools --env MAX_HISTORY_SIZE='<MAX_HISTORY_SIZE>' -- npx -y mcp-sequentialthinking-tools~/.cursor/mcp.json
{
"mcpServers": {
"sequential-thinking-tools": {
"command": "npx",
"args": [
"-y",
"mcp-sequentialthinking-tools"
],
"env": {
"MAX_HISTORY_SIZE": "<MAX_HISTORY_SIZE>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"sequential-thinking-tools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-sequentialthinking-tools"
],
"env": {
"MAX_HISTORY_SIZE": "<MAX_HISTORY_SIZE>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sequential-thinking-tools": {
"command": "npx",
"args": [
"-y",
"mcp-sequentialthinking-tools"
],
"env": {
"MAX_HISTORY_SIZE": "<MAX_HISTORY_SIZE>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sequential-thinking-tools": {
"command": "npx",
"args": [
"-y",
"mcp-sequentialthinking-tools"
],
"env": {
"MAX_HISTORY_SIZE": "<MAX_HISTORY_SIZE>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"sequential-thinking-tools": {
"command": "npx",
"args": [
"-y",
"mcp-sequentialthinking-tools"
],
"env": {
"MAX_HISTORY_SIZE": "<MAX_HISTORY_SIZE>"
}
}
}
}Environment variables
MAX_HISTORY_SIZE
Replace the placeholders with your own credentials and keep them out of version control.