GitHub MCP Server
GitHub MCP サーバー
GitHub 統合のための Model Context Protocol (MCP) サーバー実装。このサーバーは、MCP プロトコルを介して GitHub API とやり取りするためのツールを提供します。
特徴
GitHubリポジトリを作成する
コンテンツをリポジトリにプッシュする
ユーザー情報を取得する
適切なエラー処理とTypeScriptの型安全性
自動インストールスクリプト
Related MCP server: GitHub MCP Server Plus
前提条件
Node.js (v18以上)
npm (v8以上)
PowerShell(Windows インストール用)
リポジトリスコープを持つGitHubパーソナルアクセストークン
インストール
ウィンドウズ
このリポジトリをクローンします:
git clone https://github.com/oghenetejiriorukpegmail/github-mcp.gitインストール スクリプトを実行します。
.\install.ps1スクリプトは次のようになります。
必要なディレクトリを作成する
依存関係をインストールする
TypeScriptコードをビルドする
MCP設定を構成する
手動インストール
MCP ディレクトリを作成します。
mkdir -p "$env:APPDATA\Roo-Code\MCP\github-mcp"このリポジトリをそのディレクトリにクローンします。
git clone https://github.com/oghenetejiriorukpegmail/github-mcp.git "$env:APPDATA\Roo-Code\MCP\github-mcp"依存関係をインストールします:
cd "$env:APPDATA\Roo-Code\MCP\github-mcp"
npm installTypeScript コードをビルドします。
npm run buildサーバー構成を MCP 設定ファイルに追加します:
%APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
{
"mcpServers": {
"github": {
"command": "node",
"args": [
"%APPDATA%\Roo-Code\MCP\github-mcp\build\index.js"
],
"env": {
"GITHUB_TOKEN": "your-github-token-here"
},
"disabled": false,
"alwaysAllow": []
}
}
}利用可能なツール
get_user
GitHub ユーザー情報を取得します。
{
"username": "octocat"
}リポジトリの作成
新しい GitHub リポジトリを作成します。
{
"repo_name": "my-new-repo",
"description": "A new repository",
"private": false
}リポジトリへのプッシュ
コンテンツを GitHub リポジトリにプッシュします。
{
"repo_name": "my-repo",
"file_path": "docs/README.md",
"content": "# My Project\nThis is a test file.",
"message": "Add README file"
}発達
リポジトリをクローンする
依存関係をインストール:
npm installsrc/index.tsに変更を加えるビルド:
npm run build変更をテストする
貢献
リポジトリをフォークする
機能ブランチを作成する
変更をコミットする
ブランチにプッシュする
プルリクエストを作成する
ライセンス
マサチューセッツ工科大学
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- -licenseNot gradedqualityAmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.99,70489,748MIT
- AlicenseBqualityDmaintenanceMCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.18188MIT
- FlicenseNot gradedqualityDmaintenanceEnables managing GitHub repositories, files, and user information through MCP, with support for creating, updating, and deleting repository contents, as well as fetching user profiles.1
- AlicenseBqualityDmaintenanceMCP (Model Context Protocol) server for GitHub API integration. This server provides comprehensive tools for interacting with GitHub repositories, issues, pull requests, branches, and code search through a unified interface.157MIT
Related MCP Connectors
GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
GitHub Private MCP Pack — access private repos, org data via OAuth.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/oghenetejiriorukpegmail/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server