MCP.so
ログイン

GitHub MCP Server

@yamagai

GitHub MCP Server について

GitHub MCP Server (SSE)

基本情報

カテゴリ

バージョン管理

ランタイム

go

トランスポート

stdio

公開者

yamagai

設定

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

{
  "mcpServers": {
    "github-mcp-server-sse": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "github-mcp-server-sse",
        "."
      ]
    }
  }
}

ツール

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

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

概要

What is GitHub MCP Server?

GitHub MCP Server is a Model Context Protocol server that provides a standardized interface for LLM applications to interact with the GitHub API. It enables operations such as repository search, file management, pull request handling, and repository administration.

How to use GitHub MCP Server?

Install with go get github.com/yamagai/github-mcp-server-sse. Set the GITHUB_TOKEN environment variable with a GitHub personal access token. Run the server in stdio mode with github-mcp or in SSE mode with github-mcp -t sse. Optionally use the provided Docker container.

Key features of GitHub MCP Server

  • Search any GitHub repository.
  • Create new GitHub repositories.
  • Retrieve file contents from repositories.
  • Create or update files in repositories.
  • Push multiple files at once.
  • Fork any GitHub repository.
  • Create and manage pull requests.
  • Get pull request details.
  • Add reviews to pull requests.

Use cases of GitHub MCP Server

  • LLM agents searching for open-source projects.
  • Automating repository creation and file updates via AI.
  • Managing pull request workflows with AI assistants.
  • Forking repositories for experimentation or customization.

FAQ from GitHub MCP Server

How does authentication work?

Set the GITHUB_TOKEN environment variable. In SSE mode you can also pass the token in the HTTP Authorization header.

What transport modes are supported?

The server supports stdio (default) and SSE transport modes.

Can I run the server in Docker?

Yes. Build the image with docker build -t github-mcp-server-sse . and run with docker run -p 8080:8080 -e GITHUB_TOKEN=your_token github-mcp-server-sse.

What is the default port for SSE mode?

The default port is 8080. You can change it with the -p flag or the PORT environment variable.

How many tools does the server provide?

The server provides nine tools: search_repositories, create_repository, get_file_contents, create_or_update_file, push_files, fork_repository, create_pull_request, get_pull_request, and create_pull_request_review.

コメント

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