Gemini Thinking

by bartekke8it56w2

17 Not rated yet
GitHub

About

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.

Details

Repository
bartekke8it56w2/new-mcp

Explore

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Gemini Thinking
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 dist/gemini-index.js
    Environment
    • GEMINI_API_KEY your_api_key_here

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository


npm install

Before running the server, you need to set up your Gemini API key:

bash
export GEMINI_API_KEY=your_api_key_here

bash
node dist/gemini-index.js

json
{
"sessionCommand": "getState",
"query": "dummy",
"thoughtNumber": 1,
"totalThoughts": 1,
"nextThoughtNeeded": false
}
```

geminithinking

Analyzes a question or problem using Gemini's capabilities. Parameters: query (string, required), context (string, optional), approach (string, optional), previousThoughts (array, optional), thought (string, optional), nextThoughtNeeded (boolean, required), thoughtNumber (number, required), totalThoughts (number, required), isRevision (boolean, optional), revisesThought (number, optional), branchFromThought (number, optional), branchId (string, optional), needsMoreThoughts (boolean, optional)

sessionCommand

Manages session commands such as 'save', 'load', or 'getState'. Parameters: sessionCommand (string, required), sessionPath (string, required for 'save' and 'load'), query (string, required), thoughtNumber (number, required), totalThoughts (number, required), nextThoughtNeeded (boolean, required)

The geminithinking tool accepts the following parameters:

- query (required): The question or problem to analyze
- context (optional): Additional context information
- approach (optional): Suggested approach to the problem
- previousThoughts (optional): Array of previous thoughts for context
- thought (optional): Your current thinking step (if empty, will be generated by Gemini)
- nextThoughtNeeded (required): Whether another thought step is needed
- thoughtNumber (required): Current thought number
- totalThoughts (required): Estimated total thoughts needed
- isRevision (optional): Whether this revises previous thinking
- revisesThought (optional): Which thought is being reconsidered
- branchFromThought (optional): Branching point thought number
- branchId (optional): Branch identifier
- needsMoreThoughts (optional): If more thoughts are needed

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "gemini thinking": {
            "env": {
                "GEMINI_API_KEY": "your_api_key_here"
            },
            "args": [
                "dist/gemini-index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "GEMINI_API_KEY": "your_api_key_here"
    },
    "args": [
        "dist/gemini-index.js"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "GEMINI_API_KEY": "your_api_key_here"
    },
    "args": [
        "dist/gemini-index.js"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "GEMINI_API_KEY": "your_api_key_here"
    },
    "args": [
        "/c",
        "node",
        "dist/gemini-index.js"
    ],
    "command": "cmd"
}

Model Context Protocol - Gemini Thinking Server

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

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.