技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
JoeGlenn1213/lgh

JoeGlenn1213/lgh

Local Git hosting for coding agents: serve
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add lgh -- npx -y lgh
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
1 ★ · JoeGlenn1213/lgh · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 1 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 JoeGlenn1213/lgh;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

LGH - LocalGitHub

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

中文文档
**LGH (LocalGitHub)** is a lightweight local Git hosting service. It wraps git http-backend to provide GitHub-like HTTP access, running entirely on localhost - turning your local directory into a Git server.
✨ Features
- 🚀 **Lightweight** - Single binary, no external dependencies
- 🔧 **Easy to Use** - Intuitive CLI commands, one-click repository setup
- 🌐 **HTTP Access** - Standard Git HTTP protocol, compatible with all Git clients
- 🔒 **Authentication** - Built-in Basic Auth with salted password hashing
- 🛡️ **Read-Only Mode** - Optional read-only mode to protect repositories
- 📡 **mDNS Discovery** - Automatic LAN discovery for team collaboration
- 🌍 **Tunnel Support** - One-click expose to internet (ngrok, cloudflared)
- ⚡ **Smart Archival (v1.2.0)** - lgh up / lgh save commands with auto .gitignore
- 🤖 **MCP Server (v1.2.0)** - AI Agent integration (Cursor, Claude Desktop)
📦 Installation
Option 1: Download Pre-built Binary (Recommended)
Download the pre-built binary for your system — these links always point to the latest release:
| OS | Architecture | Download |
|------|------|------|
| macOS | Apple Silicon (M1/M2/M3) | lgh-darwin-arm64 |
| macOS | Intel | lgh-darwin-amd64 |
| Linux | x86_64 | lgh-linux-amd64 |
| Linux | ARM64 | lgh-linux-arm64 |
| Windows | x86_64 | lgh-windows-amd64.exe |
Windows Installation
1. Download lgh-windows-amd64.exe
2. Rename to lgh.exe
3. Move to a folder in your %PATH% (e.g., C:\Program Files\lgh\)
4. Run in PowerShell or Command Prompt
Option 2: Install Script
Option 3: Homebrew (macOS)
Option 4: Build from Source
Option 5: Go Install
🚀 Quick Start
1. Initialize LGH Environment
This creates the necessary directories and config files in ~/.localgithub/.
2. Start the Server
Server listens on http://127.0.0.1:9418 by default.
3. One-Step Add & Push (v1.0.9+)
The fastest way to host a local project:
This single command will:
1. Initialize a Git repo (if not already one).
2. **Auto-Commit** all files (if the repo is empty).
3. Register it with LGH.
4. **Auto-Push** to the server immediately.
4. Add Without Pushing
If you prefer manual control:
5. Smart Archival (v1.2.0+)
The fastest way to backup and sync your code:
**Smart Ignore** automatically:
- Detects project type (Python, Go, Node, Java, Rust, AI/ML)
- Generates appropriate .gitignore file
- Blocks large files (>50MB) and sensitive files (.env, *.key)
- **(v1.2.3+)** When used via MCP, returns exact triggered_job_ids: [...] array, allowing AI to track pipeline status with zero blind spots
5. Push Code
After adding, you can use standard Git commands:
5. Clone from Elsewhere
📖 Command Reference
| Command | Description | Example |
|------|------|------|
| lgh init | Initialize LGH environment | lgh init |
| lgh serve | Start HTTP server | lgh serve -d |
| lgh stop | Stop running server | lgh stop |
| lgh add | Add repository to LGH | lgh add . --name my-repo |
| lgh list | List all repositories (detailed) | lgh list |
| lgh status | View server status and repo list | lgh status |
| lgh remove | Remove repository (use status/list first) | lgh remove my-repo |
| lgh tunnel | Expose to internet | lgh tunnel --method ngrok |
| lgh auth | Manage authentication | lgh auth setup |
| lgh -v | Show version | lgh -v |
| lgh doctor | Check system health | lgh doctor |
| lgh repo status | Check repo connection state | lgh repo status |
来源
awesome · https://github.com/JoeGlenn1213/lgh
按领域浏览
MCP 服务
Traction
1 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引