GitHub GraphQL MCP Server

# GitHub GraphQL MCP Server [![QuentinCody/github-graphql-mcp-server context](https://badge.forgithub.com/QuentinCody/github-graphql-mcp-server?accept

Local serverstdioPython

What is the GitHub GraphQL MCP server?

GitHub GraphQL MCP Server [QuentinCody/github-graphql-mcp-server context](https://uithub.com/QuentinCody/github-graphql-mcp-se. The github graphql mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

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

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Configuration

You will need one environment variable: GITHUB_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

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

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by QuentinCody; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the github graphql mcp server does with a few real requests.

Configuration

  • Python 3.10 or higher - A GitHub Personal Access Token (PAT)
VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes

Frequently asked questions

Python 3.10 or higher and a GitHub Personal Access Token (PAT) are required.