{% extends "base.html" %} {% block content %}
Configure GitHub integration to clone and sync repositories
{{ github_token_hint }}{% endif %}
.env
{% if cli_fetch_result.user %}Opcja 1 — pobierz token z gh CLI (zalecane)
Jeśli masz zainstalowane gh i jesteś zalogowany (gh auth login),
kliknij poniżej — gh2mcp-agent pobierze token i zapisze go do .env.
gh auth login
Opcja 2 — wpisz Personal Access Token
# 1. Zainstaluj gh CLI (raz)
# https://cli.github.com/
# 2. Zaloguj się
gh auth login
# 3. Kliknij "Pobierz token z gh CLI" powyżej
# lub w terminalu:
make setup-github
repo + delete_repo (opcjonalnie)echo "GITHUB_PAT=ghp_xxx" >> .env
# lub
export GITHUB_PAT=ghp_xxx
make restart
.env jako GITHUB_PAT
i współdzielony między mcp-gateway i mcp-webui.
{{ create_result.repo_id }} →
View in Repos
{% endif %}
| Repository | Description | Actions |
|---|---|---|
{{ repo.name }}
{{ repo.url }} |
{{ repo.description or '-' }} |
| Variable | Description | Status |
|---|---|---|
GITHUB_PAT |
GitHub Personal Access Token | {% if github_configured %} Set {% else %} Not set {% endif %} |
GITHUB_USER |
GitHub username | {% if github_user %} {{ github_user }} {% else %} Optional {% endif %} |