Skip to content
API Reference
GitHub logo

GitHub

Developer Tools

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, access policies, 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 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

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

  1. Open the catalog

    In your zone’s Keycard Console, go to ApplicationsAdd ApplicationExplore 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.