Overview
What is Github Mcp?
Github Mcp is a Go-based MCP server that lets AI assistants like Claude interact with a user’s GitHub account, enabling repository and workflow management through natural language.
How to use Github Mcp?
Install with go install github.com/Stevke7/github-mcp@latest (requires Go 1.25+). Set the GITHUB_TOKEN environment variable with a personal access token. Then add the server to Claude Code’s MCP configuration (~/.claude/claude_desktop_config.json) and restart the assistant.
Key features of Github Mcp
- List repositories for the authenticated user
- Create and delete repositories
- Change repository visibility (public/private)
- Trigger GitHub Actions workflows
- List recent workflow runs for a repository
- Get detailed information about a specific repository
Use cases of Github Mcp
- Manage GitHub repositories entirely through chat commands
- Automate workflow triggering without visiting the GitHub UI
- Quickly switch repository visibility settings
- Monitor recent workflow runs from an AI assistant
- Retrieve repository details on demand
FAQ from Github Mcp
What prerequisites are needed to run Github Mcp?
Go 1.25+ and a GitHub personal access token with repo, delete_repo, and workflow scopes.
How do I set up Github Mcp with Claude Code?
Install the binary, export GITHUB_TOKEN, and add the server to ~/.claude/claude_desktop_config.json with the command path and token environment variable.
What can I ask Claude to do with Github Mcp?
Examples include “List all my repositories”, “Create a new private repo called my-project”, “Change my-repo to private”, “Trigger the CI workflow on the main branch of my-repo”, and “Show me the last 5 workflow runs for my-repo”.