GitHub仓库创建工具

通过Github MCP Server和VSCode快速创建GitHub仓库的开发工具。

  • by Mewadaajay902
  • 本地部署
  • 更新于
在 GitHub 查看 mewadaajay902/mcp-server

使用说明

在Github MCP Server和VSCode的帮助下创建Github Repo。

注: 此存储库是在MCP Server的帮助下创建的

步骤

1.在首选项中添加mcp服务器:在vscode中打开用户设置(JSON)

    {
     "mcp": {
       "inputs": [
         {
           "type": "promptString",
           "id": "github_token",
           "description": "GitHub Personal Access Token",
           "password": true
         }
       ],
       "servers": {
         "github": {
           "command": "docker",
           "args": [
             "run",
             "-i",
             "--rm",
             "-e",
             "GITHUB_PERSONAL_ACCESS_TOKEN",
             "ghcr.io/github/github-mcp-server"
           ],
           "env": {
             "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
           }
         }
       }
     }
   }

2.在github中创建个人访问令牌,用于操作所需的有限访问权限的身份验证。

     Classic tokens under developer setting from Github Setting

3.在本地环境中启动docker

4.使用vscode中的Github副作用扩展作为mcp客户端进行操作。

例子:

    create_repository
    name: MCP-Server

    The repository named MCP-Server has been successfully created in your GitHub account. You can access it at the following URL: MCP-Server Repository. Let me know if you need help with anything else, such as pushing code to this repository or setting it up further!

从实用中添加一些Sreenshot