A Model Context Protocol (MCP) plugin that implements sequential thinking for dynamic and reflective problem-solving. This plugin is based on the TypeScript sequential thinking server and adapted for the Go WASM plugin architecture.
This tool helps analyze problems through a flexible thinking process that can adapt and evolve. Each thought can build on, question, or revise previous insights as understanding deepens.
- Dynamic thinking process: Adjust the number of thoughts as you progress
- Revision capability: Question or revise previous thoughts
- Branching logic: Explore alternative approaches
- Context maintenance: Keep track of the entire thinking process
- Hypothesis generation and verification: Build and test solution hypotheses
- Breaking down complex problems into steps
- Planning and design with room for revision
- Analysis that might need course correction
- Problems where the full scope might not be clear initially
- Multi-step solutions requiring context maintenance
- Filtering out irrelevant information
{
"plugins": [
{
"name": "sequentialthinking",
"path": "oci://ghcr.io/sevir/hyper-mcp-sequentialthinking:latest"
}
]
}thought(string): Your current thinking stepnextThoughtNeeded(boolean): Whether another thought step is neededthoughtNumber(integer): Current thought number in sequencetotalThoughts(integer): Estimated total thoughts needed
isRevision(boolean): Whether this thought revises previous thinkingrevisesThought(integer): Which thought number is being reconsideredbranchFromThought(integer): Branching point thought numberbranchId(string): Identifier for the current branchneedsMoreThoughts(boolean): If more thoughts are needed at the end
{
"thought": "Let me break down this problem into smaller components...",
"thoughtNumber": 1,
"totalThoughts": 5,
"nextThoughtNeeded": true
}# Build the WASM plugin
docker build -t sequentialthinking-plugin .
# Or build locally with tinygo
tinygo build -target wasi -o plugin.wasm .This plugin maintains internal state for:
- Thought history: All thoughts in chronological order
- Branches: Alternative thinking paths identified by branch IDs
- Visual formatting: Formatted output with emojis and structure
The plugin follows the sequential thinking methodology allowing for:
- Linear progression through thoughts
- Revision of previous thoughts when new insights emerge
- Branching into alternative approaches
- Dynamic adjustment of the total thought count
- Verification and hypothesis testing