GitHub MCP Server

Go-based MCP server that connects GitHub to Claude Desktop, enabling direct repository operations from Claude's interface.

Local serverstdio

What is the GitHub MCP Server?

GitHub MCP Server is an MCP project maintained in the scopweb/github-go-server-mcp repository. The maintainer describes its purpose as “Go-based MCP server that connects GitHub to Claude Desktop, enabling direct repository operations from Claude's interface”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using C:\path\to\github-mcp-server-v4.exe. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares GITHUB_TOKEN. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
git_infostatus, file_sha, last_commit, file_content, changed_files, validate_repo, list_files, context, validate_clean
git_set_workspaceSet working directory for all Git operations
git_initInitialize a new Git repository
git_addStage files for commit
git_commitCommit staged changes
git_historylog, diff
git_branchcheckout, checkout_remote, list, merge, rebase, backup
git_syncpush, pull, force_push, push_upstream, sync, pull_strategy
git_conflictstatus, resolve, detect, safe_merge
git_stashlist, push, pop, apply, drop, clear
git_remotelist, add, remove, show, fetch
git_taglist, create, delete, push, show
git_cleanuntracked, untracked_dirs, ignored, all
git_resetUndo commits (soft/mixed/hard)
gh_create_fileCreate file — Git-first, GitHub API fallback
gh_update_fileUpdate file — Git-first, GitHub API fallback
gh_push_filesWrite multiple files + git add/commit/push in one call
github_repolist_repos, create_repo, list_prs, create_pr
github_dashboardfull, notifications, issues, prs_review, security, workflows, mark_read
github_respondcomment_issue, comment_pr, review_pr
github_repairclose_issue, merge_pr, rerun_workflow, dismiss_alert
github_admin_repoget_settings, update_settings, archive, delete
github_branch_protectionget, update, delete
github_webhookslist, create, update, delete, test
github_collaboratorslist, check, add, update_permission, remove, list_invitations, accept_invitation, cancel_invitation, list_teams, add_team
github_fileslist, download, download_repo, pull_repo

How to install the GitHub MCP Server

{
  "mcpServers": {
    "github-mcp": {
      "command": "C:\\path\\to\\github-mcp-server-v4.exe",
      "args": [],
      "env": {
        "GITHUB_TOKEN": "YOUR_GITHUB_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
GITHUB_TOKENDeclared in the maintainer’s client configuration.Check documentation