GitHub MCP Server
GitHub MCP サーバー
概要
GitHub MCP Serverは、MCP(Modular Command Processor)フレームワークを使用してGitHubと連携するAPIベースのツールです。GitHubのREST APIを使用して、ユーザーの詳細、リポジトリ情報、認証済みユーザーデータを取得するなど、さまざまな機能を提供します。
このプロジェクトはPythonで構築されており、非同期API呼び出しにはhttpxを利用しています。また、GitHub認証トークンの安全な処理にはdotenv使用しています。
Related MCP server: UIThub MCP Server
特徴
ユーザー名で GitHub ユーザー情報を取得します。
GitHub リポジトリの詳細を取得します。
GitHub 個人アクセス トークンを使用して認証されたユーザーの詳細を取得します。
モジュラー コマンド処理に
FastMCPを利用します。
プロジェクト構造
D:/MCP_Project/
|----.env
│----.gitignore
│----claude_desktop_config.json (Create this file in C:\Users\your_username\AppData\Roaming\Claude\)
│----main.py
│----pyproject.toml
│----README.md
│----requirements.txtmain.py: GitHub MCP サーバーのコアロジック。.env: 環境変数 (例: GitHub トークン) を保存します。claude_desktop_config.json: MCP サーバーを実行するための構成。requirements.txt: 必要な依存関係をリストします。explanation_video.mp4: プロジェクトを説明するビデオ。
セットアップ手順
前提条件
Python >=3.10
GitHub 個人アクセス トークン (認証されたリクエスト用)
仮想環境管理のための
condaまたはvenv
セットアップと使用方法
リポジトリのクローンを作成する
git clone https://github.com/DivyanshKushwaha/GitHub-MCP-Server-Claude.git cd GitHub-MCP-Server-ClaudePython環境を作成する
python -m venv venv
source venv/bin/activate 依存関係をインストールする
pip install -r requirements.txt環境変数を設定する(.env ファイルを作成する)
GITHUB_TOKEN=your_personal_access_tokenclaude_desktop_config.json を設定する
{
"mcpServers": {
"MCP_Server": {
"command": "my_env/Scripts/uv",
"args": [
"run",
"D:/MCP_Project/main.py"
]
}
}
}command キーは、conda 環境にある uv スクリプトへのパスを指定します。これはサーバーの実行に使用されます。
args キーは、UV スクリプトに追加の引数を提供します。
"run": サーバーを実行するアクションを示します。
my_env : Python 環境 'my_env'
「D:/MCP_Project/main.py」: MCP サーバーの実装が含まれる main.py スクリプトへのパスを指定します。
Claudeデスクトップアプリケーションを起動する
Claude デスクトップ アプリケーションを開きます。
claude_desktop_config.json ファイルで設定された MCP サーバーを使用して、データを取得および処理します。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP server that enables Claude and other compatible LLMs to interact with the GitHub API, supporting features like creating issues, retrieving repository information, listing issues, and searching repositories.4
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that enables Claude to retrieve and analyze code from GitHub repositories through the uithub API.2521MIT
- FlicenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that provides comprehensive GitHub integration for Claude Desktop, allowing users to manage repositories, issues, and pull requests. It supports file operations, branch management, and repository searches through natural language commands.452
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that connects Claude AI directly to the GitHub API, enabling natural language queries for live repository data, issues, PRs, and contributions.1
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
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/DivyanshKushwaha/GitHub-MCP-Server-Claude'
If you have feedback or need assistance with the MCP directory API, please join our Discord server