GitHub GraphQL MCP Server

by QuentinCody

13 stars
360 downloads
Not rated
GitHub

Description

# GitHub GraphQL MCP Server [![QuentinCody/github-graphql-mcp-server context](https://badge.forgithub.com/QuentinCody/github-graphql-mcp-server?accept=text%2Fhtml&maxTokens=50000&ext=py)](https://uithub.com/QuentinCody/github-graphql-mcp-server?accept=text%2Fhtml&maxTokens=50000&…

About

# GitHub GraphQL MCP Server [![QuentinCody/github-graphql-mcp-server context](https://badge.forgithub.com/QuentinCody/github-graphql-mcp-server?accept=text%2Fhtml&maxTokens=50000&ext=py)](https://uithub.com/QuentinCody/github-graphql-mcp-server?accept=text%2Fhtml&maxTokens=50000&ext=py) A Model Context Protocol (MCP)…

Details

Author
QuentinCody
GitHub stars
13
Downloads
360
Categories
Developer Tools

- Execute any GraphQL query against GitHub’s API
- Support for variables in GraphQL operations
- Comprehensive error handling and reporting
- Detailed documentation with example queries
- Authenticated access via a GitHub Personal Access Token

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 GraphQL MCP Server
    Command (node, npx, python, etc.)

    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

Install Python 3.10+, clone the repository, set up a virtual environment, install dependencies with pip install -r requirements.txt, and run the server with GITHUB_TOKEN=your_token python github_graphql_mcp_server.py. For use with Claude for Desktop, add a configuration entry with absolute paths to the Python executable and the server script, plus the GITHUB_TOKEN environment variable.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "github graphql mcp server": {
            "github-graphql-mcp-server": {
                "command": "python3",
                "args": [
                    "-m",
                    "venv",
                    ".venv"
                ]
            }
        }
    }
}

McpServers

{
    "github-graphql-mcp-server": {
        "command": "python3",
        "args": [
            "-m",
            "venv",
            ".venv"
        ]
    }
}

GitHub GraphQL MCP Server

QuentinCody/github-graphql-mcp-server context

A Model Context Protocol (MCP) server that provides access to GitHub's GraphQL API. This server exposes a single tool that allows executing arbitrary GraphQL queries and mutations against GitHub's API.

Features

- Execute any GraphQL query against GitHub's API
- Comprehensive error handling and reporting
- Detailed documentation with example queries
- Support for variables in GraphQL operations

Prerequisites

- Python 3.10 or higher
- A GitHub Personal Access Token (PAT)

Installation

1. Clone this repository
2. Set up a virtual environment (recommended):

   # On macOS/Linux
python3 -m venv .venv
source .venv/bin/activate

# On Windows
python -m venv .venv
.venv\Scripts\activate

3. Install dependencies:
   pip install -r requirements.txt

Usage

Running the Server

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