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.

コメント

「バージョン管理」の他のコンテンツ