MCP.so
ログイン

GitHub MCP Server

@Joseph19820124

基本情報

カテゴリ

バージョン管理

トランスポート

stdio

作者

Joseph19820124

GitHub MCP Server について

A GitHub MCP server demo with create repository functionality

GitHub MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "joseph-github-mcp-server": {
      "command": "python",
      "args": [
        "main.py"
      ]
    }
  }
}

GitHub MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is GitHub MCP Server?

The GitHub MCP Server is a Model Context Protocol (MCP) server that provides GitHub repository creation functionality. It allows AI applications and other MCP clients to programmatically create new GitHub repositories with customizable settings using the standard MCP protocol over stdin/stdout.

How to use GitHub MCP Server?

Clone the repository, install Python dependencies via pip install -r requirements.txt, set the GITHUB_TOKEN environment variable with a token that has repo and user scopes, then run python main.py. The server listens for JSON‑RPC 2.0 requests (e.g., tools/call with tool name create_repository) over stdio. Test it by sending echo '{"method": "tools/list", "id": "1"}' | python main.py.

Key features of GitHub MCP Server

  • Create a new GitHub repository with a required name
  • Set an optional description and privacy setting
  • Communicate via MCP protocol over stdin/stdout
  • Returns full repository details on success
  • Requires Python 3.8 or higher

Use cases of GitHub MCP Server

  • Automate repository creation during CI/CD workflows
  • Let an AI assistant create a GitHub repo on your behalf
  • Integrate repository provisioning into MCP‑capable applications

よくある質問

1

What GitHub permissions are required?

The personal access token needs `repo` (for repository access) and `user` (for user information) scopes.

2

How do I set the GitHub token?

Set the token as an environment variable: `export GITHUB_TOKEN="your_github_personal_access_token"`.

3

What Python version is needed?

Python 3.8 or higher is required.

4

How is the server invoked?

The server runs as a subprocess communicating via JSON‑RPC 2.0 over stdio. MCP clients send `tools/list` and `tools/call` requests to discover and use the `create_repository` tool.

5

Is the repository private by default?

No, the `private` parameter defaults to `false`, making repositories public unless explicitly set to `true`.

コメント

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