MCP Advanced Reasoning Server
注目すべきもの:
https://github.com/Jacck/mcp-reasoner
ジャック、アイデアをくれてありがとう。
カーソルAI向けMCP高度推論サーバー
Cursor AI の Claude に高度な推論機能を提供する Model Context Protocol (MCP) サーバー。
特徴
モンテカルロ ツリー サーチ (MCTS) : 複雑な問題解決タスクに MCTS 推論を使用します。
ビームサーチ: 複数の推論パスを同時に探索します。
R1 Transformer : 複雑な問題に Transformer ベースの推論を活用します。
ハイブリッド推論: Transformer 分析と MCTS を組み合わせて推論を強化します。
自動反復推論: すべてのマルチステップ推論方法は、1 回のツール呼び出しですべての推論ステップを自動的に完了します。
Related MCP server: MCP Think
インストール
npm install
npm run build使用法
カーソルAIを使った設定
まずサーバーを構築します。
cd mcp-reasoning-server npm run buildオープンカーソルAI
設定 > 機能 > MCP に移動します
「+新しいグローバルMCPサーバーを追加」ボタンをクリックします。
次の詳細を入力してください。
コマンド フィールド:
node C:\\Users\\[YourUsername]\\path\\to\\mcp-reasoning-server\\dist\\index.jsプロジェクトのdist/index.jsファイルへのフルパスを使用してください。
Windowsのパスには二重のバックスラッシュを使用する
「追加」をクリック
リストでサーバーを探します(最初は「無効」と表示されます)
「無効」をクリックして「有効」に切り替えます
利用可能なツールを読み込むには、更新ボタンをクリックしてください
コマンドプロンプトウィンドウが自動的に開きます。これが実行中のサーバーです。
このコマンドプロンプトウィンドウが開いている限り、推論ツールは利用可能になります。
または、 C:\Users\[Username]\.cursor\mcp.json (Windows) にあるカーソル MCP 構成ファイルを手動で編集することもできます。
{
"mcpServers": {
"mcp-reasoner": {
"command": "node",
"args": ["C:\\Users\\[Username]\\path\\to\\mcp-reasoning-server\\dist\\index.js"]
}
}
}重要な注意事項
サーバー実行中: ツールはコマンドプロンプトウィンドウが開いて実行されている間のみ使用できます。
変更を加える: サーバーコードに変更を加えた場合は、再起動する前に
npm run buildで再構築する必要があります。再起動: サーバーを再起動するには、コマンドプロンプトウィンドウを閉じ、カーソル設定でサーバーのオン/オフを切り替えます。
推論ツールの使用
クロードとのカーソル AI 会話で推論ツールを直接使用できます。
MCTS推論
MCTS ベースの推論チェーンを開始するには、 /reason-mctsコマンドに続けてクエリを使用します。
/reason-mcts How can I optimize the performance of this React component?ビームサーチ推論
ビーム検索ベースの推論には/reason-beamコマンドを使用します。
/reason-beam What architecture would be best for this microservice system?R1トランスフォーマーの推論
シングルステップのトランスフォーマーベースの推論には/reason-r1コマンドを使用します。
/reason-r1 Analyze the complexity of this algorithm.ハイブリッド推論
/reason-hybridコマンドを使用して、Transformer と MCTS 推論を組み合わせます。
/reason-hybrid How should we approach refactoring this legacy codebase?クロード・インテグレーション
Claude がこれらの推論ツールをより簡単に操作できるように、次のカスタム指示を追加できます。
When I use commands like /reason-mcts, /reason-beam, /reason-r1, or /reason-hybrid in chat, interpret them as requests to use the corresponding reasoning tools:
/reason-mcts: Use the reason_mcts tool with the text following the command as the query
Example: "/reason-mcts How do I solve this problem?" should call the reason_mcts tool
/reason-beam: Use the reason_beam tool with the text following the command as the query
Example: "/reason-beam What's the best approach for this complex problem?" should call the reason_beam tool
/reason-r1: Use the reason_r1 tool with the text following the command as the query
Example: "/reason-r1 Analyze this code for performance issues" should call the reason_r1 tool
/reason-hybrid: Use the reason_hybrid tool with the text following the command as the query
Example: "/reason-hybrid How should we restructure this architecture?" should call the reason_hybrid tool
When these commands are used, extract the text after the command as the query parameter and use the corresponding tool to perform advanced reasoning.発達
プロジェクト構造
src/index.ts: メインサーバーのエントリポイントsrc/tools/reasoning-tools.ts: 推論ツールの実装src/tools/reasoning-wrapper.ts: カーソルで使いやすくするためのコマンドラッパーsrc/utils/errors.ts: エラー処理ユーティリティ
自動反復推論
推論ツールは、1回のツール呼び出しですべての推論ステップを内部的に自動的に完了するように実装されています。各推論手法は以下のプロセスに従います。
最初の考え/ステップを初期化する
後続の考えや手順を自動的に生成する
最終結果とともにすべての考えを返す
このアプローチにより、複数の手動ツール呼び出しを必要とせずに推論プロセスが完全に完了することが保証されます。
新しい推論方法の追加
新しい推論方法を追加するには、次の手順に従います。
src/tools/reasoning-tools.tsに新しいツール実装を追加します。src/tools/reasoning-wrapper.tsに対応するコマンドラッパーを追加します。既存のツールのパターンに従い、パラメータと応答形式を定義します。
多段階の推論方法の場合は自動反復を実装する
npm run buildでプロジェクトをリビルドします。
制限事項
これはシミュレートされた推論サーバーです。本番環境では、現在使用されているプレースホルダ応答ではなく、実際の推論アルゴリズムに接続します。
ライセンス
ISC
Available Tools
8 toolsbeam_search_reasoningD
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The problem or query to reason about | |
| thought | Yes | Current reasoning step | |
| thoughtNumber | Yes | Current step number | |
| totalThoughts | Yes | Total expected steps | |
| nextThoughtNeeded | Yes | Whether another step is needed | |
| beamWidth | No | Number of top paths to maintain (n-sampling) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hybrid_reasoningD
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The problem or query to reason about | |
| thought | Yes | Current reasoning step | |
| thoughtNumber | Yes | Current step number | |
| totalThoughts | Yes | Total expected steps | |
| nextThoughtNeeded | Yes | Whether another step is needed | |
| numSimulations | No | Number of MCTS simulations to run |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
mcts_reasoningD
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The problem or query to reason about | |
| thought | Yes | Current reasoning step | |
| thoughtNumber | Yes | Current step number | |
| totalThoughts | Yes | Total expected steps | |
| nextThoughtNeeded | Yes | Whether another step is needed | |
| numSimulations | No | Number of MCTS simulations to run |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
r1_reasoningD
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The problem or query to reason about |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
reason_beamD
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The problem or task to reason about using Beam Search |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
reason_hybridD
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The problem or task to reason about using Hybrid reasoning |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
reason_mctsD
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The problem or task to reason about using MCTS |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
reason_r1D
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The problem or task to reason about using R1 Transformer |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
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?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
8 tool updates
- First observed
beam_search_reasoning - First observed
hybrid_reasoning - First observed
mcts_reasoning - First observed
r1_reasoning - First observed
reason_beam - First observed
reason_hybrid - First observed
reason_mcts - First observed
reason_r1
TDQS
Scored across 8 tools
The tool set has severe ambiguity issues with multiple tools appearing to do the same thing. There are clear duplicates: beam_search_reasoning and reason_beam, hybrid_reasoning and reason_hybrid, mcts_reasoning and reason_mcts, r1_reasoning and reason_r1. Without descriptions, these appear to be identical pairs, making it impossible for an agent to distinguish between them.
The naming is inconsistent with two different patterns mixed together: some use 'algorithm_reasoning' (e.g., beam_search_reasoning) while others use 'reason_algorithm' (e.g., reason_beam). This creates confusion and lacks a unified convention, though both patterns are readable individually.
With 8 tools, the count is reasonable for a reasoning server, but the apparent duplication suggests it's borderline. If these are truly 4 distinct algorithms with redundant naming, the effective count would be 4, which feels thin for an 'advanced' reasoning server.
The server appears to cover multiple reasoning algorithms (beam search, hybrid, MCTS, R1), but without descriptions, it's unclear if there are gaps in the reasoning lifecycle. The duplication suggests potential missing operations like configuration or result retrieval, and the lack of clear domain coverage makes assessment difficult.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that provides Claude with a dedicated space for structured thinking during complex problem-solving tasks, helping improve its reasoning capabilities.129 npm16MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI assistants like Claude with a dedicated space for structured thinking during complex problem-solving tasks.MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables seamless integration between Claude AI and development tools like VSCode, Augment, Vercel, Airtable, and Square.7MIT
- AlicenseNot gradedqualityFmaintenanceAn enhanced Model Context Protocol server that enables Claude to seamlessly collaborate with multiple AI models (Gemini, OpenAI, local models) for code analysis and development tasks, maintaining context across conversations.23 npm54Apache 2.0