Skip to main content
Glama
bartekke8it56w2

Gemini Thinking Server

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

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

概要

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

  • 複雑な問題を段階的に分解する

  • 修正の余地がある計画と設計

  • 軌道修正が必要な分析

  • 当初は全体の範囲が明確でない可能性がある問題

Related MCP server: gpal

特徴

  • ジェミニパワー思考:ジェミニの分析能力を活用して思慮深い応答を生成します

  • メタ解説:推論プロセスに関する洞察を提供する

  • 信頼度レベル: ジェミニの分析に対する信頼度を示します

  • 代替パス:問題に対する異なるアプローチを提案する

  • 思考の分岐:異なる思考経路の探索を可能にする

  • 修正機能: 過去の考えの修正をサポート

  • セッションの永続性: 分析セッションを保存して再開する

インストール

# 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

ライセンス

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

Install Server
F
license - not found
A
quality
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A 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.
    1
    2
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that gives your IDE or agent access to Google Gemini with autonomous codebase exploration, enabling deep code analysis, architectural reviews, and bug hunting.
    20
    10
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An advanced MCP server that provides an agentic interface to Google's Gemini 3.1 models via Vertex AI, combining real-time Google Search, URL analysis, and Python code execution to solve complex multi-step research and data tasks.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for generating rough-draft project plans from natural-language prompts.

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

View all MCP Connectors

Latest Blog Posts

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