Skip to main content
Glama

GitHub-Gemini MCP Server

by Uttam-Mahata
MIT License

GitHub-Gemini MCP Server

An advanced Model Context Protocol (MCP) server that integrates GitHub with Google Gemini API for intelligent code assistance and repository management.

Features

  • Intelligent Code Analysis: Leverages Gemini's advanced reasoning capabilities to analyze code patterns and suggest improvements
  • Context-Aware Assistance: Uses GitHub repository context to provide better code suggestions and documentation
  • Function Calling: Intelligent tool selection for GitHub operations (issues, PRs, code search, etc.)
  • Structured Output: JSON responses for integration with other tools
  • Code Execution: Dynamic code analysis and execution for testing suggestions
  • Thinking Mode: Deep reasoning for complex coding problems
  • Context Caching: Efficient handling of large repositories with automatic caching

Installation

pip install -r requirements.txt

Configuration

Create a .env file with your API keys:

GEMINI_API_KEY=your_gemini_api_key GITHUB_TOKEN=your_github_personal_access_token

Usage

Run the MCP server:

python -m github_gemini_mcp

Tools Available

GitHub Integration

  • Repository analysis and navigation
  • Issue management and automation
  • Pull request operations
  • Code search and discovery
  • Branch and commit operations

Gemini AI Features

  • Intelligent code suggestions
  • Automated documentation generation
  • Code review assistance
  • Bug detection and fixing
  • Architecture recommendations

Architecture

The server combines:

  • GitHub API integration for repository operations
  • Gemini 2.5 models for advanced reasoning
  • Function calling for intelligent tool selection
  • Context caching for performance optimization
  • Structured output for reliable integration

License

MIT License

-
security - not tested
A
license - permissive license
-
quality - not tested

An advanced Model Context Protocol server that integrates GitHub repositories with Google Gemini AI to provide intelligent code assistance, analysis, and repository management operations.

  1. Features
    1. Installation
      1. Configuration
        1. Usage
          1. Tools Available
            1. GitHub Integration
            2. Gemini AI Features
          2. Architecture
            1. License

              Related MCP Servers

              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that enables AI models to interact with GitHub's API, allowing for repository creation and management with descriptions, topics, and website URLs through natural language commands.
                Last updated -
                1
                JavaScript
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.
                Last updated -
                129
                Python
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.
                Last updated -
                1
                TypeScript
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables AI assistants to interact with GitLab repositories, allowing tasks like managing merge requests, searching projects, and creating comments through RESTful API integration.
                Last updated -
                67
                2
                TypeScript
                • 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/Uttam-Mahata/mcp-server'

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