MCP.so
ログイン

GitHub MCP Server

@ds231

基本情報

カテゴリ

バージョン管理

トランスポート

stdio

作者

ds231

GitHub MCP Server について

everyday series assignment

GitHub MCP Server の設定

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

{
  "mcpServers": {
    "mcp-server-ds231": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

GitHub MCP Server のツール

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

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

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

概要

What is GitHub MCP Server?

GitHub MCP Server is a FastAPI server that implements the Model Context Protocol (MCP) for interacting with GitHub. It provides a RESTful API to retrieve repository details, list and create issues, and add comments. It is intended for developers who want to integrate GitHub operations into MCP-compatible applications.

How to use GitHub MCP Server?

Clone the repository, create a virtual environment, install dependencies from requirements.txt, and set a GITHUB_TOKEN in a .env file. Start the server with uvicorn server:app --reload --port 8000. Use the provided HTTP endpoints to interact with GitHub repositories.

Key features of GitHub MCP Server

  • Implements the Model Context Protocol for GitHub interactions.
  • Retrieve repository details by owner and repo name.
  • List issues for a given repository.
  • Create new issues in a repository.
  • Add comments to existing issues.

Use cases of GitHub MCP Server

  • Automate issue tracking from an MCP‑enabled assistant.
  • Integrate GitHub repository data into AI‑powered workflows.
  • Enable conversational creation of issues and comments.

よくある質問

1

What authentication is required?

A GitHub Personal Access Token must be provided in a `.env` file as `GITHUB_TOKEN`.

2

What runtime does the server require?

Python 3 with a virtual environment and dependencies from `requirements.txt`. The server runs via Uvicorn.

3

What endpoints are available?

`GET /repository/{owner}/{repo}`, `GET /repository/{owner}/{repo}/issues`, `POST /repository/{owner}/{repo}/issues`, and `POST /repository/{owner}/{repo}/issues/{issue_number}/comments`.

4

How are errors handled?

Comprehensive error handling logs errors and returns appropriate HTTP status codes for all GitHub API interactions.

5

Does the server support type hints?

Yes, the codebase uses type hints throughout for maintainability and IDE support.

コメント

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