Catalog → GitHub

GitHub

by github

Ready2.1.0

GitHub's official MCP server — repositories, issues, pull requests, code search, Actions — scoped to a personal access token you provide. Replaces the archived @modelcontextprotocol/server-github.

Capabilities
readsearch
Categories
Development
Configuration
GitHub Personal Access Token
Secret Required

Fine-grained PAT, minimum scopes: repo, optionally read:org, read:packages

Read-only mode
Text

Set to 1 for read tools only; write tools skipped even if listed in GITHUB_TOOLS

Default 1
Tool groups
Text

Comma-separated allow-list of tool groups. Default context,repos,issues,pull_requests,users; all for everything

Individual tools
Text

Allow-list of individual tool names, additive with toolsets; unknown names fail startup

Lockdown mode
Text

Set to 1 to withhold public-repo content from authors without push access (prompt-injection filter, best effort); private repos unaffected

GitHub host
Text

https:// GHES or ghe.com host; HTTPS enforced

Experimental tools
Text

Set to true for experimental tools; keep off

Exclude tools
Text

Comma-separated tool names to drop even if their toolset is enabled

Feature flags
Text

Comma-separated feature flags (experimental; usually empty)

Content window size
Text

Max characters returned per file/content tool (default 5000)

Repo access cache TTL
Text

Go duration for caching repo-permission lookups used by lockdown mode (default 5m)

Log file
Text

Write logs to a file

Command logging
Text

Set to 1 to log every MCP request and response to GITHUB_LOG_FILE

Export translations
Text

Set to 1 to dump tool descriptions to a JSON overrides file and exit

OAuth client ID
Text

stdio-only alternative to a PAT: browser OAuth app flow

OAuth client secret
Secret

stdio-only alternative to a PAT: browser OAuth app flow

OAuth scopes
Text

stdio-only alternative to a PAT: browser OAuth app flow

OAuth callback port
Text

stdio-only alternative to a PAT: browser OAuth app flow

GitHub App ID
Text

stdio-only alternative to a PAT: GitHub App installation token

GitHub App installation ID
Text

stdio-only alternative to a PAT: GitHub App installation token

GitHub App private key path
Text

stdio-only alternative to a PAT: GitHub App installation token

GitHub App private key
Secret

stdio-only alternative to a PAT: GitHub App installation token

HTTP port
Text

http subcommand only; irrelevant for the stdio driver

HTTP listen host
Text

http subcommand only; irrelevant for the stdio driver

HTTP base URL
Text

http subcommand only; irrelevant for the stdio driver

HTTP base path
Text

http subcommand only; irrelevant for the stdio driver

Authorization server
Text

http subcommand only; irrelevant for the stdio driver

Scope challenge
Text

http subcommand only; irrelevant for the stdio driver

Trust proxy headers
Text

http subcommand only; irrelevant for the stdio driver

Extra environment variables
Env vars

Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.

Default template
# Optional extra environment variables, one KEY=VALUE per line.
# Lines starting with # are ignored: uncomment and edit what you need.
# Documented options: https://github.com/github/github-mcp-server

# Route the connector through an HTTP proxy, if your network needs one.
# HTTPS_PROXY=http://proxy.example:8080

# Turn up logging for troubleshooting (read by many servers; the name varies).
# LOG_LEVEL=debug

This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.

Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
Container
podman run --rm -i -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server:v2.1.0
Go Preferred
go install github.com/github/github-mcp-server/cmd/[email protected] stdio

Are you sure?

Configure connector

Fill in your settings, then Save.

Help test this connector

Record a short screen-capture that shows the connector working (or failing) end-to-end. Approved submissions earn you Pro-equivalent limits on this specific connector for as long as your account exists.

YouTube, Loom, Vimeo, or Google Drive links are accepted. Unlisted / private links are fine as long as our admin can open them.

Cookie preferences

Choose which categories of cookies we may use. You can change this any time via the footer link.

Essential

Session cookie that keeps you signed in. Required for the site to function.

Always on