GitHub AI MCP
Provides policy-enforced Git workflow tools: preparing and freezing a desired tree, previewing changes, binding approvals to snapshots, enforcing one genuinely changed path per commit, validating branches and commits, verifying the final tree, and controlling publication.
Integrates with GitHub for controlled repository operations, including repository allowlists, path and secret checks, authenticated GitHub API access, controlled push/PR publication, and remote expectation checks.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 the step-by-step Windows guide → · Русская версия
Your goal | Start here |
Build my own Windows EXE | |
Use GitHub locally | |
Connect ChatGPT privately |
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
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
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
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
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.pyUse --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 |
|
Source test suite |
|
Packaged diagnostics |
|
MCP client setup |
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
Getting started | Engineering and trust |
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…
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.ISC
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to perform GitHub operations including repository management, file operations, issue tracking, and pull request creation.2-
- AlicenseBqualityCmaintenanceA Model Context Protocol (MCP) server for Forgejo and Gitea instances, enabling AI assistants to interact with repositories, issues, pull requests, and more.10019MIT
- AlicenseCqualityCmaintenanceA Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with the GitHub API directly.23MIT