MCP.so
ログイン

GitHub MCP Server

@ds231

GitHub MCP Server について

everyday series assignment

基本情報

カテゴリ

バージョン管理

ランタイム

python

トランスポート

stdio

公開者

ds231

設定

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

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

ツール

ツールは検出されませんでした

ツールは 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.

FAQ from GitHub MCP Server

What authentication is required?

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

What runtime does the server require?

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

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.

How are errors handled?

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

Does the server support type hints?

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

コメント

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