← Back to GitHub CLI

Install GitHub CLI

Pick your client, copy the command, done.

Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1

Prepare the server locally

Run this once before adding it to Claude Code.

git clone https://github.com/munch-group/gh-mcp.git
cd gh-mcp
pip install -e .
2

Register it in Claude Code

claude mcp add github-cli -- python /path/to/gh-mcp/server.py

Replace any placeholder paths in the command with the real path on your machine.

Available Tools (5)

Once configured, GitHub CLI gives your AI agent access to:

gh_repo_listList repositories for a user or organization
limit
gh_pr_createCreate a pull request
repositorytitlebody
gh_issue_createCreate an issue
repositorytitlebody
gh_workflow_listList workflows in a repository
repository
gh_apiMake authenticated GitHub API requests
endpointmethoddata

Try It Out

After setup, try these prompts with your AI agent:

List all open pull requests in my repository
Create a new issue titled 'Bug in login page'
Show me the status of workflow run #123
Search for Python repositories with more than 1000 stars
View release information for version v1.0.0
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Python 3.8+ with pip installed
Conare · memory for coding agents

Keep this setup from going cold

Save the docs, env vars, and workflow around GitHub CLI in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup$npx conare@latest