Back to MCP directory
publicPublicdnsLocal runtime

mcp-tutorial

这是一个用于学习和测试GitHub API功能的项目,主要包含仓库管理、文件操作和团队协作等功能。

article

README

🚀 GitHub MCP 服务器教程

本仓库用于试验 GitHub MCP(管理、创建、发布)服务器的功能,能帮助你学习如何借助 GitHub API 开展一系列操作。

🚀 快速开始

此仓库用于试验 GitHub MCP(管理、创建、发布)服务器的功能,你可以跟着下面介绍的功能进行对应的操作学习。

✨ 主要特性

目的

  • 学习使用 GitHub API 进行操作
  • 创建和管理仓库
  • 文件的创建、更新与删除
  • 管理问题和拉取请求
  • 查看和浏览代码

功能列表

  1. 仓库操作

    • 搜索
    • 创建
    • 分叉
    • 克隆
  2. 文件管理

    • 创建
    • 更新
    • 删除
    • 获取内容
  3. 协作功能

    • 创建和管理问题
    • 创建和管理拉取请求
    • 添加评论

💻 使用示例

基础用法

此仓库包含使用 GitHub MCP 服务器进行各种操作的示例,你可以在仓库中查看具体代码示例来学习使用。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client