
spences10/mcp-sequentialthinking-tools
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
🧠 ツール使用をガイドするためにMCP逐次思考サーバーを適応させたものです。このサーバーは、各段階で最も効果的なMCPツールの推奨を提供します。
概要
連続的な推論ステップを記録するための軽量MCPサーバーです。履歴、分岐、リビジョンメタデータ、モデル作成ツール計画のオプション検証機能を備えたスクラッチパッドです。 他のMCPツールも検出し、モデル用のツールを選択します。available_toolsとrecommended_toolsを通過すると、サーバーは推奨名の存在を検証し、そのステップを保存します。 明示的で検査可能な推論が課題に恩恵を受ける場合にこれを用いましょう: - 複雑な問題をステップに分割すること;- 計画の修正や分岐;- セッションごとに小さな推論履歴を保持すること;- ツールプラン名を提供ツールリストと照合して検証すること;- 長期エージェント実行中の推論履歴のクリアや検査を行うこと。 些細なリクエストには使わないでください。それはオーバーヘッドを増やします。
概要(AI 翻訳)
連続的な推論ステップを記録するための軽量MCPサーバーです。それは 履歴、分岐、リビジョンメタデータ、 モデル作成ツールプランのオプション検証。
他のMCPツールを発見することはなく、実際も**発見しません。
モデル用のツールを選択します。available_toolsと通過した場合
recommended_tools、サーバーは推奨された名前を検証します
存在し、ステップを保存します。
なぜ使うのか?
明示的で検査可能な推論が課題に恩恵を受ける場合にこれを用いましょう:
- 複雑な問題を段階に分解すること;
- 計画の修正または分岐;
- セッションごとに小さな推論履歴を保持すること;
- 提供された工具リストと照らし工具計画名の検証;
- 長期エージェントラン中の推論履歴のクリアまたは検査。
些細なリクエストには使わないでください。それはオーバーヘッドを増やします。
道具
sequentialthinking_tools
一つの考えを記録する。
必要なパラメータ:
thought— 現在の推論ステップthought_number— 現在のステップ番号total_thoughts— 現在の推定値;低くなると自動的に引き上げられます [[T6]よりはnext_thought_needed— もう一つの思考が必要かどうか
オプションパラメータ:
session_id— 履歴バケット;デフォルトはdefault
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
mcp-sequentialthinking-tools
A lightweight MCP server for recording sequential reasoning steps. It is a scratchpad with history, branching, revision metadata, and optional validation for model-authored tool plans.
It does not discover your other MCP tools and it does not
choose tools for the model. If you pass available_tools and
recommended_tools, the server validates that the recommended names
exist and stores the step.
Why use it?
Use this when a task benefits from explicit, inspectable reasoning:
- breaking a messy problem into steps;
- revising or branching a plan;
- keeping a small reasoning history by session;
- validating tool-plan names against a supplied tool list;
- clearing or inspecting reasoning history during a long agent run.
Do not use it for trivial requests. It adds overhead.
Tools
sequentialthinking_tools
Records one thought.
Required parameters:
thought— current reasoning stepthought_number— current step numbertotal_thoughts— current estimate; automatically raised if lower thanthought_numbernext_thought_needed— whether another thought is needed
Optional parameters:
session_id— history bucket; defaults todefaultis_revision,revises_thoughtbranch_from_thought,branch_idneeds_more_thoughtsavailable_tools— array of tool names or{ name, description }objectsrecommended_tools— model-authored recommendations to validate/storeremaining_steps— short list of upcoming steps
Example:
{
"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
}
]
}
If recommended_tools contains a name not present in
available_tools, the call returns isError: true and does not store
the thought.
Security posture
The server treats thought text, tool descriptions, rationales, and
remaining-step text as untrusted input. Prompt-injection-like text is
scanned and redacted before it is stored or returned in history. Calls
with redactions include security_warnings showing which fields
matched.
インストール
npx -y mcp-sequentialthinking-tools設定
{
"mcpServers": {
"mcp-sequentialthinking-tools": {
"command": "npx",
"args": ["-y", "mcp-sequentialthinking-tools"],
"env": {
"MAX_HISTORY_SIZE": "1000"
}
}
}
}