mcp-sequentialthinking-tools
mcp-sequentialthinking-tools
逐次的な推論ステップを記録するための軽量なMCPサーバーです。これは、履歴、ブランチ、リビジョンメタデータ、およびモデルが作成したツールプランのオプションの検証機能を備えたスクラッチパッドです。
このサーバーは、他のMCPツールを自動的に検出したり、モデルのためにツールを選択したりすることはありません。available_tools と recommended_tools を渡すと、サーバーは推奨された名前が存在するかどうかを検証し、そのステップを保存します。
なぜこれを使うのか?
明示的で検証可能な推論がタスクに役立つ場合に使用してください:
複雑な問題をステップに分解する
プランの修正や分岐を行う
セッションごとに小さな推論履歴を保持する
提供されたツールリストに対してツールプラン名を検証する
長いエージェント実行中に推論履歴をクリアまたは確認する
些細なリクエストには使用しないでください。オーバーヘッドが増加します。
Related MCP server: Sequential-Thinking
ツール
sequentialthinking_tools
思考を1つ記録します。
必須パラメータ:
thought— 現在の推論ステップthought_number— 現在のステップ番号total_thoughts— 現在の推定値。thought_numberより小さい場合は自動的に引き上げられますnext_thought_needed— 次の思考が必要かどうか
オプションパラメータ:
session_id— 履歴バケット。デフォルトはdefaultis_revision,revises_thoughtbranch_from_thought,branch_idneeds_more_thoughtsavailable_tools— ツール名の配列、または{ name, description }オブジェクトrecommended_tools— 検証/保存するためのモデル作成による推奨事項remaining_steps— 今後のステップの短いリスト
例:
{
"session_id": "svelte-debug",
"thought": "First inspect the route files, then run the failing check.",
"thought_number": 1,
"total_thoughts": 3,
"next_thought_needed": true,
"available_tools": ["read", "bash"],
"recommended_tools": [
{
"tool_name": "read",
"confidence": 0.9,
"rationale": "Need to inspect the relevant files before editing.",
"priority": 1
}
]
}recommended_tools に available_tools に存在しない名前が含まれている場合、呼び出しは isError: true を返し、思考は保存されません。
セキュリティ体制
このサーバーは、思考テキスト、ツール説明、根拠、および残りのステップのテキストを信頼できない入力として扱います。プロンプトインジェクションのようなテキストはスキャンされ、保存または履歴で返される前に編集(削除)されます。編集が行われた呼び出しには、どのフィールドが一致したかを示す security_warnings が含まれます。
これは防御的なフィルタリングであり、任意の敵対的テキストが安全であることを保証するものではありません。思考やツールの説明に秘密情報を含めないでください。
get_thinking_history
セッションの保存された思考を返します。
パラメータ:
session_id— デフォルトはdefaultbranch_id— オプションのブランチフィルタlimit— 返すレコードの最大数。デフォルトは50、最大は500
clear_thinking_history
1つのセッションまたはすべてのセッションをクリアします。
パラメータ:
session_id— デフォルトはdefaultall_sessions— すべての履歴バケットをクリアする
プロンプト
sequential-thinking-guidance
このサーバーを外部の推論エンジンとしてではなく、スクラッチパッドおよびバリデーターとして誠実に使用する方法をモデルに伝える短いプロンプトです。
設定
Claude Desktop / 互換性のあるMCPクライアント
{
"mcpServers": {
"mcp-sequentialthinking-tools": {
"command": "npx",
"args": ["-y", "mcp-sequentialthinking-tools"],
"env": {
"MAX_HISTORY_SIZE": "1000"
}
}
}
}MAX_HISTORY_SIZE はセッションごとで、デフォルトは 1000 です。
このサーバーは tmcp を使用しており、標準の Content-Length でフレーム化されたMCPメッセージと、古い tmcp ツールで使用される改行区切りのJSONの両方を受け入れる小さなstdioトランスポートが含まれています。
開発
pnpm install
pnpm test
pnpm build
pnpm checkこのプロジェクトは、ビルド、テスト、フォーマット、およびリントのオーケストレーションに vite-plus を使用しています。
公開
pnpm changeset
pnpm changeset version
pnpm releaseライセンス
MIT License — LICENSE を参照してください。
謝辞
Model Context Protocol に基づいて構築されています
MCP Sequential Thinking Server から適応されました
Available Tools
1 toolsequentialthinking_toolsA detailed tool for dynamic and reflective problem-solving through thoughts. 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. IMPORTANT: This server facilitates sequential thinking with MCP tool coordination. The LLM analyzes available tools and their descriptions to make intelligent recommendations, which are then tracked and organized by this server. When to use this tool: - 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 - Problems that require a multi-step solution - Tasks that need to maintain context over multiple steps - Situations where irrelevant information needs to be filtered out - When you need guidance on which tools to use and in what order Key features: - You can adjust total_thoughts up or down as you progress - You can question or revise previous thoughts - You can add more thoughts even after reaching what seemed like the end - You can express uncertainty and explore alternative approaches - Not every thought needs to build linearly - you can branch or backtrack - Generates a solution hypothesis - Verifies the hypothesis based on the Chain of Thought steps - Recommends appropriate tools for each step - Provides rationale for tool recommendations - Suggests tool execution order and parameters - Tracks previous recommendations and remaining steps Parameters explained: - available_mcp_tools: Array of MCP tool names that are available for use (e.g., ["mcp-omnisearch", "mcp-turso-cloud"]) - thought: Your current thinking step, which can include: * Regular analytical steps * Revisions of previous thoughts * Questions about previous decisions * Realizations about needing more analysis * Changes in approach * Hypothesis generation * Hypothesis verification * Tool recommendations and rationale - next_thought_needed: True if you need more thinking, even if at what seemed like the end - thought_number: Current number in sequence (can go beyond initial total if needed) - total_thoughts: Current estimate of thoughts needed (can be adjusted up/down) - is_revision: A boolean indicating if this thought revises previous thinking - revises_thought: If is_revision is true, which thought number is being reconsidered - branch_from_thought: If branching, which thought number is the branching point - branch_id: Identifier for the current branch (if any) - needs_more_thoughts: If reaching end but realizing more thoughts needed - current_step: Current step recommendation, including: * step_description: What needs to be done * recommended_tools: Tools recommended for this step * expected_outcome: What to expect from this step * next_step_conditions: Conditions to consider for the next step - previous_steps: Steps already recommended - remaining_steps: High-level descriptions of upcoming steps You should: 1. Start with an initial estimate of needed thoughts, but be ready to adjust 2. Feel free to question or revise previous thoughts 3. Don't hesitate to add more thoughts if needed, even at the "end" 4. Express uncertainty when present 5. Mark thoughts that revise previous thinking or branch into new paths 6. Ignore information that is irrelevant to the current step 7. Generate a solution hypothesis when appropriate 8. Verify the hypothesis based on the Chain of Thought steps 9. Consider available tools that could help with the current step 10. Provide clear rationale for tool recommendations 11. Suggest specific tool parameters when appropriate 12. Consider alternative tools for each step 13. Track progress through the recommended steps 14. Provide a single, ideally correct answer as the final output 15. Only set next_thought_needed to false when truly done and a satisfactory answer is reachedA
A detailed tool for dynamic and reflective problem-solving through thoughts. 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.
IMPORTANT: This server facilitates sequential thinking with MCP tool coordination. The LLM analyzes available tools and their descriptions to make intelligent recommendations, which are then tracked and organized by this server.
When to use this tool:
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
Problems that require a multi-step solution
Tasks that need to maintain context over multiple steps
Situations where irrelevant information needs to be filtered out
When you need guidance on which tools to use and in what order
Key features:
You can adjust total_thoughts up or down as you progress
You can question or revise previous thoughts
You can add more thoughts even after reaching what seemed like the end
You can express uncertainty and explore alternative approaches
Not every thought needs to build linearly - you can branch or backtrack
Generates a solution hypothesis
Verifies the hypothesis based on the Chain of Thought steps
Recommends appropriate tools for each step
Provides rationale for tool recommendations
Suggests tool execution order and parameters
Tracks previous recommendations and remaining steps
Parameters explained:
available_mcp_tools: Array of MCP tool names that are available for use (e.g., ["mcp-omnisearch", "mcp-turso-cloud"])
thought: Your current thinking step, which can include:
Regular analytical steps
Revisions of previous thoughts
Questions about previous decisions
Realizations about needing more analysis
Changes in approach
Hypothesis generation
Hypothesis verification
Tool recommendations and rationale
next_thought_needed: True if you need more thinking, even if at what seemed like the end
thought_number: Current number in sequence (can go beyond initial total if needed)
total_thoughts: Current estimate of thoughts needed (can be adjusted up/down)
is_revision: A boolean indicating if this thought revises previous thinking
revises_thought: If is_revision is true, which thought number is being reconsidered
branch_from_thought: If branching, which thought number is the branching point
branch_id: Identifier for the current branch (if any)
needs_more_thoughts: If reaching end but realizing more thoughts needed
current_step: Current step recommendation, including:
step_description: What needs to be done
recommended_tools: Tools recommended for this step
expected_outcome: What to expect from this step
next_step_conditions: Conditions to consider for the next step
previous_steps: Steps already recommended
remaining_steps: High-level descriptions of upcoming steps
You should:
Start with an initial estimate of needed thoughts, but be ready to adjust
Feel free to question or revise previous thoughts
Don't hesitate to add more thoughts if needed, even at the "end"
Express uncertainty when present
Mark thoughts that revise previous thinking or branch into new paths
Ignore information that is irrelevant to the current step
Generate a solution hypothesis when appropriate
Verify the hypothesis based on the Chain of Thought steps
Consider available tools that could help with the current step
Provide clear rationale for tool recommendations
Suggest specific tool parameters when appropriate
Consider alternative tools for each step
Track progress through the recommended steps
Provide a single, ideally correct answer as the final output
Only set next_thought_needed to false when truly done and a satisfactory answer is reached
| Name | Required | Description | Default |
|---|---|---|---|
| available_mcp_tools | Yes | Array of MCP tool names available for use (e.g., ["mcp-omnisearch", "mcp-turso-cloud"]) | |
| thought | Yes | Your current thinking step | |
| next_thought_needed | Yes | Whether another thought step is needed | |
| thought_number | Yes | Current thought number | |
| total_thoughts | Yes | Estimated total thoughts needed | |
| is_revision | No | Whether this revises previous thinking | |
| revises_thought | No | Which thought is being reconsidered | |
| branch_from_thought | No | Branching point thought number | |
| branch_id | No | Branch identifier | |
| needs_more_thoughts | No | If more thoughts are needed | |
| current_step | No | Current step recommendation | |
| previous_steps | No | Steps already recommended | |
| remaining_steps | No | High-level descriptions of upcoming steps |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's dynamic nature (e.g., adjusting thoughts, revising, branching), its role in MCP tool coordination, and expected behaviors like hypothesis generation and verification. However, it lacks details on error handling, performance limits, or authentication needs, which are minor gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is overly verbose and repetitive, with sections like 'Parameters explained' and 'You should' that could be condensed. While well-structured with clear headings, it includes redundant information (e.g., repeating tool features in multiple sections), reducing efficiency. Every sentence adds value, but many could be more concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's high complexity (13 parameters, nested objects, no output schema, and no annotations), the description is exceptionally complete. It covers purpose, usage, features, parameter explanations, and detailed instructions, providing all necessary context for an agent to understand and invoke the tool correctly without relying on structured fields.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Despite 100% schema description coverage, the description adds significant value by explaining parameter semantics in detail. It provides context for each parameter (e.g., 'thought' can include revisions, questions, hypotheses; 'current_step' includes tool recommendations with rationale), clarifies usage patterns, and offers examples, going well beyond the schema's basic descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Tautological: description restates name/title.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit 'When to use this tool' with 8 bullet points covering scenarios like complex problems, planning with revision, unclear scope, multi-step solutions, and tool guidance. It also includes a 'You should' section with 15 detailed instructions on how to use the tool effectively, offering comprehensive guidance on when and how to apply it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
With only one tool, there is no possibility of ambiguity or overlap with other tools. The tool 'sequentialthinking_tools' has a singular, clearly defined purpose for dynamic problem-solving, so an agent cannot misselect between non-existent alternatives.
Since there is only one tool, naming consistency is inherently perfect. The tool name uses a consistent snake_case format, and there are no other tools to compare it against, so no inconsistencies can arise.
A single tool is too few for the server's stated purpose of facilitating sequential thinking with MCP tool coordination. The tool description implies a need for interaction with multiple tools, but the server only provides one meta-tool, which feels thin and limits functionality for the intended scope.
The server is severely incomplete for its domain. It lacks direct tools for the actual operations it coordinates (e.g., search, data retrieval, execution), relying solely on a meta-tool for recommendations. This creates a significant gap, as agents cannot perform the underlying tasks without external tools, leading to potential dead ends in workflows.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
MCP server for generating rough-draft project plans from natural-language prompts.
Hybrid human + AI expertise for faster, trusted answers and decisions via MCP Server.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseAqualityAmaintenanceThis server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.5947MIT
- AlicenseAqualityDmaintenanceA MCP server that implements sequential thinking protocols, provides structured problem-solving methods, decomposes complex problems into manageable steps, and supports iterative optimization and alternative reasoning paths.12Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA sequential thinking tool based on the MCP protocol, used to break down complex problems into manageable steps and provide intelligent tool recommendations for each step.2Apache 2.0
- AlicenseAqualityDmaintenanceA structured problem-solving MCP server that breaks down complex tasks into sequential steps, supports iterative refinement and branching, and helps maintain context and explore alternative reasoning paths.11542MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/spences10/mcp-sequentialthinking-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server