OS Manuals

/usr/bin/github-mcp-server

GitHub's official MCP Server

From github-mcp-server 2.1.0-r0 (os), captured 2026-11-05 by running github-mcp-server --help (exit 0). permalink

A GitHub MCP server that handles various tools and resources.

Usage:
  github-mcp-server [command]

Available Commands:
  completion    Generate the autocompletion script for the specified shell
  generate-docs Generate documentation for tools and toolsets
  help          Help about any command
  http          Start HTTP server
  list-scopes   List OAuth scope policies for enabled tools
  stdio         Start stdio server

Flags:
      --content-window-size int          Specify the content window size (default 5000)
      --enable-command-logging           When enabled, the server will log all command requests and responses to the log file
      --exclude-tools strings            Comma-separated list of tool names to disable regardless of other settings
      --export-translations              Save translations to a JSON file
      --features strings                 Comma-separated list of feature flags to enable
      --gh-host string                   Specify the GitHub hostname (for GitHub Enterprise etc.)
  -h, --help                             help for github-mcp-server
      --insiders                         Enable insiders features
      --lockdown-mode                    Enable lockdown mode
      --log-file string                  Path to log file
      --read-only                        Restrict the server to read-only operations
      --repo-access-cache-ttl duration   Override the repo access cache TTL (e.g. 1m, 0s to disable) (default 5m0s)
      --tools strings                    Comma-separated list of specific tools to enable
      --toolsets strings                 Comma-separated list of tool groups to enable (no spaces).
                                         Available: actions, code_quality, code_security, copilot, copilot_issue_intents,
                                         	     dependabot, discussions, gists, git, governance, issues, labels,
                                         	     notifications, orgs, projects, pull_requests, repos, secret_protection,
                                         	     security_advisories, stargazers, users
                                         Special toolset keywords:
                                           - all: Enables all available toolsets
                                           - default: Enables the default toolset configuration of:
                                         	     context, copilot, issues, pull_requests, repos, users
                                         Examples:
                                           - --toolsets=actions,gists,notifications
                                           - Default + additional: --toolsets=default,actions,gists
                                           - All tools: --toolsets=all
  -v, --version                          version for github-mcp-server

Use "github-mcp-server [command] --help" for more information about a command.
Options (15)
OptionDescriptionSource
--content-window-size intSpecify the content window size (default 5000)help
--enable-command-loggingWhen enabled, the server will log all command requests and responses to the log filehelp
--exclude-tools stringsComma-separated list of tool names to disable regardless of other settingshelp
--export-translationsSave translations to a JSON filehelp
--features stringsComma-separated list of feature flags to enablehelp
--gh-host stringSpecify the GitHub hostname (for GitHub Enterprise etc.)help
-h, --helphelp for github-mcp-serverhelp
--insidersEnable insiders featureshelp
--lockdown-modeEnable lockdown modehelp
--log-file stringPath to log filehelp
--read-onlyRestrict the server to read-only operationshelp
--repo-access-cache-ttl durationOverride the repo access cache TTL (e.g. 1m, 0s to disable) (default 5m0s)help
--tools stringsComma-separated list of specific tools to enablehelp
--toolsets stringsComma-separated list of tool groups to enable (no spaces).help
-v, --versionversion for github-mcp-serverhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.