gh cli mcp

Local 2025-09-01 01:08:02 0

An MCP server that wraps around the GitHub CLI tool, allowing AI assistants to interact with GitHub repositories through commands for pull requests, issues, and repository operations.


GitHub CLI MCP Logo

Use GitHub CLI commands directly from Claude and other AI assistants

A server that enables AI assistants to interact with GitHub repositories through the Model Context Protocol (MCP).

⚡ Quick Start

# Prerequisites: Node.js v18+ and GitHub CLI installed and authenticated

# Install globally
npm install -g gh-cli-mcp

# Start the server
gh-cli-mcp

? Use with Claude

With Claude Code CLI:

claude --mcp "gh-cli-mcp:github-cli:stdio:http://localhost:8888"

With Claude Desktop: Add MCP integration in Settings → Tools & Integrations
See Installation Guide for detailed instructions.

? Documentation

Visit our GitHub Wiki for complete documentation:

? Key Features

  • Use GitHub CLI commands in AI assistants like Claude
  • Create, view and manage pull requests
  • Work with issues and repositories
  • Run and monitor GitHub workflows
  • Simple stdio integration for any MCP-compatible AI assistant

? License

MIT