Skip to main content
Glama

GitHub-AI-MCP


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.

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.

Getting started · Features · Architecture · Workflow · Security · Build on Windows · Usage · Documentation

Getting started

Start here — prepare, build, configure and connect

Start the step-by-step Windows guide → · Русская версия

Your goal

Start here

Build my own Windows EXE

Tools, downloads and vendor setup

Use GitHub locally

First launch and authorization

Connect ChatGPT privately

Secure MCP Tunnel

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.

Related MCP server: GitHub MCP Server

Features

Capability

What it provides

MCP connectivity

Local stdio, authenticated loopback Streamable HTTP and an optional existing official Secure MCP Tunnel profile.

Local review

Preview changes and bind approval to a specific snapshot, paths and messages.

Precise Git history

Exactly one genuinely changed path per commit; verify the final tree before publication.

Repository policy

Repository allowlists, path validation, secret detection and controlled push/PR operations.

Desktop control

Local setup, diagnostics, background service supervision, optional tray and Windows logon startup.

Recovery

Durable job state, ref reconciliation and metadata audit records.

Architecture

Architecture: MCP clients, local service and policy, isolated Git clones and GitHub API

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 and MCP connection.

Workflow

Plan, preview, review, commit, verify and publish

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 and branch naming.

Security

Repository policy, snapshot approvals, OS credential vault, recovery and audit

  • GitHub and tunnel credentials use the OS vault; the local HTTP endpoint uses a separate token and binds to loopback.

  • MCP tools cannot alter local administration or approvals; sensitive paths and detected credentials are denied.

  • Configured host commands are not sandboxed. The local OS account is a trusted boundary; secret detection is heuristic.

Read the full security model and security policy before enabling write access.

Build on Windows

IMPORTANT

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 theWindows acceptance checklist.

1. Prepare the vendor runtime

Follow 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.

2. Build the executable

From the repository root in PowerShell:

uv sync --frozen --extra gui --extra dev
uv pip install --python .venv/Scripts/python.exe -r launcher/build-requirements.txt
.venv/Scripts/python.exe scripts/build.py

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).

3. Launch and configure

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.

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.

Usage

Task

Entry point

Source desktop development

.venv/Scripts/python.exe -m github_ai_mcp.desktop.entry

Source test suite

uv run --frozen --extra gui --extra dev pytest -q

Packaged diagnostics

GitHub-AI-MCP.exe --cli --config <path> doctor

MCP client setup

Connection guide

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.

Documentation

Community and feedback

Trying GitHub-AI-MCP? Share your experience with the Windows setup or MCP integration in the early-user feedback thread. Feature requests and reproducible bug reports are welcome through Issues.

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.

Contributing and license

See CONTRIBUTING.md and CHANGELOG.md. Released under the MIT license; bundled third-party components have their own licensing obligations.


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers