Skip to main content
Glama
moshehata95

Shehata MCP Server

by moshehata95

Shehata Git

IMPORTANT

Shehata Git is an early preview and the installers are not code-signed yet. Windows shows a SmartScreen notice (More info → Run anyway) and macOS needs right-click → Open the first time. Use disposable repositories while evaluating it and review every assignment before confirming it.

Why Shehata Git?

Git separates commit authorship from remote authentication, while GitHub CLI can hold more than one account for the same host. That flexibility is useful, but it also makes it easy for a terminal or coding agent to push with the wrong identity.

Shehata Git assigns one authenticated GitHub identity to each local repository. The route is repository-scoped, works outside the desktop UI, and fails closed when the assigned account is unavailable.

Related MCP server: Git MCP Server

Key features

  • Discover accounts from the official GitHub CLI without importing passwords or persisting tokens.

  • Assign an exact GitHub account and optional commit author to each repository.

  • Route HTTPS credentials per repository through git-credential-shehata.

  • Review changes, stage selected files, commit, pull with --ff-only, and run normal policy-checked pushes.

  • Expose a bounded MCP server for Codex, Claude Code, Cursor, and other coding clients without exposing arbitrary shell execution.

  • Record a redacted local activity trail that the user can search or clear.

  • Diagnose Git, GitHub CLI, WebView2, PATH, helper, database, and MCP readiness.

  • Restore the previous repository-local Git configuration when unlinking.

Screenshots

Local paths, private account names, and the build version are blurred.

Accounts

Repository routing

Agent bridge

Signing in through GitHub's own browser flow, with a one-time device code

Three local repositories, each pinned to its own GitHub identity and branch

Detected coding agents and the permission envelope that limits what they can request

Sign in through GitHub itself. The app never sees a password and never stores a token.

Every repository is pinned to one identity — enforced in the terminal too, not just in the app.

Coding agents get guarded Git access: force push, destructive reset, and token access are never exposed.

Requirements

To run the preview

  • Windows 10 or 11 (x64), or macOS on Apple Silicon

  • Git for Windows

  • GitHub CLI

  • Microsoft Edge WebView2 Runtime (normally already installed on supported Windows versions)

  • One or more GitHub accounts authenticated through GitHub CLI

The System Check page can install missing Git and GitHub CLI packages through Windows Package Manager after explicit confirmation.

To build from source

  • Node.js 20 or newer

  • pnpm 9 or newer

  • Stable Rust toolchain

  • Platform prerequisites required by Tauri 2

On Windows, install the MSVC C++ Build Tools and a Windows SDK.

Installation

Grab the latest build from the releases page:

Platform

File

Windows 10/11 (x64)

Shehata-Git-windows-x64-setup.exe

macOS (Apple Silicon)

Shehata-Git-macos-apple-silicon.dmg

Neither installer is code-signed yet, so the first launch needs one extra click: More info → Run anyway on Windows, right-click → Open on macOS.

Build from source

git clone https://github.com/moshehata95/Shehata-Git.git
cd Shehata-Git
pnpm install --frozen-lockfile
pnpm prepare:sidecars
cargo build --workspace
pnpm dev

prepare:sidecars builds the CLI, credential helper, and MCP executable that Tauri validates and bundles beside the desktop app.

Build the Windows NSIS installer with:

pnpm build

The installer is written to target/release/bundle/nsis/Shehata Git_<version>_x64-setup.exe.

Usage

  1. Open System Check and resolve any missing prerequisites.

  2. Open Identities and sign in through GitHub's browser flow.

  3. Open Repositories, choose a local Git worktree, and review the detected remote.

  4. Assign the intended GitHub identity and optional local commit author.

  5. Confirm Connect and verify. Shehata Git backs up the relevant local Git configuration, enables the route, and performs a read-only remote test.

  6. Use Git normally from the app, a terminal, or an approved coding agent.

CLI default in the Identities page means the account used by ordinary gh commands for that host. Use Make CLI default to change it after an in-app confirmation. It does not override repository routes.

CLI examples

shehata doctor
shehata accounts list
shehata repos add "C:\path\to\repository"
shehata repos list
shehata repos assign "C:\path\to\repository" --account octocat
shehata status "C:\path\to\repository"
shehata test "C:\path\to\repository"
shehata push "C:\path\to\repository" --yes

Add --json before the subcommand for machine-readable output.

Architecture

React desktop UI ──Tauri IPC──▶ shehata-core ──▶ shehata-git
shehata CLI ──────────────────▶      │         ├─▶ shehata-github
shehata MCP server ───────────▶      │         └─▶ shehata-storage
Git credential protocol ──────▶ git-credential-shehata

Business rules live in Rust, not in React or Tauri handlers. SQLite stores repository mappings, configuration backups, and redacted audit metadata—but no credential values. See Architecture and the decision records.

Security

  • Tokens stay in the official GitHub CLI credential store and are requested just in time by the Rust backend.

  • Tokens never cross Tauri IPC, enter SQLite, or appear in MCP responses.

  • Processes launched by the app use fixed executables, argument arrays, timeouts, and validated inputs. Git's required ! helper entry is generated only from a canonical executable path and validated UUID.

  • Force push, destructive reset, clean, rebase, amend, remote deletion, and arbitrary shell execution are intentionally unavailable.

  • Repository routing fails closed instead of falling through to another account.

Read the security model and report vulnerabilities through the process in SECURITY.md. Never post credentials in an issue.

Roadmap

Windows and macOS installers now ship from CI on every tagged release. The immediate focus is trust: code signing on both platforms, macOS notarization, an Intel macOS build, two-account acceptance testing, and clean-machine verification.

See the complete roadmap.

Contributing

Issues and focused pull requests are welcome. Start with CONTRIBUTING.md, follow the Code of Conduct, and use the provided issue/PR templates.

The required quality gate is:

cargo fmt --all -- --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
pnpm --filter @shehata/desktop lint
pnpm --filter @shehata/desktop typecheck
pnpm --filter @shehata/desktop test

Author

Created and maintained by Dr Mohamed Shehata — Nephrologist | Freelance Medical Branding & Marketing Expert | AI Enthusiast.

License

Shehata Git is available under the MIT License.

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
11Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Provides secure, controlled access to GitHub operations through the Model Context Protocol with enterprise-grade security features including secret detection, vulnerability scanning, rate limiting, and full audit trails. Supports repository management, file operations, branch creation, commits, and GitHub Actions workflows.
    Last updated
  • A
    license
    B
    quality
    D
    maintenance
    Provides comprehensive Git functionality to MCP clients, enabling users to manage repositories through operations like commits, diffs, and branch management via natural language. It automatically detects the current working directory and supports multi-project workflows across different local environments.
    Last updated
    16
    432
    2
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables AI models to perform comprehensive Git repository management including cloning, file operations, branching, committing, and pushing changes via a secure FastMCP interface. It features built-in workspace isolation and rigorous input validation to ensure production-ready repository control.
    Last updated
  • A
    license
    -
    quality
    C
    maintenance
    Enables AI agents to perform full Git operations including branching, committing, pushing, stashing, rebasing, and more, with safety features and support for advanced workflows like Git Flow and LFS.
    Last updated
    57
    MIT

View all related MCP servers

Related MCP Connectors

  • Git-native policy layer for AI agents: check_action verdicts against rules approved via PR.

  • Remote MCP for Copilot CLI switch gate MCP, structured receipts, audit logs, and reviewer-ready evid

  • Zero-install security baseline for AI coding agents — OWASP/CWE-cited rules over MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moshehata95/Shehata-Git'

If you have feedback or need assistance with the MCP directory API, please join our Discord server