MCP インスペクター v0.6.0
GitHub MCP サーバー
Claude のような AI アシスタントが GitHub リポジトリ、問題、プル リクエストと対話できるようにする Model Context Protocol (MCP) サーバー。
特徴
リポジトリ検索: 検索クエリに基づいて GitHub リポジトリを検索します
問題管理: 問題を取得、作成、コメントする
プルリクエストの処理: プルリクエストの表示と管理
リポジトリ分析: リポジトリに関する統計情報と洞察を取得します
Related MCP server: GitHub MCP Server
インストール
前提条件
Python 3.8以上
GitHub APIトークン
手順
このリポジトリをクローンします:
git clone https://github.com/yourusername/github-mcp-server.git cd github-mcp-server依存関係をインストールします:
pip install -r requirements.txtGitHub トークンを環境変数として設定します。
export GITHUB_TOKEN=your_github_token_hereサーバーを実行します。
python server.py
サーバーはhttp://localhost:5000で実行を開始します。
使用法
エンドポイント
MCP サーバーは次のエンドポイントを提供します。
GET /mcp/discover : 利用可能な操作とそのパラメータを返します
POST /mcp/execute : 指定されたパラメータに基づいて操作を実行します。
リクエストの例
発見
curl -X GET http://localhost:5000/mcp/discoverリポジトリ検索を実行する
curl -X POST http://localhost:5000/mcp/execute \
-H "Content-Type: application/json" \
-d '{
"endpoint": "search_repositories",
"parameters": {
"query": "machine learning"
}
}'リポジトリの問題を取得する
curl -X POST http://localhost:5000/mcp/execute \
-H "Content-Type: application/json" \
-d '{
"endpoint": "get_repo_issues",
"parameters": {
"owner": "openai",
"repo": "whisper"
}
}'建築
サーバーはモデルコンテキストプロトコル仕様に準拠しており、AI アシスタントが次のことを実行できるようにします。
利用可能な操作を見つける
適切なパラメータで操作を実行する
構造化された形式で結果を処理し、返す
サーバーの拡張
このサーバーは次の方法で拡張できます。
discover()関数に新しいエンドポイントを追加する対応するハンドラー関数の実装
execute()関数内のルーティングの更新
セキュリティに関する考慮事項
サーバーはGitHubでの認証にAPIトークンを使用します
不正使用を防ぐためにレート制限を実装する
すべてのパラメータに入力検証を追加する
より安全なトークン管理のためにOAuthの実装を検討してください
デモ
サーバーの機能の詳細については、デモ ビデオをご覧ください。
ライセンス
MITライセンス
接触
ご質問やサポートについては、このリポジトリで問題を開いてください。
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.
Appeared in Searches
Latest Blog Posts
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/Jehan26/MCP-Inspector-v0.6.0'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
