Gemini Thinking
БесплатноНе проверенIntegrates with Google's Gemini API to provide analytical thinking capabilities for complex problem-solving, codebase analysis, and architectural decision-makin
Описание
Integrates with Google's Gemini API to provide analytical thinking capabilities for complex problem-solving, codebase analysis, and architectural decision-making in software development contexts.
README
This is an implementation of the Model Context Protocol (MCP) that integrates with Google's Gemini API to provide analytical thinking capabilities without code generation.
Overview
The Gemini Thinking Server is a specialized MCP server that leverages Google's Gemini model to provide sequential thinking and problem-solving capabilities. It allows for:
- Breaking down complex problems into steps
- Planning and design with room for revision
- Analysis that might need course correction
- Problems where the full scope might not be clear initially
Features
- Gemini-Powered Thinking: Utilizes Gemini's analytical capabilities to generate thoughtful responses
- Meta-Commentary: Provides insights into the reasoning process
- Confidence Levels: Indicates how confident Gemini is in its analysis
- Alternative Paths: Suggests different approaches to the problem
- Branching Thoughts: Allows exploration of different thought paths
- Revision Capability: Supports revising previous thoughts
- Session Persistence: Save and resume analysis sessions
Installation
# Clone the repository
git clone <repository-url>
# Install dependencies
npm install
# Build the project
npm run build
Usage
Environment Setup
Before running the server, you need to set up your Gemini API key:
export GEMINI_API_KEY=your_api_key_here
Running the Server
node dist/gemini-index.js
Tool Parameters
The geminithinking tool accepts the following parameters:
query(required): The question or problem to analyzecontext(optional): Additional context informationapproach(optional): Suggested approach to the problempreviousThoughts(optional): Array of previous thoughts for contextthought(optional): Your current thinking step (if empty, will be generated by Gemini)nextThoughtNeeded(required): Whether another thought step is neededthoughtNumber(required): Current thought numbertotalThoughts(required): Estimated total thoughts neededisRevision(optional): Whether this revises previous thinkingrevisesThought(optional): Which thought is being reconsideredbranchFromThought(optional): Branching point thought numberbranchId(optional): Branch identifierneedsMoreThoughts(optional): If more thoughts are needed
Session Management
The tool also supports session management commands:
sessionCommand: Command to manage sessions ('save', 'load', 'getState')sessionPath: Path to save or load the session file (required for 'save' and 'load' commands)
Example: Saving a Session
{
"sessionCommand": "save",
"sessionPath": "/path/to/save/session.json",
"query": "dummy",
"thoughtNumber": 1,
"totalThoughts": 1,
"nextThoughtNeeded": false
}
Example: Loading a Session
{
"sessionCommand": "load",
"sessionPath": "/path/to/load/session.json",
"query": "dummy",
"thoughtNumber": 1,
"totalThoughts": 1,
"nextThoughtNeeded": false
}
Example: Getting Session State
{
"sessionCommand": "getState",
"query": "dummy",
"thoughtNumber": 1,
"totalThoughts": 1,
"nextThoughtNeeded": false
}
Example
Here's an example of how to use the tool:
{
"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
}
Response Format
The server responds with:
{
"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"]
}
Example Clients
Several example clients are provided to demonstrate different use cases:
sample-client.js: Basic client exampleexample-usage.js: Specific usage examplecodebase-analysis-example.js: Example for codebase analysissession-example.js: Example demonstrating session persistenceadvanced-filtering-example.js: Example demonstrating advanced semantic filtering
To run the session example:
node dist/session-example.js
To run the advanced filtering example:
node dist/advanced-filtering-example.js
License
MIT
Установка Gemini Thinking
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/bartekke8it56w2/new-mcpFAQ
Gemini Thinking MCP бесплатный?
Да, Gemini Thinking MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Gemini Thinking?
Нет, Gemini Thinking работает без API-ключей и переменных окружения.
Gemini Thinking — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Gemini Thinking в Claude Desktop, Claude Code или Cursor?
Открой Gemini Thinking на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Gemini Thinking with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
