GitHub CLI MCP服务器
@Chenlong-Tao
About GitHub CLI MCP服务器
MCP server on GithubCLI allow you to access private repos
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is GitHub CLI MCP服务器?
GitHub CLI MCP服务器 provides a simple and friendly interface to access GitHub functionalities through the MCP protocol. It is designed for developers who want to interact with GitHub repositories, issues, pull requests, and gists programmatically via the Model Context Protocol.
How to use GitHub CLI MCP服务器?
Install GitHub CLI (gh) using your system's package manager, authenticate with gh auth login, then import and call the available tool functions such as pr_view(123, "owner/repo") or repo_view("microsoft/vscode"). Integer parameters (e.g., PR and issue numbers) must be passed as integers, and all integer arguments are automatically converted to strings internally.
Key features of GitHub CLI MCP服务器
- Manage repositories: view and create GitHub repos.
- Manage issues: view and create GitHub issues.
- Manage pull requests: view, create, and diff PRs.
- Manage gists: view and create gists.
- Full PR diff output without truncation.
- Parameter type safety with automatic integer-to-string conversion.
Use cases of GitHub CLI MCP服务器
- View a pull request's complete code diff without truncation.
- Create a new issue in a repository with a title and body.
- List and inspect your own or organization repositories.
- Create a new gist with specified files and description.
- Automate PR creation by specifying the base branch name.
FAQ from GitHub CLI MCP服务器
What are the runtime requirements?
GitHub CLI (gh) must be installed on the system and authenticated via gh auth login. The server itself is written in Python and uses the MCP protocol.
How do I authenticate to access GitHub resources?
Run gh auth login in your terminal before using the MCP server. Ensure you have permission to access the target repositories.
Can I see the full diff of a pull request?
Yes, the pr_diff function outputs the complete diff without truncation, so you can view all code changes.
What data types should I use for PR and issue numbers?
PR and issue numbers must be integers (e.g., pr_view(123, "owner/repo")). They are automatically converted to strings internally for correct command execution.
Which transports or authentication methods are supported?
Transport details are not specified; the server communicates via the MCP protocol. Authentication relies on GitHub CLI's pre-configured credentials.
Frequently asked questions
What are the runtime requirements?
GitHub CLI (`gh`) must be installed on the system and authenticated via `gh auth login`. The server itself is written in Python and uses the MCP protocol.
How do I authenticate to access GitHub resources?
Run `gh auth login` in your terminal before using the MCP server. Ensure you have permission to access the target repositories.
Can I see the full diff of a pull request?
Yes, the `pr_diff` function outputs the complete diff without truncation, so you can view all code changes.
What data types should I use for PR and issue numbers?
PR and issue numbers must be integers (e.g., `pr_view(123, "owner/repo")`). They are automatically converted to strings internally for correct command execution.
Which transports or authentication methods are supported?
Transport details are not specified; the server communicates via the MCP protocol. Authentication relies on GitHub CLI's pre-configured credentials.
Basic information
More Developer Tools MCP servers
Altronis
sypherinMCP server + CLI for Altronis — Singapore AI consulting. Ask the Lyra consultant, generate a grant-matched AI transformation plan, pull curated SG AI events/news. Read-only, wraps altronis.sg.

TaskerArmy Agent
TaskerArmyAsk Claude or ChatGPT what Shopify theme optimization tasks are pending on your store, a remote MCP server for TaskerArmy Agent accounts.

Termany
thinkany-aiAgent-Native Terminal

SSH MCP Server
hypnosisSSH MCP server for AI agents: remote commands, file transfer, log search and server audits through OpenSSH.
extentos
Asger mølgaardExtentos is a multi-vendor development platform for adding smart-glasses capabilities to existing iOS and Android apps. The simplest analogy is Stripe for smart glasses:
Comments