Github MCP Server

Integrates with GitHub's API through the Model Context Protocol (MCP).

Local serverstdioTypeScript

What is the Github MCP server?

Github MCP server exists for a simple reason — assistants are far more useful when they can act on Github directly instead of describing what you should do. Integrates with GitHub's API through the Model Context Protocol (MCP).

What you get

A Model Context Protocol (MCP) server implementation for GitHub integration. This server provides tools for interacting with GitHub's API through the MCP protocol.

  • Create GitHub repositories
  • Push content to repositories
  • Get user information
  • Proper error handling and TypeScript type safety
  • Automatic installation script

What the assistant can call

Once Github is connected, these are the calls the assistant has available:

  • Windows — 1. Clone this repository: powershell git clone https://github.com/oghenetejiriorukpegmail/github-mcp.git
  • get_user — The get_user tool exposed by this server
  • create_repo — The create_repo tool exposed by this server
  • push_to_repo — The push_to_repo tool exposed by this server

Configuration and credentials

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.

  • Node.js (v18 or higher) - npm (v8 or higher) - PowerShell (for Windows installation) - GitHub Personal Access Token with repo scope

Setting it up

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

Choosing this one

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. Github's toolset — Windows, get_user, create_repo and 1 more — is a fair guide to whether it matches your workflow. It is maintained by oghenetejiriorukpegmail; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • 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 mcp server does with a few real requests.

Available tools

ToolWhat it does
Windows1. Clone this repository: powershell git clone https://github.com/oghenetejiriorukpegmail/github-mcp.git
get_userThe get_user tool exposed by this server.
create_repoThe create_repo tool exposed by this server.
push_to_repoThe push_to_repo tool exposed by this server.

Configuration

  • Node.js (v18 or higher) - npm (v8 or higher) - PowerShell (for Windows installation) - GitHub Personal Access Token with repo scope
VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Github to Windows.
  • Use Github to get user.
  • Use Github to create repo.

Frequently asked questions

You'll need Node.js (v18 or higher), npm (v8 or higher), PowerShell (for Windows), and a GitHub Personal Access Token with 'repo' scope.