| Crates.io | sequential-thinking-mcp |
| lib.rs | sequential-thinking-mcp |
| version | 0.0.1 |
| created_at | 2026-01-23 03:29:02.651115+00 |
| updated_at | 2026-01-23 03:29:02.651115+00 |
| description | A Model Context Protocol (MCP) server for sequential thinking and problem-solving |
| homepage | |
| repository | https://gitee.com/awol2010ex/server-sequential-thinking-mcp-rust |
| max_upload_size | |
| id | 2063330 |
| size | 85,426 |
A Model Context Protocol (MCP) server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
cargo install sequential-thinking-mcp
git clone https://gitee.com/awol2010ex/server-sequential-thinking-mcp-rust.git
cd server-sequential-thinking-mcp-rust
cargo build --release
Add this configuration to your Trae IDE MCP settings:
{
"sequential-thinking": {
"command": "cargo",
"args": ["run", "--release", "--bin", "sequential-thinking-mcp"],
"cwd": "E:/workspace_rust/server-sequential-thinking-mcp-rust"
}
}
Create .trae/mcp.json in your workspace root:
{
"servers": {
"sequential-thinking": {
"command": "cargo",
"args": ["run", "--release", "--bin", "sequential-thinking-mcp"],
"cwd": "E:/workspace_rust/server-sequential-thinking-mcp-rust"
}
}
}
If you've built the release binary:
{
"sequential-thinking": {
"command": "E:/workspace_rust/server-sequential-thinking-mcp-rust/target/release/sequential-thinking-mcp"
}
}
Add this to your user or workspace mcp.json:
{
"servers": {
"sequential-thinking": {
"command": "cargo",
"args": ["run", "--release", "--bin", "sequential-thinking-mcp"]
}
}
}
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"sequential-thinking": {
"command": "cargo",
"args": ["run", "--release", "--bin", "sequential-thinking-mcp"]
}
}
}
{
"mcpServers": {
"sequentialthinking": {
"command": "docker",
"args": ["run", "--rm", "-i", "mcp/sequentialthinking"]
}
}
}
DISABLE_THOUGHT_LOGGING: Set to true to disable logging of thought informationRUST_LOG: Configure logging level (e.g., RUST_LOG=sequential_thinking_mcp=info,debug){
"method": "tools/call",
"params": {
"name": "create_session",
"arguments": {
"title": "Solving Complex Algorithm Problem"
}
}
}
{
"method": "tools/call",
"params": {
"name": "sequential_thinking",
"arguments": {
"thought": "First, I need to understand the problem requirements and constraints",
"thoughtNumber": 1,
"totalThoughts": 5,
"nextThoughtNeeded": true
}
}
}
{
"method": "tools/call",
"params": {
"name": "set_solution_hypothesis",
"arguments": {
"hypothesis": "By breaking down the problem into smaller subproblems and using dynamic programming, we can achieve optimal solution"
}
}
}
{
"method": "tools/call",
"params": {
"name": "verify_hypothesis",
"arguments": {
"verification": "The hypothesis is valid as dynamic programming can handle overlapping subproblems efficiently"
}
}
}
sequential_thinkingFacilitates a detailed, step-by-step thinking process for problem-solving and analysis.
Parameters:
thought (string): The current thinking stepnextThoughtNeeded (boolean): Whether another thought step is neededthoughtNumber (integer): Current thought numbertotalThoughts (integer): Estimated total thoughts neededisRevision (boolean, optional): Whether this revises previous thinkingrevisesThought (integer, optional): Which thought is being reconsideredbranchFromThought (integer, optional): Branching point thought numberbranchId (string, optional): Branch identifierneedsMoreThoughts (boolean, optional): If more thoughts are neededsessionId (string, optional): Session IDcreate_sessionCreate a new thinking session.
Parameters:
title (string, optional): Session titleget_session_infoGet information about a thinking session.
Parameters:
sessionId (string, optional): Session IDget_thoughtsGet all thoughts from a session.
Parameters:
sessionId (string, optional): Session IDset_solution_hypothesisSet a solution hypothesis for the thinking process.
Parameters:
hypothesis (string): The solution hypothesissessionId (string, optional): Session IDverify_hypothesisVerify a solution hypothesis.
Parameters:
verification (string): The verification resultsessionId (string, optional): Session IDcomplete_sessionComplete a thinking session.
Parameters:
sessionId (string, optional): Session IDlist_sessionsList all thinking sessions.
Parameters:
# Clone the repository
git clone <repository-url>
cd server-sequential-thinking-mcp-rust
# Build the project
cargo build --release
# Run tests
cargo test
# Run the server
cargo run --release --bin sequential-thinking-mcp
src/
├── core.rs # Core business logic (sessions, thoughts)
├── handlers.rs # MCP request handlers
├── lib.rs # Library exports
└── main.rs # Application entry point
Licensed under the Apache License, Version 2.0. See LICENSE for details.