servers/ version-control/ github-mcp
GM

GitHub MCP

Unverified Claim & verify → Version Control

Official GitHub MCP server for repository search, issues, pull requests, and CI/CD workflows in MCP-compatible AI clients.

Visit website ↗ View on GitHub ↗ Try Remote Server
Overview Installation Tools (78) Changelog

Overview

The GitHub MCP server connects AI agents directly to the GitHub platform. Once installed, your client can search code across repositories, triage issues, review and merge pull requests, inspect CI runs, and respond to security alerts — all through typed tools rather than screen-scraping or raw API calls.

It runs locally over stdio or as a hosted remote server with OAuth, and supports per-toolset configuration so you can expose only the capabilities your workflow needs.

Repository access — search code, read files, push commits, manage branches
Issue & PR workflows — triage, review, comment, and merge from your agent
CI/CD visibility — inspect workflow runs and job logs, re-run failures
Security alerts — code scanning and secret scanning, read-only by default

Installation

// claude_desktop_config.json
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-token>"
      }
    }
  }
}

requires: GITHUB_PERSONAL_ACCESS_TOKEN · node ≥ 18 or docker

Tools (78)

search_repositoriesSearch repositories by name, topic, or query
get_file_contentsRead a file or directory from a repo
push_filesCommit multiple files in one push
create_branchCreate a branch from any ref
+ 10 more
create_issueOpen a new issue with labels and assignees
list_issuesFilter issues by state, label, or assignee
update_issueEdit title, body, state, or labels
add_issue_commentComment on an existing issue
+ 4 more
create_pull_requestOpen a PR between branches
get_pull_request_diffFetch the full diff for review
request_reviewRequest reviewers on a PR
merge_pull_requestMerge with squash, rebase, or merge commit
+ 6 more
list_workflow_runsList runs for a workflow with status filters
get_job_logsFetch logs for a failed or running job
rerun_workflowRe-run a workflow or only failed jobs
+ 6 more
list_code_scanning_alertsList open code scanning alerts
get_secret_scanning_alertInspect a detected secret alert
+ 4 more
search_codeSearch code across all indexed repositories
search_usersFind users and organizations
get_meGet the authenticated user profile
+ 28 more across Search, Discussions, Gists, Notifications, Users, Orgs

Changelog

v0.13.0
Remote server GA
Hosted endpoint with OAuth is now generally available. Added tool annotations and per-toolset enablement flags.
2026-08-19
v0.12.2
Fixes
Fixed pagination in list_workflow_runs and empty-diff handling in get_pull_request_diff.
2026-07-30
v0.12.0
Code security toolset
New code scanning and secret scanning tools, read-only by default.
2026-07-08

Related servers

PM
Playwright MCP
Web Scraping

Browser automation, page inspection, screenshots, and web interaction from Claude, Cursor, and other AI agents.

★ 21.3k Updated 5h ago
CO
Context7
Development

Up-to-date, version-specific library documentation and code examples inside AI coding prompts.

★ 18.2k Updated 1d ago
FM
Firecrawl MCP
Web Scraping

Powerful web scraping and search capabilities for LLM clients like Cursor and Claude.

★ 12.4k Updated 3h ago
SM
Supabase MCP
Database

Manage Supabase projects, databases, auth, storage, and SQL workflows from AI agents.

★ 9.8k Updated 9h ago
CM
Cloudflare MCP
Cloud Service

Deploy, configure & interrogate resources on the Cloudflare developer platform (Workers, KV, R2, D1).

★ 7.9k Updated 1d ago
EM
Exa MCP
Search

Search engine made for AIs by Exa.

★ 6.1k Updated 4h ago
>_ esc
↑↓ navigate↵ openesc close