
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that exposes GitHub CLI capabilities through tools for repositories, issues, pull requests and gists.
GitHub CLI MCP server is cataloged as an MCP server attributed to chenlong-tao. An MCP server that exposes GitHub CLI capabilities through tools for repositories, issues, pull requests and gists. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for GitHub CLI MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No, it outputs all diff content without truncation.
It exposes repository and user resources.
README.md · 826ecf1bbb2f · Fetched 2026-11-13 13:27:04 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
这个MCP服务器为GitHub CLI提供了简单友好的接口,让你可以通过MCP协议访问GitHub的功能。
安装GitHub CLI (gh)
# MacOS
brew install gh
# Ubuntu/Debian
apt install gh
# 其他系统请参考GitHub CLI官方文档
通过gh auth login完成GitHub认证
本服务对参数类型有以下要求:
pr_view(123, "owner/repo")issue_view(456, "owner/repo")pr_create("owner/repo", "标题", "内容", "main")所有整数参数在内部都会被自动转换为字符串,确保命令正确执行。
# 查看PR差异
diff = pr_diff(2543, "qianshouapp/kyc")
# 查看仓库
repo_info = repo_view("microsoft/vscode")
# 创建issue
issue_create("owner/repo", "标题", "这是issue的内容")
PR差异查看功能支持完整输出所有差异内容,不会进行截断,确保您可以查看到完整的代码变更。
使用示例:
diff = pr_diff(2543, "qianshouapp/kyc")
print(diff) # 显示完整差异
如果需要扩展功能,可以修改main.py文件,添加新的工具函数并注册到MCP服务器。
repo_list() - 列出你拥有或参与的GitHub仓库repo_view(repo) - 查看仓库详细信息repo_create(name, description, private) - 创建新仓库issue_list(repo, state) - 列出仓库中的issueissue_view(issue, repo) - 查看特定issue详情issue_create(repo, title, body) - 创建新issuepr_list(repo, state) - 列出仓库中的PRpr_view(pr, repo) - 查看特定PR详情pr_diff(pr, repo) - 查看特定PR的代码差异pr_create(repo, title, body, base) - 创建新PRgist_list() - 列出你的Gistgist_create(files, description, public) - 创建新Gistrepo://{owner}/{name} - 获取仓库信息user://{username} - 获取用户信息如果遇到问题:
gh --version 验证gh auth login 进行身份验证查看PR:
from main import pr_view
result = pr_view(pr="123", repo="owner/repo")
print(result)
查看PR代码差异:
from main import pr_diff
result = pr_diff(pr="123", repo="owner/repo")
print(result)
创建Issue:
from main import issue_create
result = issue_create(
repo="owner/repo",
title="测试Issue",
body="这是通过MCP创建的测试Issue"
)
print(result)
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for GitHub CLI MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-githubcli)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.