MCP Github Oauth MCP Server

This is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) server that supports remote MCP connections, with Github OAuth

Local serverstdioTypeScript

What is the MCP Github Oauth MCP server?

MCP Github Oauth MCP server exists for a simple reason — assistants are far more useful when they can act on MCP Github Oauth directly instead of describing what you should do. This is a Model Context Protocol (MCP) server that supports remote MCP connections, with Github OAuth built-in.

Configuration and credentials

You will need 3 environment variables: GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, COOKIE_ENCRYPTION_KEY. 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.

Setting it up

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

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. It is maintained by conshus; 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 mcp github oauth mcp server does with a few real requests.

How to install the MCP Github Oauth MCP server

{
  "mcpServers": {
    "github-oauth": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "GITHUB_CLIENT_ID": "your-value",
        "GITHUB_CLIENT_SECRET": "your-value",
        "COOKIE_ENCRYPTION_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
GITHUB_CLIENT_IDConfiguration value read at startup.Optional
GITHUB_CLIENT_SECRETCredential the server authenticates with.Yes
COOKIE_ENCRYPTION_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects MCP Github Oauth to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with MCP Github Oauth directly.