GitHub MCP Server
by goyle0
This project is an API server that integrates GitHub with MCP (Managed Cloud Platform). It is built using FastAPI and provides various endpoints.
View on GitHub
Last updated: N/A
GitHub MCP Server
このプロジェクトは、GitHubとMCP(Managed Cloud Platform)を統合するためのAPIサーバーです。FastAPIを使用して構築されており、さまざまなエンドポイントを提供します。
構成
-
app: アプリケーションのメインコード。main.py: アプリケーションのエントリーポイント。config.py: 設定管理。database.py: データベース接続とセッション管理。dependencies.py: 依存関係の管理。api: API関連のコード。endpoints: 各種APIエンドポイント。
core: コア機能。models: データモデル。schemas: データスキーマ。services: ビジネスロジック。
-
tests: テストコード。test_api: APIのテスト。test_services: サービスのテスト。
インストール
-
リポジトリをクローンします。
git clone <repository-url> cd github-mcp-server -
依存関係をインストールします。
pip install -r requirements.txt -
環境変数を設定します。
.env.exampleを参考にしてください。
使用方法
アプリケーションを起動するには、以下のコマンドを実行します。
uvicorn app.main:app --reload
テスト
テストを実行するには、以下のコマンドを使用します。
pytest
ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルを参照してください。