github-mcp-server — Claude Code skill
This skill connects an agent to GitHub through MCP for repository browsing, issue and pull request work, GitHub Actions checks, and code analysis.
no license 243 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill github-mcp-server -a claude-codeWhat github-mcp-server does
The skill sets up access to GitHub's official MCP Server through natural-language requests. An agent can inspect repository files and structure, search code, review commits, create or update issues, work with pull requests, and inspect GitHub Actions runs. It also exposes repository, notification, and other GitHub toolsets.
A GitHub Personal Access Token is needed for authenticated access and can be supplied through an environment variable or an authorization header. The available toolsets include repos, issues, pulls, actions, search, gists, and notifications; Docker is available for a local server setup. Without a PAT, the server cannot access GitHub, while GitHub Enterprise Server also needs GITHUB_HOST.
What it helps with
- browse files and search code in a repository
- create and update GitHub issues
- inspect pull requests and their changes
- check GitHub Actions runs and failures
- review commits and project structure
Example prompts for the agent
- Show open issues labeled bug in
github/github-mcp-server. - Find every function that uses the GitHub API in
github/github-mcp-server. - Show recent GitHub Actions runs for CI in
github/github-mcp-serverand explain the failures.
How to install github-mcp-server
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill github-mcp-server -a claude-code2Manually: put the files in place
~/.claude/skills/github-mcp-server/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/github-mcp-server/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill github-mcp-server -a codex2Manually: put the files in place
.agents/skills/github-mcp-server/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill github-mcp-server -a cursor2Manually: put the files in place
.cursor/skills/github-mcp-server/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/github-mcp-server2Manually: put the files in place
.github/skills/github-mcp-server/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill github-mcp-server -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/github-mcp-serverManually: put the files in place
.devin/skills/github-mcp-server/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill github-mcp-server -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about github-mcp-server
How do I install github-mcp-server in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill github-mcp-server -a claude-code, then check ~/.claude/skills/github-mcp-server/SKILL.md.
What does github-mcp-server do?
It connects an AI agent to GitHub through MCP. The skill supports code browsing, issue and pull request management, GitHub Actions analysis, and commit inspection.
What does github-mcp-server need to run?
It needs a GitHub Personal Access Token with permissions for the operations you want to perform. Pass the token through an environment variable or authorization header; Docker is needed for the local setup.