No description
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Cargo.toml | ||
| Dockerfile | ||
| LICENSE | ||
| mcp-manifest.json | ||
| README.md | ||
MCP Sequential Thinking Server
A Model Context Protocol (MCP) server that provides dynamic and reflective problem-solving through structured thoughts with per-context isolation.
Description
This server implements a sequential thinking tool that helps AI models break down complex problems into manageable steps. Each thought can build on, question, or revise previous insights as understanding deepens. The server supports multiple isolated contexts, allowing different AI clients to maintain separate thinking sessions.
Features
- Dynamic Problem Solving: Flexible thinking process that can adapt and evolve
- Context Isolation: Per-context state management for multiple concurrent sessions
- Thought Revision: Ability to question, revise, or branch from previous thoughts
- SSE Transport: Real-time communication via Server-Sent Events
- Docker Support: Containerized deployment ready
- Configurable Logging: Optional thought logging with environment variables
Building
Prerequisites
- Rust 1.91 or later
- Git (for dependencies)
Build from Source
cargo build --release
Build with Docker
docker build -t mcp-seqthink .
Configuration
The server can be configured using environment variables:
BIND_ADDRESS: Server bind address (default:127.0.0.1:3000)DISABLE_THOUGHT_LOGGING: Disable thought logging (true/false, default:false)RUST_LOG: Log level (default:info)
Running
Local Development
# Run with default settings
cargo run
# Run with custom bind address
BIND_ADDRESS=0.0.0.0:8080 cargo run
# Run with disabled thought logging
DISABLE_THOUGHT_LOGGING=true cargo run
Docker
# Run with default settings
docker run -p 3000:3000 mcp-seqthink
# Run with custom configuration
docker run -p 8080:8080 -e BIND_ADDRESS=0.0.0.0:8080 -e DISABLE_THOUGHT_LOGGING=true mcp-seqthink
MCP Client Configuration
The server provides discovery endpoints at:
/.well-known/mcp/discovery
For context-specific connections:
- SSE endpoint:
/{context}/sse - Message endpoint:
/{context}/message