mcp-structured-thinking
構造化思考MCPサーバー
Arben Ademi氏のSequential Thinking Python サーバーをベースにした TypeScript Model Context Protocol (MCP) サーバーです。このプロジェクトの目的は、法学修士課程の学生がプログラムでマインドマップを作成し、アイデア空間を探索し、「メタ認知的」な自己反省を促すことです。
設定
Claude Desktop、Cursor、またはその他の MCP クライアントでツール構成を次のように設定します。
{
"structured-thinking": {
"command": "npx",
"args": ["-y", "structured-thinking"]
}
}Related MCP server: mirror-mcp
概要
思考品質スコア
LLM が思考を捉えると、その思考に 0 から 1 までの品質スコアが割り当てられます。このスコアは、思考の段階と組み合わせて、思考プロセスをどのように「操縦」するかについての「メタ認知的」フィードバックを LLM に提供するために使用されます。
思考段階
それぞれの思考には段階(例:問題定義、分析、発想)がタグ付けされ、LLMの思考プロセスのライフサイクル管理に役立ちます。現在の実装では、これらの段階は非常に重要な役割を果たします。つまり、LLMが特定の段階で時間がかかりすぎたり、現在の段階で質の低い思考をしている場合、サーバーはLLMにフィードバックを提供し、思考を他の段階、あるいは少なくとも現在の段階とは異なる思考戦略へと「誘導」します。(例えば、演繹モードでは、LLMはより創造的な思考をするよう促されます。)
思考の分岐
LLMは、特定の思考から「分岐」を生み出し、異なる推論の方向性を並行して探求することができます。それぞれの分岐は個別に追跡されるため、複数の解決策やアイデアが共存するシナリオを管理することができます。
メモリ管理
サーバーは、LLM の最新の 10 個の思考の「短期」メモリ バッファと、特定のトピックに関する LLM の思考プロセスの全履歴を要約するためにタグに基づいて取得できる思考の「長期」メモリを維持します。
制限事項
ナイーブメタ認知モニタリング
現在、品質メトリックとメタ認知フィードバックは、単一の自己申告品質スコアに適用される単純なステージベースの乗数から機械的に導き出されています。
今後の作業の一環として、思考内容の意味分析、思考検証プロセス、推論エラーのよりインテリジェントな監視など、より洗練されたメタ認知フィードバックを追加する予定です。
ユーザーインターフェースの欠如
現在、サーバーはすべての思考をメモリに保存しており、ファイルやデータベースには保存していません。また、思考空間を確認したり、マインドマップを視覚化したりするためのユーザーインターフェースもありません。
今後の作業の一環として、ユーザーが思考グラフの進化を見ることができるように、シンプルな視覚化クライアントを組み込む予定です。
MCPツール
サーバーは次の MCP ツールを公開します。
キャプチャ思考
思考の種類、品質、内容、および他の思考との関係に関するメタデータを使用して、思考履歴に思考を作成します。
パラメータ:
thought:現在の思考の内容thought_number: シーケンス内の現在の位置total_thoughts: 予想される思考の総数next_thought_needed: 別の考えが続くべきかどうかstage:現在の思考段階(例:「問題定義」、「分析」)is_revision(オプション): 前回の考えを修正するかどうかrevises_thought(オプション): 修正する考えの数branch_from_thought(オプション): 新しい思考分岐の開始点branch_id(オプション): 現在のブランチの識別子needs_more_thoughts(オプション): 追加の考えが必要かどうかscore(オプション):品質スコア(0.0~1.0)tags(オプション):考えのカテゴリまたはラベル
考えを修正する
思考の種類、品質、内容、および他の思考との関係に関するメタデータを使用して、思考履歴内の思考を修正します。
パラメータ:
thought_id: 修正する考えのIDcapture_thoughtからのパラメータ
関連する考えを取得する
指定された考えと同じタグを持つ考えを長期保存ストレージから取得します。
パラメータ:
thought_id: 関連する考えを取得するための考えのID
考え方の要約を取得する
思考プロセス全体の包括的な要約を生成します。
明確な思考の歴史
記録された思考をすべてクリアし、サーバーの状態をリセットします。
ライセンス
マサチューセッツ工科大学
Available Tools
5 toolscapture_thoughtB
Stores a new thought in memory and in the thought history and runs a pipeline to classify the thought, return metacognitive feedback, and retrieve relevant thoughts.
Inputs: thought (required), thought_number (required), total_thoughts (required), next_thought_needed (required), +8 more.
clear_thinking_historyB
Clear all recorded thoughts and reset the server state.
Inputs: no named parameters.
get_thinking_summaryB
Generate a comprehensive summary of the entire thinking process.
Inputs: no named parameters.
retrieve_relevant_thoughtsC
Finds thoughts from long-term storage that share tags with the specified thought.
Inputs: thought_id (required).
revise_thoughtC
Revises a thought in memory and in the thought history.
Inputs: thought_id (required), thought, thought_number, total_thoughts, +9 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose with no ambiguity: capture_thought creates new thoughts, clear_thinking_history resets state, get_thinking_summary generates summaries, retrieve_relevant_thoughts finds related thoughts, and revise_thought updates existing thoughts. The actions (capture, clear, get, retrieve, revise) and targets (thought, history, summary) are well-defined and non-overlapping.
All tools follow a consistent verb_noun pattern with snake_case: capture_thought, clear_thinking_history, get_thinking_summary, retrieve_relevant_thoughts, and revise_thought. The verbs are distinct and appropriate for their actions, and the naming structure is predictable throughout the set.
With 5 tools, this server is well-scoped for its structured thinking domain. Each tool earns its place by covering core operations: creating, revising, retrieving, summarizing, and clearing thoughts. The count is neither too thin nor bloated, fitting typical server ranges (3-15 tools) perfectly.
The tool surface provides complete CRUD/lifecycle coverage for the thought management domain: capture_thought (create), revise_thought (update), retrieve_relevant_thoughts (read), get_thinking_summary (read/analyze), and clear_thinking_history (delete/reset). There are no obvious gaps, and agents can perform full workflows without dead ends.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
AI memory governance & hallucination-blocking MCP server with verifiable knowledge cells.
A Model Context Protocol server for Wix AI tools
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- -licenseNot gradedqualityDmaintenanceA TypeScript implementation of a Model Context Protocol server and client that enables interaction with language models (specifically Mistral running on Ollama).-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides a reflect tool, enabling LLMs to engage in self-reflection and introspection through recursive questioning and MCP sampling.70 npm17MIT
- AlicenseNot gradedqualityDmaintenanceA robust, lightweight Model Context Protocol (MCP) server designed to empower your AI Agents with context-awareness, safe execution sandboxes, and dedicated thought logs.ISC
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that enables structured multi-path investigations using a Tree of Thoughts approach.2-