MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

G
Github MCP Agent
作者 @gsgaurav0

A Streamlit application that allows you to explore and analyze GitHub repositories using natural language queries through the Model Context Protocol (MCP).

创建于 1/17/2026
更新于 about 8 hours ago
Repository documentation and setup instructions

🐙 GitHub MCP Agent

A Streamlit application that allows you to explore and analyze GitHub repositories using natural language queries through the Model Context Protocol (MCP).

✨ Now using the official GitHub MCP Server from GitHub!

Features

  • Natural Language Interface: Ask questions about repositories in plain English
  • Comprehensive Analysis: Explore issues, pull requests, repository activity, and code statistics
  • Interactive UI: User-friendly interface with example queries and custom input
  • MCP Integration: Leverages the Model Context Protocol to interact with GitHub's API
  • Real-time Results: Get immediate insights on repository activity and health

Setup

Requirements

  • Python 3.8+
  • Docker (for official GitHub MCP server)
    • Download and install from docker.com
    • Make sure Docker is running before starting the app
  • OpenAI API Key
  • GitHub Personal Access Token

Installation

  1. Clone this repository:

    git clone https://github.com/gsgaurav0/GitHub-MCP-Agent.git
    cd mcp-github-agent
    
  2. Install the required Python packages:

    pip install -r requirements.txt
    
  3. Verify Docker is installed and running:

    docker --version
    docker ps
    
  4. Get your API keys:

Running the App

  1. Start the Streamlit app:

    streamlit run github_agent.py
    
  2. In the app interface:

    • Enter your OpenAI API key
    • Enter your GitHub token
    • Specify a repository to analyze
    • Select a query type or write your own
    • Click "Run Query"

Example Queries

Issues

  • "Show me issues by label"
  • "What issues are being actively discussed?"
  • "Find issues labeled as bugs"

Pull Requests

  • "What PRs need review?"
  • "Show me recent merged PRs"
  • "Find PRs with conflicts"

Repository

  • "Show repository health metrics"
  • "Show repository activity patterns"
  • "Analyze code quality trends"
快速设置
此服务器的安装指南

安装包 (如果需要)

uvx github-mcp-agent

Cursor 配置 (mcp.json)

{ "mcpServers": { "gsgaurav0-github-mcp-agent": { "command": "uvx", "args": [ "github-mcp-agent" ] } } }