GitHub Explorer

by divyanshkushwaha

332 downloads
Not rated
GitHub

About

Integrates with GitHub's API to enable repository exploration, code collaboration, and user profile analysis through authenticated data retrieval functions.

Details

Author
divyanshkushwaha
Repository
DivyanshKushwaha/GitHub-MCP-Server-Claude
Downloads
332
Categories
Productivity, Developer Tools, Design, Workplace, File Management, AI, Knowledge Base, Infrastructure, API, Frontend

- Fetch GitHub user information by username.
- Retrieve details of a GitHub repository.
- Get authenticated user details using a GitHub personal access token.
- Utilizes FastMCP for modular command processing.

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 GitHub Explorer
    Command (node, npx, python, etc.) my_env/Scripts/uv
    Arguments
    • Argument 1 run
    • Argument 2 D:/MCP_Project/main.py
    Environment
    • GITHUB_TOKEN your_personal_access_token

    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

Clone the repository, create a Python virtual environment (Python ≥3.10 required), install dependencies from requirements.txt, set your GitHub personal access token in a .env file (key GITHUB_TOKEN), and configure claude_desktop_config.json to point to the server script. Launch the Claude Desktop application to invoke the server.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "github explorer": {
            "env": {
                "GITHUB_TOKEN": "your_personal_access_token"
            },
            "args": [
                "run",
                "D:/MCP_Project/main.py"
            ],
            "command": "my_env/Scripts/uv"
        }
    }
}

Linux

{
    "env": {
        "GITHUB_TOKEN": "your_personal_access_token"
    },
    "args": [
        "run",
        "D:/MCP_Project/main.py"
    ],
    "command": "my_env/Scripts/uv"
}

Macos

{
    "env": {
        "GITHUB_TOKEN": "your_personal_access_token"
    },
    "args": [
        "run",
        "D:/MCP_Project/main.py"
    ],
    "command": "my_env/Scripts/uv"
}

Windows

{
    "env": {
        "GITHUB_TOKEN": "your_personal_access_token"
    },
    "args": [
        "run",
        "D:/MCP_Project/main.py"
    ],
    "command": "my_env/Scripts/uv"
}

GitHub MCP Server

Overview

GitHub MCP Server is an API-based tool that interacts with GitHub using the MCP (Modular Command Processor) framework. It provides various functionalities, including fetching user details, repository information, and authenticated user data using GitHub's REST API.

This project is built using Python and leverages httpx for asynchronous API calls. It also uses dotenv for secure handling of GitHub authentication tokens.

Features

- Fetch GitHub user information by username.
- Retrieve details of a GitHub repository.
- Get authenticated user details using a GitHub personal access token.
- Utilizes FastMCP for modular command processing.

Project Structure

```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.