Official MCP reference server that structures problem solving into a dynamic sequence of revisable, branching thoughts.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking~/.codex/config.toml
[mcp_servers.sequential-thinking]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-sequential-thinking"]
# codex mcp add sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking~/.cursor/mcp.json
{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}.vscode/mcp.json
{
"servers": {
"sequential-thinking": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}