github-ai-mcp 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- github_ai_mcp-1.0.2/.env.example +0 -0
- github_ai_mcp-1.0.2/.github/dependabot.yml +16 -0
- github_ai_mcp-1.0.2/.github/workflows/codeql.yml +36 -0
- github_ai_mcp-1.0.2/.github/workflows/dependency-audit.yml +34 -0
- github_ai_mcp-1.0.2/.github/workflows/mcp-registry.yml +92 -0
- github_ai_mcp-1.0.2/.github/workflows/python-ci.yml +35 -0
- github_ai_mcp-1.0.2/.github/workflows/security.yml +15 -0
- github_ai_mcp-1.0.2/.github/workflows/test.yml +29 -0
- github_ai_mcp-1.0.2/.github/workflows/windows-package.yml +36 -0
- github_ai_mcp-1.0.2/.gitignore +21 -0
- github_ai_mcp-1.0.2/CHANGELOG.md +51 -0
- github_ai_mcp-1.0.2/CONTRIBUTING.md +5 -0
- github_ai_mcp-1.0.2/LICENSE +21 -0
- github_ai_mcp-1.0.2/MANIFEST.in +12 -0
- github_ai_mcp-1.0.2/PKG-INFO +33 -0
- github_ai_mcp-1.0.2/README.md +137 -0
- github_ai_mcp-1.0.2/README_PYPI.md +11 -0
- github_ai_mcp-1.0.2/README_RU.md +124 -0
- github_ai_mcp-1.0.2/SECURITY.md +5 -0
- github_ai_mcp-1.0.2/assets/github-ai-mcp.ico +0 -0
- github_ai_mcp-1.0.2/assets/github-ai-mcp.png +0 -0
- github_ai_mcp-1.0.2/assets/github-ai-mcp.svg +7 -0
- github_ai_mcp-1.0.2/assets/readme/architecture.svg +1 -0
- github_ai_mcp-1.0.2/assets/readme/hero.svg +1 -0
- github_ai_mcp-1.0.2/assets/readme/quickstart-en.svg +1 -0
- github_ai_mcp-1.0.2/assets/readme/quickstart-ru.svg +1 -0
- github_ai_mcp-1.0.2/assets/readme/security.svg +1 -0
- github_ai_mcp-1.0.2/assets/readme/workflow.svg +1 -0
- github_ai_mcp-1.0.2/config/config.example.json +13 -0
- github_ai_mcp-1.0.2/config/policy.example.json +16 -0
- github_ai_mcp-1.0.2/config/repository.example.json +13 -0
- github_ai_mcp-1.0.2/docs/API_REFERENCE.md +55 -0
- github_ai_mcp-1.0.2/docs/API_SCHEMAS.json +2202 -0
- github_ai_mcp-1.0.2/docs/ARCHITECTURE.md +48 -0
- github_ai_mcp-1.0.2/docs/BRANCH_NAMING.md +45 -0
- github_ai_mcp-1.0.2/docs/COMMIT_SEMANTICS.md +25 -0
- github_ai_mcp-1.0.2/docs/CONTRIBUTIONS.md +23 -0
- github_ai_mcp-1.0.2/docs/GITHUB_AUTH.md +16 -0
- github_ai_mcp-1.0.2/docs/LICENSE_COMPLIANCE.md +41 -0
- github_ai_mcp-1.0.2/docs/MCP_CONNECTION.md +86 -0
- github_ai_mcp-1.0.2/docs/MCP_REGISTRY.md +13 -0
- github_ai_mcp-1.0.2/docs/QUICKSTART_EN.md +157 -0
- github_ai_mcp-1.0.2/docs/QUICKSTART_RU.md +157 -0
- github_ai_mcp-1.0.2/docs/RELEASE_BUILD.md +85 -0
- github_ai_mcp-1.0.2/docs/REQUIREMENTS.md +61 -0
- github_ai_mcp-1.0.2/docs/SECURITY_MODEL.md +31 -0
- github_ai_mcp-1.0.2/docs/SPECIFICATION.md +771 -0
- github_ai_mcp-1.0.2/docs/THIRD_PARTY.md +9 -0
- github_ai_mcp-1.0.2/docs/TROUBLESHOOTING_RU.md +26 -0
- github_ai_mcp-1.0.2/docs/USER_GUIDE_EN.md +58 -0
- github_ai_mcp-1.0.2/docs/USER_GUIDE_RU.md +109 -0
- github_ai_mcp-1.0.2/docs/WINDOWS_SMOKE_TEST.md +38 -0
- github_ai_mcp-1.0.2/examples/local_demo.py +51 -0
- github_ai_mcp-1.0.2/examples/mcp_client_example.py +21 -0
- github_ai_mcp-1.0.2/examples/request_examples_ru.md +18 -0
- github_ai_mcp-1.0.2/launcher/GitHub-AI-MCP.spec +37 -0
- github_ai_mcp-1.0.2/launcher/build-requirements.txt +2 -0
- github_ai_mcp-1.0.2/launcher/hooks/hook-PySide6.QtGui.py +12 -0
- github_ai_mcp-1.0.2/launcher/release/gui_entry.py +4 -0
- github_ai_mcp-1.0.2/launcher/sign_windows.ps1 +19 -0
- github_ai_mcp-1.0.2/pyproject.toml +28 -0
- github_ai_mcp-1.0.2/scripts/build.py +73 -0
- github_ai_mcp-1.0.2/scripts/check_registry_package.py +25 -0
- github_ai_mcp-1.0.2/scripts/make_icon.py +52 -0
- github_ai_mcp-1.0.2/scripts/release_tools.py +139 -0
- github_ai_mcp-1.0.2/scripts/source_archive.py +37 -0
- github_ai_mcp-1.0.2/scripts/windows_smoke.py +232 -0
- github_ai_mcp-1.0.2/setup.cfg +4 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/__init__.py +1 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/__main__.py +3 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/cli/__init__.py +1 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/cli/app.py +128 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/config.py +112 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/core/__init__.py +1 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/core/git_engine.py +76 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/core/github_api.py +86 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/core/job_engine.py +889 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/core/locking.py +41 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/__init__.py +1 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/control.py +26 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/entry.py +77 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/legal.py +9 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/prerequisites.py +31 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/processes.py +116 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/runtime.py +34 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/setup.py +408 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/startup.py +64 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/streams.py +50 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/supervisor.py +358 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/desktop/tunnel.py +242 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/exceptions.py +6 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/gui/__init__.py +1 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/gui/app.py +969 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/gui/workers.py +26 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/security/__init__.py +1 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/security/auth_github.py +67 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/security/auth_mcp.py +38 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/security/paths.py +34 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/security/policy.py +40 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/security/secret_scan.py +24 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/server.py +97 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/storage/__init__.py +1 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/storage/database.py +88 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp/tool_definitions.py +185 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp.egg-info/PKG-INFO +33 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp.egg-info/SOURCES.txt +129 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp.egg-info/dependency_links.txt +1 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp.egg-info/entry_points.txt +2 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp.egg-info/requires.txt +15 -0
- github_ai_mcp-1.0.2/src/github_ai_mcp.egg-info/top_level.txt +1 -0
- github_ai_mcp-1.0.2/tests/conftest.py +51 -0
- github_ai_mcp-1.0.2/tests/test_branch_names.py +83 -0
- github_ai_mcp-1.0.2/tests/test_config.py +58 -0
- github_ai_mcp-1.0.2/tests/test_desktop_services.py +244 -0
- github_ai_mcp-1.0.2/tests/test_git_jobs.py +167 -0
- github_ai_mcp-1.0.2/tests/test_gui_controls.py +435 -0
- github_ai_mcp-1.0.2/tests/test_job_recovery.py +148 -0
- github_ai_mcp-1.0.2/tests/test_mcp.py +52 -0
- github_ai_mcp-1.0.2/tests/test_onefile.py +116 -0
- github_ai_mcp-1.0.2/tests/test_publication.py +193 -0
- github_ai_mcp-1.0.2/tests/test_release.py +241 -0
- github_ai_mcp-1.0.2/tests/test_security.py +203 -0
- github_ai_mcp-1.0.2/tests/test_security_paths.py +65 -0
- github_ai_mcp-1.0.2/tests/test_security_secret_scan.py +51 -0
- github_ai_mcp-1.0.2/tests/test_startup_tunnel.py +359 -0
- github_ai_mcp-1.0.2/tests/test_storage_database.py +90 -0
- github_ai_mcp-1.0.2/tests/test_tool_definitions.py +58 -0
- github_ai_mcp-1.0.2/tests/test_tunnel_setup_regressions.py +104 -0
- github_ai_mcp-1.0.2/tests/test_vault_git_transport.py +41 -0
- github_ai_mcp-1.0.2/tests/test_wire_gui.py +70 -0
- github_ai_mcp-1.0.2/uv.lock +1260 -0
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: "uv"
|
|
4
|
+
directory: "/"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: "weekly"
|
|
7
|
+
open-pull-requests-limit: 5
|
|
8
|
+
commit-message:
|
|
9
|
+
prefix: "deps"
|
|
10
|
+
- package-ecosystem: "github-actions"
|
|
11
|
+
directory: "/"
|
|
12
|
+
schedule:
|
|
13
|
+
interval: "weekly"
|
|
14
|
+
open-pull-requests-limit: 5
|
|
15
|
+
commit-message:
|
|
16
|
+
prefix: "ci"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: CodeQL
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [main]
|
|
5
|
+
pull_request:
|
|
6
|
+
branches: [main]
|
|
7
|
+
schedule:
|
|
8
|
+
- cron: '23 3 * * 2'
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
analyze:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
timeout-minutes: 30
|
|
18
|
+
permissions:
|
|
19
|
+
contents: read
|
|
20
|
+
security-events: write
|
|
21
|
+
actions: read
|
|
22
|
+
steps:
|
|
23
|
+
- name: Check out source
|
|
24
|
+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
25
|
+
with:
|
|
26
|
+
persist-credentials: false
|
|
27
|
+
- name: Initialize CodeQL
|
|
28
|
+
uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934 # v4
|
|
29
|
+
with:
|
|
30
|
+
languages: python
|
|
31
|
+
build-mode: none
|
|
32
|
+
queries: security-extended
|
|
33
|
+
- name: Analyze
|
|
34
|
+
uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934 # v4
|
|
35
|
+
with:
|
|
36
|
+
category: /language:python
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Dependency audit
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [main]
|
|
5
|
+
pull_request:
|
|
6
|
+
branches: [main]
|
|
7
|
+
schedule:
|
|
8
|
+
- cron: '17 4 * * 1'
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
audit:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
timeout-minutes: 15
|
|
18
|
+
steps:
|
|
19
|
+
- name: Check out source
|
|
20
|
+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
21
|
+
with:
|
|
22
|
+
persist-credentials: false
|
|
23
|
+
- name: Set up Python
|
|
24
|
+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
25
|
+
with:
|
|
26
|
+
python-version: '3.12'
|
|
27
|
+
- name: Install audit tooling
|
|
28
|
+
run: python -m pip install uv==0.12.24 pip-audit==2.10.1
|
|
29
|
+
- name: Validate lockfile
|
|
30
|
+
run: uv lock --check
|
|
31
|
+
- name: Export pinned dependencies
|
|
32
|
+
run: uv export --locked --all-extras --no-emit-project --no-hashes --format requirements-txt --output-file "${RUNNER_TEMP}/locked-requirements.txt"
|
|
33
|
+
- name: Audit locked dependencies
|
|
34
|
+
run: python -m pip_audit --strict --no-deps --disable-pip --requirement "${RUNNER_TEMP}/locked-requirements.txt"
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
name: MCP registry package
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
publish:
|
|
7
|
+
description: Publish to PyPI and official MCP Registry (main only)
|
|
8
|
+
type: boolean
|
|
9
|
+
default: false
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
jobs:
|
|
13
|
+
verify:
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
os: [ubuntu-latest, windows-latest]
|
|
18
|
+
runs-on: ${{ matrix.os }}
|
|
19
|
+
env:
|
|
20
|
+
QT_QPA_PLATFORM: offscreen
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
23
|
+
with:
|
|
24
|
+
persist-credentials: false
|
|
25
|
+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
|
|
26
|
+
with:
|
|
27
|
+
python-version: '3.12'
|
|
28
|
+
- run: python -m pip install uv==0.12.24
|
|
29
|
+
- name: Install Qt runtime libraries (Linux)
|
|
30
|
+
if: runner.os == 'Linux'
|
|
31
|
+
run: |
|
|
32
|
+
sudo apt-get update
|
|
33
|
+
sudo apt-get install -y --no-install-recommends libegl1 libgl1 libopengl0 libxkbcommon0 libdbus-1-3
|
|
34
|
+
- run: uv sync --frozen --extra gui --extra dev
|
|
35
|
+
- run: uv run --frozen --extra gui --extra dev pytest -q
|
|
36
|
+
- run: uv build
|
|
37
|
+
- shell: bash
|
|
38
|
+
run: uvx --from twine twine check dist/*
|
|
39
|
+
- run: python scripts/check_registry_package.py
|
|
40
|
+
- shell: bash
|
|
41
|
+
run: |
|
|
42
|
+
uv venv .package-test --python 3.12
|
|
43
|
+
uv pip install --python .package-test dist/*.whl
|
|
44
|
+
if [[ "$RUNNER_OS" == Windows ]]; then
|
|
45
|
+
.package-test/Scripts/github-ai-mcp.exe --help
|
|
46
|
+
else
|
|
47
|
+
.package-test/bin/github-ai-mcp --help
|
|
48
|
+
fi
|
|
49
|
+
publish-pypi:
|
|
50
|
+
if: github.event_name == 'workflow_dispatch' && inputs.publish && github.ref == 'refs/heads/main'
|
|
51
|
+
needs: verify
|
|
52
|
+
runs-on: ubuntu-latest
|
|
53
|
+
environment: pypi
|
|
54
|
+
permissions:
|
|
55
|
+
contents: read
|
|
56
|
+
id-token: write
|
|
57
|
+
steps:
|
|
58
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
59
|
+
with:
|
|
60
|
+
persist-credentials: false
|
|
61
|
+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
|
|
62
|
+
with:
|
|
63
|
+
python-version: '3.12'
|
|
64
|
+
- run: python -m pip install uv==0.12.24
|
|
65
|
+
- run: uv build
|
|
66
|
+
- run: python scripts/check_registry_package.py
|
|
67
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
68
|
+
publish-registry:
|
|
69
|
+
if: github.event_name == 'workflow_dispatch' && inputs.publish && github.ref == 'refs/heads/main'
|
|
70
|
+
needs: publish-pypi
|
|
71
|
+
runs-on: ubuntu-latest
|
|
72
|
+
environment: mcp-registry
|
|
73
|
+
permissions:
|
|
74
|
+
contents: read
|
|
75
|
+
id-token: write
|
|
76
|
+
steps:
|
|
77
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
78
|
+
with:
|
|
79
|
+
persist-credentials: false
|
|
80
|
+
- name: Install publisher from reviewed release
|
|
81
|
+
env:
|
|
82
|
+
PUBLISHER_TAG: ${{ vars.MCP_PUBLISHER_TAG }}
|
|
83
|
+
PUBLISHER_SHA256: ${{ vars.MCP_PUBLISHER_SHA256 }}
|
|
84
|
+
run: |
|
|
85
|
+
set -euo pipefail
|
|
86
|
+
[[ "$PUBLISHER_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]
|
|
87
|
+
[[ "$PUBLISHER_SHA256" =~ ^[a-fA-F0-9]{64}$ ]]
|
|
88
|
+
curl --fail --location --silent --show-error "https://github.com/modelcontextprotocol/registry/releases/download/$PUBLISHER_TAG/mcp-publisher_linux_amd64.tar.gz" -o publisher.tar.gz
|
|
89
|
+
echo "$PUBLISHER_SHA256 publisher.tar.gz" | sha256sum --check
|
|
90
|
+
tar -xzf publisher.tar.gz mcp-publisher
|
|
91
|
+
- run: ./mcp-publisher login github-oidc
|
|
92
|
+
- run: ./mcp-publisher publish server.json
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Python checks
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
strategy:
|
|
14
|
+
fail-fast: false
|
|
15
|
+
matrix:
|
|
16
|
+
python-version: ["3.12", "3.13"]
|
|
17
|
+
env:
|
|
18
|
+
QT_QPA_PLATFORM: offscreen
|
|
19
|
+
steps:
|
|
20
|
+
- name: Check out source
|
|
21
|
+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
22
|
+
- name: Set up Python
|
|
23
|
+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
24
|
+
with:
|
|
25
|
+
python-version: ${{ matrix.python-version }}
|
|
26
|
+
- name: Install Qt runtime libraries
|
|
27
|
+
run: |
|
|
28
|
+
sudo apt-get update
|
|
29
|
+
sudo apt-get install -y --no-install-recommends libegl1 libgl1 libopengl0 libxkbcommon0 libdbus-1-3
|
|
30
|
+
- name: Install project and test dependencies
|
|
31
|
+
run: python -m pip install -e ".[gui,dev]"
|
|
32
|
+
- name: Check Python style
|
|
33
|
+
run: python -m ruff check src tests
|
|
34
|
+
- name: Run unit tests
|
|
35
|
+
run: python -m pytest -q
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: Security regressions
|
|
2
|
+
on: [push, pull_request]
|
|
3
|
+
permissions:
|
|
4
|
+
contents: read
|
|
5
|
+
jobs:
|
|
6
|
+
boundaries:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
10
|
+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
11
|
+
with:
|
|
12
|
+
python-version: '3.12'
|
|
13
|
+
- run: python -m pip install uv==0.12.24
|
|
14
|
+
- run: uv sync --frozen --extra dev
|
|
15
|
+
- run: uv run --frozen --extra dev pytest -q tests/test_security.py tests/test_publication.py tests/test_mcp.py
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
on: [push, pull_request]
|
|
3
|
+
permissions:
|
|
4
|
+
contents: read
|
|
5
|
+
jobs:
|
|
6
|
+
offline:
|
|
7
|
+
strategy:
|
|
8
|
+
fail-fast: false
|
|
9
|
+
matrix:
|
|
10
|
+
os: [ubuntu-latest, windows-latest]
|
|
11
|
+
runs-on: ${{ matrix.os }}
|
|
12
|
+
env:
|
|
13
|
+
QT_QPA_PLATFORM: offscreen
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
16
|
+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
17
|
+
with:
|
|
18
|
+
python-version: '3.12'
|
|
19
|
+
- name: Install Qt runtime libraries (Linux)
|
|
20
|
+
if: runner.os == 'Linux'
|
|
21
|
+
run: |
|
|
22
|
+
sudo apt-get update
|
|
23
|
+
sudo apt-get install -y --no-install-recommends libegl1 libgl1 libopengl0 libxkbcommon0 libdbus-1-3
|
|
24
|
+
- run: python -m pip install uv==0.12.24
|
|
25
|
+
- run: uv sync --frozen --extra gui --extra dev
|
|
26
|
+
- run: uv run --frozen --extra gui --extra dev pytest -q
|
|
27
|
+
- run: uv run --frozen --extra gui --extra dev ruff check .
|
|
28
|
+
- run: uv run --frozen --extra gui --extra dev mypy src
|
|
29
|
+
- run: uv run --frozen --extra gui --extra dev python examples/local_demo.py
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Windows onefile acceptance
|
|
2
|
+
on:
|
|
3
|
+
workflow_dispatch:
|
|
4
|
+
inputs:
|
|
5
|
+
runtime_dir:
|
|
6
|
+
description: Reviewed vendor directory on the Windows runner
|
|
7
|
+
required: true
|
|
8
|
+
type: string
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
# Vendor artifacts are private explicit build inputs, not unverified downloads.
|
|
14
|
+
runs-on: [self-hosted, Windows, X64]
|
|
15
|
+
timeout-minutes: 45
|
|
16
|
+
env:
|
|
17
|
+
QT_QPA_PLATFORM: offscreen
|
|
18
|
+
PYTHONUTF8: '1'
|
|
19
|
+
RUNTIME_DIR: ${{ inputs.runtime_dir }}
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
22
|
+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
|
|
23
|
+
with:
|
|
24
|
+
python-version: '3.12'
|
|
25
|
+
- run: python -m pip install uv==0.12.24
|
|
26
|
+
- run: uv sync --frozen --extra gui --extra dev
|
|
27
|
+
- run: uv pip install --python .venv/Scripts/python.exe -r launcher/build-requirements.txt
|
|
28
|
+
- run: .venv/Scripts/python.exe -m pytest -q
|
|
29
|
+
- run: .venv/Scripts/python.exe -m ruff check .
|
|
30
|
+
- run: .venv/Scripts/python.exe -m mypy src
|
|
31
|
+
- run: .venv/Scripts/python.exe scripts/build.py --runtime-dir "$env:RUNTIME_DIR"
|
|
32
|
+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
|
33
|
+
with:
|
|
34
|
+
name: GitHub-AI-MCP
|
|
35
|
+
if-no-files-found: error
|
|
36
|
+
path: dist/GitHub-AI-MCP.exe
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.venv/
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.pyc
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.pytest_cache/
|
|
6
|
+
.ruff_cache/
|
|
7
|
+
.mypy_cache/
|
|
8
|
+
build/
|
|
9
|
+
dist/
|
|
10
|
+
config/config.json
|
|
11
|
+
.env
|
|
12
|
+
.env.*
|
|
13
|
+
!.env.example
|
|
14
|
+
*.sqlite3*
|
|
15
|
+
vendor/
|
|
16
|
+
|
|
17
|
+
# Local test coverage reports
|
|
18
|
+
.coverage
|
|
19
|
+
.coverage.*
|
|
20
|
+
coverage.xml
|
|
21
|
+
htmlcov/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
## 1.0.2 — 2026-11-28
|
|
2
|
+
|
|
3
|
+
- Document all 26 public MCP tools, including purpose, parameters, return semantics, prerequisites and side effects.
|
|
4
|
+
- Expose descriptions for existing input parameters in MCP schemas without changing their types or defaults.
|
|
5
|
+
- Clarify destructive and open-world tool annotations; preserve local approvals and existing policy enforcement.
|
|
6
|
+
- Add regression tests for definition coverage and signature compatibility.
|
|
7
|
+
- PR #9 passed Python 3.12/3.13, Ubuntu and Windows offline checks, and security regressions. Glama TDQS re-evaluation is pending.
|
|
8
|
+
|
|
9
|
+
# Проверка и исправления запуска — 2026-10-13
|
|
10
|
+
|
|
11
|
+
Локальное исправление YAML без ключа/сети, редактируемая команда stdio, сохранение пользовательской команды, проверка введённого ключа, безопасные коды диагностики, обновление настроек служб, очистка неудачно запущенных процессов и регрессии. Подробности и ограничения: [AUDIT_RU.md](AUDIT_RU.md). Windows EXE в этой поставке не собран.
|
|
12
|
+
|
|
13
|
+
# Single-executable refactor
|
|
14
|
+
|
|
15
|
+
- Replace dual onedir GUI/server packaging and automatic release archives with
|
|
16
|
+
one native Windows onefile/windowed build, isolated temporary work and atomic output.
|
|
17
|
+
- Dispatch internal HTTP/stdio workers through the same EXE before importing Qt;
|
|
18
|
+
restore inherited Windows pipes without creating a console.
|
|
19
|
+
- Embed explicitly supplied PortableGit, gh and provider tunnel client; fail the
|
|
20
|
+
build if required vendor inputs are absent. Vendor binaries were not supplied
|
|
21
|
+
and are not included in this source delivery.
|
|
22
|
+
- Resolve read-only resources inside the extraction root; preserve per-user
|
|
23
|
+
state, vault credentials, process ownership, bounded restart and opt-in startup.
|
|
24
|
+
- Avoid persisting temporary tunnel executable paths between launches.
|
|
25
|
+
- Remove old launchers, dual-server entrypoint, installer, duplicate Windows setup
|
|
26
|
+
guide, generated inventories/reports, old evidence and unreferenced screenshots.
|
|
27
|
+
- Retain source, API/security docs, examples, tests, lock, licenses, optional signing
|
|
28
|
+
and explicitly invoked source/archive/hash utilities.
|
|
29
|
+
|
|
30
|
+
Validation in this Linux delivery: **165 tests passed**, Ruff passed, 35 source
|
|
31
|
+
files passed mypy, compileall and the offline local Git demo passed. Mypy's optional
|
|
32
|
+
psutil affinity discovery crashes in this container (PID lookup); the check was
|
|
33
|
+
run with that optional discovery disabled, without changing application sources.
|
|
34
|
+
Windows EXE compilation and native inherited-pipe/tray/Job Object/logon behavior,
|
|
35
|
+
vendor execution, live GitHub/tunnel and clean-machine portability were not tested.
|
|
36
|
+
See docs/RELEASE_BUILD.md for exact build inputs and commands.
|
|
37
|
+
|
|
38
|
+
# Changelog
|
|
39
|
+
|
|
40
|
+
## 1.0.1 — 2026-10-12
|
|
41
|
+
|
|
42
|
+
- Opt-in per-user Windows logon startup, validation/repair/removal, unified installer registration.
|
|
43
|
+
- OS-vault tunnel runtime credentials and scoped environment injection.
|
|
44
|
+
- Safe YAML editor, backed-up stdio path repair, installed-client doctor validation.
|
|
45
|
+
- Unmanaged external process detection, conservative health evidence and bounded recovery.
|
|
46
|
+
- Safe diagnostics, service/tray preferences, notifications and RU/EN setup guides.
|
|
47
|
+
- Source tests verified on Linux; native Windows and real remote acceptance pending.
|
|
48
|
+
|
|
49
|
+
## 1.0.0
|
|
50
|
+
|
|
51
|
+
Original source release; retained historical audits/evidence describe that release.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Development
|
|
2
|
+
|
|
3
|
+
Install the frozen lock with gui/dev extras; run pytest, ruff and mypy. Keep business logic outside GUI handlers and transport wrappers. Every mutation must preserve the policy boundary and final-tree invariant. Use offline bare remotes and MockTransport; real GitHub tests require a dedicated repository and separately authorized credentials.
|
|
4
|
+
|
|
5
|
+
Never add tokens, fake commits, fabricated evidence, broad shell-command tools or global Git config changes. If a change affects executable code, add meaningful regression coverage for its behavior. Record actual results and limitations in the verification report. Keep English README primary with a Russian guide link.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 GitHub-AI-MCP contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
include README.md README_RU.md LICENSE SECURITY.md CONTRIBUTING.md CHANGELOG.md uv.lock .env.example .gitignore
|
|
2
|
+
recursive-include docs *.md *.png *.json *.txt
|
|
3
|
+
recursive-include launcher *.ps1 *.bat *.md *.iss *.spec *.txt *.py
|
|
4
|
+
recursive-include config *.example.json
|
|
5
|
+
recursive-include examples *.py *.md
|
|
6
|
+
recursive-include tests *.py
|
|
7
|
+
recursive-include .github *.yml
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
recursive-include assets *.ico *.png *.svg
|
|
12
|
+
recursive-include scripts *.py
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: github-ai-mcp
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: Policy-enforced GitHub development with one changed path per commit
|
|
5
|
+
Requires-Python: >=3.12
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Requires-Dist: mcp==2.3.0
|
|
9
|
+
Requires-Dist: httpx==0.28.1
|
|
10
|
+
Requires-Dist: keyring==25.7.0
|
|
11
|
+
Requires-Dist: pydantic==2.14.0
|
|
12
|
+
Requires-Dist: ruamel.yaml==0.19.1
|
|
13
|
+
Requires-Dist: psutil==7.2.2
|
|
14
|
+
Provides-Extra: gui
|
|
15
|
+
Requires-Dist: PySide6-Essentials==6.12.0; extra == "gui"
|
|
16
|
+
Provides-Extra: dev
|
|
17
|
+
Requires-Dist: pytest==9.1.1; extra == "dev"
|
|
18
|
+
Requires-Dist: pytest-asyncio==1.4.0; extra == "dev"
|
|
19
|
+
Requires-Dist: ruff==0.16.10; extra == "dev"
|
|
20
|
+
Requires-Dist: mypy==2.4.0; extra == "dev"
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
|
|
23
|
+
# GitHub-AI-MCP
|
|
24
|
+
|
|
25
|
+
Local GitHub MCP server with explicit review and repository policies.
|
|
26
|
+
|
|
27
|
+
Requires Python 3.12+, Git, and an OS credential vault. GitHub CLI is needed for private Git operations. Install the optional GUI extra only for desktop use.
|
|
28
|
+
|
|
29
|
+
Initialize locally using `github-ai-mcp init`, configure the repository allowlist, and start with `github-ai-mcp serve` (stdio). Default configuration is READ_ONLY with no repositories or grants. Use `github-ai-mcp login` locally for authentication; never put tokens in MCP configuration.
|
|
30
|
+
|
|
31
|
+
See the [setup guide](https://github.com/fireaideveloper/GitHub-AI-MCP/blob/main/docs/MCP_CONNECTION.md) and [security model](https://github.com/fireaideveloper/GitHub-AI-MCP/blob/main/docs/SECURITY_MODEL.md).
|
|
32
|
+
|
|
33
|
+
<!-- mcp-name: io.github.fireaideveloper/github-ai-mcp -->
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="assets/readme/hero.svg" alt="GitHub-AI-MCP — local control for AI-assisted GitHub workflows; Python 3.12+, Windows, MCP, MIT, v1.0.2" width="100%">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# GitHub-AI-MCP
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://glama.ai/mcp/servers/fireaideveloper/GitHub-AI-MCP"><img src="https://glama.ai/mcp/servers/fireaideveloper/GitHub-AI-MCP/badges/score.svg" alt="GitHub AI MCP MCP server – quality and maintenance score on Glama"></a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center"><strong>AI-assisted GitHub development, with local review and policy-controlled publication.</strong></p>
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="README_RU.md">Русский</a> ·
|
|
14
|
+
<a href="docs/QUICKSTART_EN.md">Quickstart</a> ·
|
|
15
|
+
<a href="docs/USER_GUIDE_EN.md">User guide</a> ·
|
|
16
|
+
<a href="docs/API_REFERENCE.md">API reference</a> ·
|
|
17
|
+
<a href="docs/SECURITY_MODEL.md">Security</a> ·
|
|
18
|
+
<a href="LICENSE">MIT license</a>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
GitHub-AI-MCP is a desktop application and Model Context Protocol (MCP) server for controlled GitHub development. It combines local review, protected credentials, diagnostics and background service supervision with a policy-enforced Git workflow. It does not include an LLM or require an OpenAI API key for local Git/MCP work.
|
|
24
|
+
|
|
25
|
+
**Distribution:** one `GitHub-AI-MCP.exe` for Windows. The source project is Python 3.12+; end users of the built EXE need no separate Python or Git installation.
|
|
26
|
+
|
|
27
|
+
[Getting started](#getting-started) · [Features](#features) · [Architecture](#architecture) · [Workflow](#workflow) · [Security](#security) · [Build on Windows](#build-on-windows) · [Usage](#usage) · [Documentation](#documentation)
|
|
28
|
+
|
|
29
|
+
## Getting started
|
|
30
|
+
|
|
31
|
+
[](docs/QUICKSTART_EN.md)
|
|
32
|
+
|
|
33
|
+
**[Start the step-by-step Windows guide →](docs/QUICKSTART_EN.md)** · [Русская версия](docs/QUICKSTART_RU.md)
|
|
34
|
+
|
|
35
|
+
| Your goal | Start here |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| Build my own Windows EXE | [Tools, downloads and vendor setup](docs/QUICKSTART_EN.md) |
|
|
38
|
+
| Use GitHub locally | [First launch and authorization](docs/QUICKSTART_EN.md#4--first-launch-and-github-access) |
|
|
39
|
+
| Connect ChatGPT privately | [Secure MCP Tunnel](docs/QUICKSTART_EN.md#5--create-an-optional-private-secure-mcp-tunnel) |
|
|
40
|
+
|
|
41
|
+
The tunnel is optional for local use. All vendor inputs are required for the current one-file build; public binary availability depends on release and license review.
|
|
42
|
+
|
|
43
|
+
## Features
|
|
44
|
+
|
|
45
|
+
| Capability | What it provides |
|
|
46
|
+
| :--- | :--- |
|
|
47
|
+
| **MCP connectivity** | Local stdio, authenticated loopback Streamable HTTP and an optional existing official Secure MCP Tunnel profile. |
|
|
48
|
+
| **Local review** | Preview changes and bind approval to a specific snapshot, paths and messages. |
|
|
49
|
+
| **Precise Git history** | Exactly one genuinely changed path per commit; verify the final tree before publication. |
|
|
50
|
+
| **Repository policy** | Repository allowlists, path validation, secret detection and controlled push/PR operations. |
|
|
51
|
+
| **Desktop control** | Local setup, diagnostics, background service supervision, optional tray and Windows logon startup. |
|
|
52
|
+
| **Recovery** | Durable job state, ref reconciliation and metadata audit records. |
|
|
53
|
+
|
|
54
|
+
## Architecture
|
|
55
|
+
|
|
56
|
+

|
|
57
|
+
|
|
58
|
+
The GUI and CLI share the same service; MCP tools are wrappers around its Git and job engines. Local HTTP and tunnel stdio are independent transports. The tunnel is optional and requires an authorized, existing vendor profile. See [architecture](docs/ARCHITECTURE.md) and [MCP connection](docs/MCP_CONNECTION.md).
|
|
59
|
+
|
|
60
|
+
## Workflow
|
|
61
|
+
|
|
62
|
+

|
|
63
|
+
|
|
64
|
+
The engine freezes the desired tree and validates every commit against the approved plan. Publication additionally requires the configured checks, permissions and remote expectations. Default-branch and force pushes are forbidden by the application. No empty commits or fabricated timestamps are produced by the engine. See [commit semantics](docs/COMMIT_SEMANTICS.md) and [branch naming](docs/BRANCH_NAMING.md).
|
|
65
|
+
|
|
66
|
+
## Security
|
|
67
|
+
|
|
68
|
+

|
|
69
|
+
|
|
70
|
+
- GitHub and tunnel credentials use the OS vault; the local HTTP endpoint uses a separate token and binds to loopback.
|
|
71
|
+
- MCP tools cannot alter local administration or approvals; sensitive paths and detected credentials are denied.
|
|
72
|
+
- Configured host commands are **not sandboxed**. The local OS account is a trusted boundary; secret detection is heuristic.
|
|
73
|
+
|
|
74
|
+
Read the full [security model](docs/SECURITY_MODEL.md) and [security policy](SECURITY.md) before enabling write access.
|
|
75
|
+
|
|
76
|
+
## Build on Windows
|
|
77
|
+
|
|
78
|
+
> [!IMPORTANT]
|
|
79
|
+
> Native Windows packaging and live GitHub/tunnel acceptance have not been verified by the original Linux delivery. A passing source suite is not Windows certification. See the [Windows acceptance checklist](docs/WINDOWS_SMOKE_TEST.md).
|
|
80
|
+
|
|
81
|
+
### 1. Prepare the vendor runtime
|
|
82
|
+
|
|
83
|
+
Follow [RELEASE_BUILD.md](docs/RELEASE_BUILD.md) for the approved Git, GitHub CLI (`gh`) and official tunnel-client inputs. These binaries are absent from the supplied source archive; the build deliberately fails when an input is missing rather than producing a partial standalone application.
|
|
84
|
+
|
|
85
|
+
### 2. Build the executable
|
|
86
|
+
|
|
87
|
+
From the repository root in PowerShell:
|
|
88
|
+
|
|
89
|
+
```powershell
|
|
90
|
+
uv sync --frozen --extra gui --extra dev
|
|
91
|
+
uv pip install --python .venv/Scripts/python.exe -r launcher/build-requirements.txt
|
|
92
|
+
.venv/Scripts/python.exe scripts/build.py
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Use `--runtime-dir C:/approved-runtime` on the build command for an external runtime input. The default output is **only** `dist/GitHub-AI-MCP.exe` (no installer, ZIP, checksum/signature report or permanent build tree).
|
|
96
|
+
|
|
97
|
+
### 3. Launch and configure
|
|
98
|
+
|
|
99
|
+
Double-click the EXE, open Setup and configure the required services. Logon startup is opt-in and uses one per-user HKCU Run value. After moving the EXE, re-enable startup and repair the tunnel MCP command in Setup. User data stays in place. Closing the window may leave it in the tray; use **Exit** to stop its services.
|
|
100
|
+
|
|
101
|
+
The same executable dispatches the GUI and internal MCP workers. Vendor resources are extracted automatically to PyInstaller's temporary directory. Configuration, logs and database live in `%LOCALAPPDATA%\GitHub-AI-MCP`; credentials remain in the OS vault.
|
|
102
|
+
|
|
103
|
+
## Usage
|
|
104
|
+
|
|
105
|
+
| Task | Entry point |
|
|
106
|
+
| :--- | :--- |
|
|
107
|
+
| Source desktop development | `.venv/Scripts/python.exe -m github_ai_mcp.desktop.entry` |
|
|
108
|
+
| Source test suite | `uv run --frozen --extra gui --extra dev pytest -q` |
|
|
109
|
+
| Packaged diagnostics | `GitHub-AI-MCP.exe --cli --config <path> doctor` |
|
|
110
|
+
| MCP client setup | [Connection guide](docs/MCP_CONNECTION.md) |
|
|
111
|
+
|
|
112
|
+
The packaged EXE does not allocate a console; redirect/capture CLI output. Start with read-only operations and verify health before enabling writes. Remote connectivity needs an actual remote read-only invocation, not merely a running tunnel process.
|
|
113
|
+
|
|
114
|
+
## Documentation
|
|
115
|
+
|
|
116
|
+
| Getting started | Engineering and trust |
|
|
117
|
+
| :--- | :--- |
|
|
118
|
+
| [English guide](docs/USER_GUIDE_EN.md) · [Russian guide](docs/USER_GUIDE_RU.md) | [Architecture](docs/ARCHITECTURE.md) |
|
|
119
|
+
| [MCP connection](docs/MCP_CONNECTION.md) | [API reference](docs/API_REFERENCE.md) |
|
|
120
|
+
| [Release build](docs/RELEASE_BUILD.md) | [Commit semantics](docs/COMMIT_SEMANTICS.md) |
|
|
121
|
+
| [Troubleshooting (RU)](docs/TROUBLESHOOTING_RU.md) | [Security model](docs/SECURITY_MODEL.md) |
|
|
122
|
+
| [GitHub authentication](docs/GITHUB_AUTH.md) | [Branch naming](docs/BRANCH_NAMING.md) |
|
|
123
|
+
| [Windows acceptance](docs/WINDOWS_SMOKE_TEST.md) | [License compliance](docs/LICENSE_COMPLIANCE.md) |
|
|
124
|
+
|
|
125
|
+
## Community and feedback
|
|
126
|
+
|
|
127
|
+
Trying GitHub-AI-MCP? Share your experience with the Windows setup or MCP integration in the [early-user feedback thread](https://github.com/fireaideveloper/GitHub-AI-MCP/issues/8). Feature requests and reproducible bug reports are welcome through [Issues](https://github.com/fireaideveloper/GitHub-AI-MCP/issues).
|
|
128
|
+
|
|
129
|
+
If this project is useful to you, consider starring it on GitHub. Please never include credentials, private repository data or unredacted logs in public feedback.
|
|
130
|
+
|
|
131
|
+
## Contributing and license
|
|
132
|
+
|
|
133
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) and [CHANGELOG.md](CHANGELOG.md). Released under the [MIT license](LICENSE); bundled third-party components have their own licensing obligations.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
<p align="center"><sub>GitHub-AI-MCP · Local control. Explicit review. Verifiable changes.</sub></p>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# GitHub-AI-MCP
|
|
2
|
+
|
|
3
|
+
Local GitHub MCP server with explicit review and repository policies.
|
|
4
|
+
|
|
5
|
+
Requires Python 3.12+, Git, and an OS credential vault. GitHub CLI is needed for private Git operations. Install the optional GUI extra only for desktop use.
|
|
6
|
+
|
|
7
|
+
Initialize locally using `github-ai-mcp init`, configure the repository allowlist, and start with `github-ai-mcp serve` (stdio). Default configuration is READ_ONLY with no repositories or grants. Use `github-ai-mcp login` locally for authentication; never put tokens in MCP configuration.
|
|
8
|
+
|
|
9
|
+
See the [setup guide](https://github.com/fireaideveloper/GitHub-AI-MCP/blob/main/docs/MCP_CONNECTION.md) and [security model](https://github.com/fireaideveloper/GitHub-AI-MCP/blob/main/docs/SECURITY_MODEL.md).
|
|
10
|
+
|
|
11
|
+
<!-- mcp-name: io.github.fireaideveloper/github-ai-mcp -->
|