GitHub CLI MCP
Execute GitHub CLI commands through AI — manage repos, gists, releases, and workflow runs using gh. Combines CLI power with natural language for common GitHub operations without leaving your chat interface.
What GitHub CLI MCP is for
cli publishes GitHub CLI MCP for version control work: run gh commands through ai, manage releases and gists, trigger workflow runs.
Filed under GitHub CLI, gh, Automation, CLI. official — cli owns the repository, no prior setup required.
1.“run gh commands through AI”
2.“manage releases and gists”
3.“trigger workflow runs”
How to configure GitHub CLI MCP
- 1. Gather what it needsAn MCP-capable client (Claude Desktop, Cursor, VS Code, or anything in the official client list)
- 2. Confirm the detailsThe runtime the server is published for — npm wants Node.js, Python wants a 3.10+ interpreter
- 3. Check the riskOne credential, usually an API token or a local path
Client config shape
{
"mcpServers": {
"gh-cli": {
"command": "<command from the README>",
"args": ["<package>@<latest>", "--<flag>"],
"env": {
"<TOKEN_NAME>": "<your credential>"
}
}
}
}The placeholders are deliberate — take the exact package name and variables from https://github.com/cli/mcp-server-gh.
GitHub CLI MCP vs. other version control servers
Six alternatives in the same category, so you can weigh them before you install anything.
Manage Azure Repos Git repositories — create and manage repos, review pull requests, set branch policies, and link work items. Essential for Azure DevOps version control workflows with deep Microsoft ecosystem integration.
by Azure · official
Version control operations for Bazaar — branch management, commit history, merge operations, and repository inspection. Legacy VCS support for older projects still using Bazaar in enterprise environments requiring migration assistance.
by bazaar
Manage Bitbucket repositories, pull requests, pipelines, and branch permissions through AI. Built for teams using Atlassian Git solution with Jira integration for seamless development workflow tracking.
by atlassian · official
Generate changelogs from Git commit history — parse conventional commits, categorize changes, and produce release notes in markdown. Streamlines release documentation and version tracking for open-source and internal projects.
by changelog
Enforce and validate conventional commit format — lint commit messages, suggest proper formatting, and ensure semantic versioning compliance across your repository history for automated release workflows.
by conventional-changelog
Concurrent Versions System operations — checkout, commit, update, and branch management. Legacy CVS support for migrating old repositories and maintaining historical projects with decades of version history.
by cvs-mcp
Server specs
- Publisher
- cli
- Category
- Version Control
- Setup difficulty
- Beginner-friendly
- Maintenance
- Vendor-maintained
- Tags
- GitHub CLIghAutomationCLI
Get GitHub CLI MCP
GitHub CLI MCP questions
- Is GitHub CLI MCP an official MCP server?
- Yes — cli owns the repository and the release schedule.
- Who publishes GitHub CLI MCP?
- cli. Source, install command and breaking changes: https://github.com/cli/mcp-server-gh
- What can my assistant do with GitHub CLI MCP?
- run gh commands through ai, manage releases and gists, trigger workflow runs.
- How do I install GitHub CLI MCP?
- Add a server block for it to your client's config file, using the exact package name and command from https://github.com/cli/mcp-server-gh.
- Does GitHub CLI MCP need an API key?
- Usually — https://github.com/cli/mcp-server-gh lists the exact variables.
- How hard is GitHub CLI MCP to set up?
- Beginner-friendly. A beginner setup is three decisions: which client hosts it, which credential it needs, and where the config file lives.
- What are the alternatives to GitHub CLI MCP?
- Within Version Control: Azure Repos MCP, Bazaar MCP, Bitbucket MCP.
- Is GitHub CLI MCP still maintained?
- cli owns the maintenance, so it tracks the upstream product.