Vine

โ† Back
MCPs

GitHub MCP

Manage issues, PRs, and repos straight from chat.

Manage issues, PRs, and repos straight from chat.

What it is

GitHub's official MCP server. Claude can read and open issues, review and merge PRs, trigger Actions, search across repos โ€” all from chat. Nice complement to the gh CLI Claude already uses.

Install / Setup

You'll need a GitHub personal access token (github.com/settings/tokens).

Option 1 โ€” Terminal (HTTP, Claude Code 2.1.1+):

claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}'

Option 2 โ€” Prompt Claude Code:

Install the official GitHub MCP server (github/github-mcp-server) via claude mcp add-json with HTTP transport on https://api.githubcopilot.com/mcp. Ask me for my GitHub personal access token and verify with /mcp that it's connected after.

Liking this?

Inside the community I show you how I run all of this day-to-day โ€” live sessions, direct feedback on your setup, and my full configs.

Use cases

  • Issue triage โ€” "Give me every open bug labeled 'critical' and rank them by last comment."
  • Automated PR review โ€” Claude reads the diff + discussion and hands you the key points as a summary.
  • Release notes โ€” Claude pulls every merged PR since the last tag and assembles the changelog.
  • Debug failing Actions โ€” Broken CI run: Claude pulls the logs and points to the exact line that blew up.
  • Cross-repo recon โ€” "Where are we still using the old API version across all repos?" โ€” Claude searches the whole org.

Pro tip

For private repos: give the token only the scopes you actually need (repo, workflow). Full admin rights are a security time bomb the day an agent goes off the rails and force-pushes a branch.


๐Ÿš€ Anyone can install MCPs. Knowing which combo actually moves the needle for your workflow โ€” that's what saves you weeks. Inside the community I walk you through my full MCP setup. โ†’ Join the Claude Code Mastery Community

Updated regularly โ€” follow @vine.codes for more.

Want more?

Learn it straight from me.