---
title: GitHub | Keycard
description: GitHub's official MCP server for repository management, issues, pull requests, code search, and collaboration.
---

Provides full GitHub platform access including repository CRUD, file operations, issue and PR management, code review workflows, branch management, release tracking, secret scanning, and user/team lookups. Supports Copilot review requests and sub-issue hierarchies.

Adding GitHub provisions three things in your zone: an upstream resource pointing at `https://api.githubcopilot.com/mcp` (kept inside Keycard), a Keycard MCP Gateway URL - the downstream resource - that you install in Cursor, Claude Code, or any MCP client, and a provider for token exchange with GitHub’s OAuth issuer.

When your AI client makes a tool call, it sends a Keycard-issued access token to the gateway URL. Keycard’s STS exchanges that token for an upstream GitHub token, the gateway calls the upstream MCP, and the response is proxied back. Your zone’s [identity provider](/admin/identity-providers/index.md), [access policies](/admin/access-policies/index.md), and audit log apply to every call - the upstream credential never leaves Keycard. Each call is recorded in the audit log with the user identity, the resource accessed, and the policy decision.

## Tools

TOOLS

Tools the upstream server exposes through the Keycard MCP Gateway.

GitHub exposes 41 tools through the gateway:

- add\_comment\_to\_pending\_review

  Add review comment to the requester's latest pending pull request review

- add\_issue\_comment

  Add a comment to a specific issue in a GitHub repository

- add\_reply\_to\_pull\_request\_comment

  Add a reply to an existing pull request comment

- create\_branch

  Create a new branch in a GitHub repository

- create\_or\_update\_file

  Create or update a single file in a GitHub repository

- create\_pull\_request

  Create a new pull request in a GitHub repository

- create\_repository

  Create a new GitHub repository in your account or specified organization

- delete\_file

  Delete a file from a GitHub repository

- fork\_repository

  Fork a GitHub repository to your account or specified organization

- get\_commit

  Get details for a commit from a GitHub repository

- get\_file\_contents

  Get the contents of a file or directory from a GitHub repository

- get\_label

  Get a specific label from a repository

- get\_latest\_release

  Get the latest release in a GitHub repository

- get\_me

  Get details of the authenticated GitHub user

- get\_release\_by\_tag

  Get a specific release by its tag name

- get\_tag

  Get details about a specific git tag

- get\_team\_members

  Get member usernames of a specific team in an organization

- get\_teams

  Get details of the teams the user is a member of

- issue\_read

  Get information about a specific issue

- issue\_write

  Create a new or update an existing issue

- list\_branches

  List branches in a GitHub repository

- list\_commits

  Get list of commits of a branch

- list\_issue\_types

  List supported issue types for repository owner

- list\_issues

  List issues in a GitHub repository

- list\_pull\_requests

  List pull requests in a GitHub repository

- list\_releases

  List releases in a GitHub repository

- list\_tags

  List git tags in a GitHub repository

- merge\_pull\_request

  Merge a pull request in a GitHub repository

- pull\_request\_read

  Get information on a specific pull request

- pull\_request\_review\_write

  Create, submit, or delete a pull request review

- push\_files

  Push multiple files in a single commit

- request\_copilot\_review

  Request a GitHub Copilot code review for a PR

- run\_secret\_scanning

  Scan files or content for secrets such as API keys, tokens, and credentials

- search\_code

  Code search across all GitHub repositories

- search\_issues

  Search for issues using GitHub search syntax

- search\_pull\_requests

  Search for pull requests using GitHub search syntax

- search\_repositories

  Find GitHub repositories by name, description, topics, or other metadata

- search\_users

  Find GitHub users by username or profile information

- sub\_issue\_write

  Add a sub-issue to a parent issue

- update\_pull\_request

  Update an existing pull request

- update\_pull\_request\_branch

  Update PR branch with latest changes from base

Show all 41 tools  Show fewer

## Install

INSTALL

Add GitHub to your zone and install the gateway URL into Cursor, Claude Code, or any MCP client.

Caution

Installing **GitHub** requires you to provide a **Client ID** and **Client Secret** from GitHub’s developer console. Have those ready before you start.

1. **Open the catalog**

   In your zone’s [Keycard Console](https://console.keycard.ai), go to **Applications** → **Add Application** → **Explore MCP Servers**.

2. **Find and install GitHub**

   Search for `GitHub` in the catalog and click **Install**. Enter the **Client ID** and **Client Secret** from your GitHub developer console when prompted.

3. **Connect your development tool**

   Once installed, GitHub appears on the **Applications** page with a **Keycard MCP Gateway URL**. Use the **Install** dropdown to add it to Cursor, Claude Code, or any MCP-compatible client.

## Related

RELATED

- [Catalog overview](/admin/catalog/index.md) - browse other MCP and API servers
- [Access policies](/admin/access-policies/index.md) - control who can use GitHub
- [Identity providers](/admin/identity-providers/index.md) - control who can sign in

[PreviousCloudflare](/admin/catalog/mcp-servers/cloudflare/index.md)[NextGranola](/admin/catalog/mcp-servers/granola/index.md)
