Skip to main content
Glama

Gemini Thinking Server

モデルコンテキストプロトコル - Gemini Thinking Server

これは、Google の Gemini API と統合して、コードを生成せずに分析的思考機能を提供する Model Context Protocol (MCP) の実装です。

概要

Gemini Thinking Serverは、GoogleのGeminiモデルを活用し、シーケンシャル思考と問題解決能力を提供する専用のMCPサーバーです。以下の機能を提供します。

  • 複雑な問題を段階的に分解する
  • 修正の余地がある計画と設計
  • 軌道修正が必要な分析
  • 当初は全体の範囲が明確でない可能性がある問題

特徴

  • ジェミニパワー思考:ジェミニの分析能力を活用して思慮深い応答を生成します
  • メタ解説:推論プロセスに関する洞察を提供する
  • 信頼度レベル: ジェミニの分析に対する信頼度を示します
  • 代替パス:問題に対する異なるアプローチを提案する
  • 思考の分岐:異なる思考経路の探索を可能にする
  • 修正機能: 過去の考えの修正をサポート
  • セッションの永続性: 分析セッションを保存して再開する

インストール

# Clone the repository git clone <repository-url> # Install dependencies npm install # Build the project npm run build

使用法

環境設定

サーバーを実行する前に、Gemini API キーを設定する必要があります。

export GEMINI_API_KEY=your_api_key_here

サーバーの実行

node dist/gemini-index.js

ツールパラメータ

geminithinkingツールは次のパラメータを受け入れます。

  • query (必須): 分析する質問または問題
  • context (オプション): 追加のコンテキスト情報
  • approach (オプション):問題に対する提案されたアプローチ
  • previousThoughts (オプション): コンテキストの以前の考えの配列
  • thought (オプション):現在の思考ステップ(空の場合は、Geminiによって生成されます)
  • nextThoughtNeeded (必須): 別の思考ステップが必要かどうか
  • thoughtNumber (必須): 現在の思考番号
  • totalThoughts (必須): 必要な推定総思考数
  • isRevision (オプション): 以前の考えを修正するかどうか
  • revisesThought (オプション):どの考えが再考されているか
  • branchFromThought (オプション): 分岐点の思考番号
  • branchId (オプション): ブランチ識別子
  • needsMoreThoughts (オプション): さらに考えが必要な場合

セッション管理

このツールは、セッション管理コマンドもサポートしています。

  • sessionCommand : セッションを管理するためのコマンド ('save'、'load'、'getState')
  • sessionPath : セッションファイルを保存または読み込むパス('save'および'load'コマンドに必要)
例: セッションの保存
{ "sessionCommand": "save", "sessionPath": "/path/to/save/session.json", "query": "dummy", "thoughtNumber": 1, "totalThoughts": 1, "nextThoughtNeeded": false }
例: セッションの読み込み
{ "sessionCommand": "load", "sessionPath": "/path/to/load/session.json", "query": "dummy", "thoughtNumber": 1, "totalThoughts": 1, "nextThoughtNeeded": false }
例: セッション状態の取得
{ "sessionCommand": "getState", "query": "dummy", "thoughtNumber": 1, "totalThoughts": 1, "nextThoughtNeeded": false }

ツールの使用方法の例を次に示します。

{ "query": "How might we design a sustainable urban transportation system?", "context": "The city has 500,000 residents and currently relies heavily on personal vehicles.", "approach": "Consider environmental, economic, and social factors.", "thoughtNumber": 1, "totalThoughts": 5, "nextThoughtNeeded": true }

応答フォーマット

サーバーは次のように応答します:

{ "thought": "The generated thought from Gemini", "thoughtNumber": 1, "totalThoughts": 5, "nextThoughtNeeded": true, "branches": [], "thoughtHistoryLength": 1, "metaComments": "Meta-commentary about the reasoning", "confidenceLevel": 0.85, "alternativePaths": ["Alternative approach 1", "Alternative approach 2"] }

クライアントの例

さまざまなユースケースを示すために、いくつかのサンプル クライアントが提供されています。

  • sample-client.js : 基本的なクライアントの例
  • example-usage.js : 具体的な使用例
  • codebase-analysis-example.js : コードベース分析の例
  • session-example.js : セッションの永続性を示す例
  • advanced-filtering-example.js : 高度なセマンティックフィルタリングを示す例

セッション例を実行するには:

node dist/session-example.js

高度なフィルタリングの例を実行するには:

node dist/advanced-filtering-example.js

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Google の Gemini API を活用して、コード生成なしで順次思考ステップを通じて分析的な問題解決機能を提供する MCP サーバー実装。

  1. 概要
    1. 特徴
      1. インストール
        1. 使用法
          1. 環境設定
          2. サーバーの実行
          3. ツールパラメータ
          4. セッション管理
          1. 応答フォーマット
            1. クライアントの例
              1. ライセンス

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.
                  Last updated -
                  3
                  90
                  Python
                  MIT License
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  An adaptation of the MCP Sequential Thinking Server designed to guide tool usage in problem-solving. This server helps break down complex problems into manageable steps and provides recommendations for which MCP tools would be most effective at each stage.
                  Last updated -
                  1
                  709
                  155
                  TypeScript
                  MIT License
                • -
                  security
                  -
                  license
                  -
                  quality
                  An MCP server implementation that allows using Google's Gemini AI models (specifically Gemini 1.5 Pro) through Claude or other MCP clients via the Model Context Protocol.
                  Last updated -
                  1
                  JavaScript
                • A
                  security
                  F
                  license
                  A
                  quality
                  An MCP server that connects Gemini 2.5 Pro to Claude Code, enabling users to generate detailed implementation plans based on their codebase and receive feedback on code changes.
                  Last updated -
                  2
                  3
                  Python
                  • Linux
                  • Apple

                View all related MCP servers

                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/bartekke8it56w2/new-mcp'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server