Back to Home
elifarley icon

hug-scm

Verified Safe

by elifarley

Overview

Provides AI assistants with access to Hug SCM commands for investigating and understanding Git and Mercurial repositories.

Installation

Run Command
hug-scm-mcp-server

Environment Variables

  • HUG_HOME

Security Notes

The server explicitly states that it only exposes read-only operations to AI assistants, preventing any destructive actions on the repository. It uses `subprocess.run` with list arguments, which mitigates shell injection risks. Path validation is implemented to prevent directory traversal attacks and ensure commands operate on valid, existing directories. No hardcoded secrets or direct network listening are evident in the provided source code.

Similar Servers

Stats

Interest Score32
Security Score9
Cost ClassMedium
Avg Tokens300
Stars2
Forks0
Last Update2026-01-19

Tags

Version ControlGitMercurialAI AssistantCLIRepository AnalysisMCP Server