MCP.so
登录

Github MCP Server Demo

@jatinnahar15

基本信息

分类

版本控制

传输方式

stdio

作者

jatinnahar15

关于 Github MCP Server Demo

Repository created via custom MCP Python server

Github MCP Server Demo 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Github MCP Server Demo 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Github MCP Server Demo?

Github MCP Server Demo is a lightweight MCP server that connects to the GitHub API, allowing you to create repositories by sending JSON commands via HTTP POST requests.

How to use Github MCP Server Demo?

Install Python 3.x, Flask, and requests. Create a GitHub Personal Access Token with repo scope, set it as the environment variable GITHUB_TOKEN, and run python mcp_github_server.py. Then send a POST request to http://localhost:5001/command with a JSON body specifying the action (e.g., create-repo) and inputs.

Key features of Github MCP Server Demo

  • Creates new GitHub repositories via API.
  • Accepts repository name, visibility, and description.
  • Runs as a local HTTP server on port 5001.
  • Uses a simple JSON command interface.
  • Requires only Flask and requests dependencies.

Use cases of Github MCP Server Demo

  • Automating repository creation for CI/CD workflows.
  • Quickly provisioning private or public repositories without manual steps.
  • Integrating with other tools that can send HTTP POST requests.

常见问题

1

How do I install the dependencies?

Run `pip install flask requests` after installing Python 3.x.

2

Do I need a GitHub token?

Yes, you must create a GitHub Personal Access Token with `repo` scope and set it as the `GITHUB_TOKEN` environment variable.

3

What transport does the server use?

It listens on `localhost:5001` and expects POST requests with JSON payloads to the `/command` endpoint.

4

What commands are supported?

The README shows a `create-repo` command that accepts `repo_name`, `private` (boolean), and `description` fields.

5

Where does the server store data?

Data is stored directly on GitHub via the API; the server does not persist any local state.

评论

版本控制 分类下的更多 MCP 服务器