GitHub MCP 服务器
一个模型上下文协议 (MCP) 服务器,提供与 GitHub API 交互的工具。目前支持创建包含描述、主题和网站 URL 的仓库。
特征
使用根据描述自动生成的名称创建 GitHub 存储库
向存储库添加主题/标签
设置存储库主页
使用 README 文件自动初始化存储库
安装
克隆存储库
安装依赖项:
构建服务器:
配置
该服务器需要具有仓库创建权限的 GitHub 个人访问令牌。将以下内容添加到您的 MCP 设置文件中:
可用工具
创建仓库
使用自然语言命令创建或更新 GitHub 存储库。
命令格式
该工具接受用于不同操作的自然语言命令:
创建存储库:
或者
更新存储库描述:
或者
更新存储库标签:
或者
更新存储库网站:
或者
示例用法
创建新的存储库:
这将:
创建名为“my-machine-learning-image-classifier”的存储库
将描述设置为“我的机器学习图像分类器”
添加“python”、“tensorflow”和“computer-vision”作为存储库主题
将网站设置为“ https://example.com/docs ”
使用 README 文件初始化
更新存储库描述:
更新存储库标签:
更新存储库网站:
该工具可以理解各种自然语言模式和关键词:
Create/make/new 用于创建存储库
更新/更改/设置/修改以更新存储库
“description to/as”用于更新描述
“tags/topics to/as”用于更新标签
“website/homepage/url to/as”用于更新网站
发展
要修改或扩展服务器:
修改
src/index.ts
重建服务器:
执照
麻省理工学院
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
模型上下文协议服务器使 AI 模型能够与 GitHub 的 API 交互,从而允许通过自然语言命令使用描述、主题和网站 URL 创建和管理存储库。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.Last updated -1
- -securityAlicense-qualityA Model Context Protocol server that enables AI agents to securely access and interact with GitHub Enterprise data, providing access to enterprise users, organizations, emails, and license information.Last updated -MIT License
- -securityFlicense-qualityModel Context Protocol server that enables interaction with GitHub repositories, issues, pull requests, and search functionality through natural language.Last updated -1
- AsecurityFlicenseAqualityA Model Context Protocol server with GitHub API integration that enables interaction with repositories, issues, pull requests, and file management through a standardized interface.Last updated -1