MCP.so
ログイン

Github MCP Server

@ParasSolanki

基本情報

カテゴリ

バージョン管理

トランスポート

stdio

作者

ParasSolanki

Github MCP Server について

A model context protocol server for GitHub API

Github MCP Server の設定

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

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your_personal_github_access_token"
      }
    }
  }
}

Github MCP Server のツール

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

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

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Github MCP Server?

A Model Context Protocol server that provides integration with GitHub through its REST API, allowing LLMs to search and retrieve data from repositories, issues, pull requests, code, users, topics, and labels.

How to use Github MCP Server?

Install by running npx -y github-mcp-server with a GITHUB_PERSONAL_ACCESS_TOKEN environment variable configured in your Claude Desktop settings. Alternatively, clone the repository, install dependencies with pnpm install, and run locally with pnpm dev.

Key features of Github MCP Server

  • Search repositories, issues, commits, code, and more
  • List and retrieve specific issues and pull requests
  • Supports pagination with customizable page and per_page
  • Sorting and ordering for many search results
  • Filters by assignee, creator, labels, milestone, and more
  • Uses GitHub Personal Access Token for authentication

Use cases of Github MCP Server

  • Querying a repository for relevant issues or pull requests
  • Searching code inside a repository for a specific pattern
  • Finding users or topics related to a project
  • Retrieving detailed information about a single issue or PR

よくある質問

1

What is required to use this server?

A GitHub Personal Access Token must be provided via the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable.

2

Can I search for code within repositories?

Yes, the `search_code` tool searches code in a repository using a query string.

3

How do I specify a repository owner?

Use the `owner` parameter in tools such as `list_repositories_issues` and `get_pull_request`.

4

Is there a limit on the number of results per page?

Yes, the `per_page` parameter has a maximum value of 100 for all tools.

5

Does the server support sorting of results?

Yes, many tools accept `sort` and `order` parameters to control the order of results.

コメント

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