Back to Home
liliangshan icon

mcp-server-mgit

Verified Safe

by liliangshan

Overview

An MCP server for executing `mgit push` operations and managing project configurations across multiple Git repositories.

Installation

Run Command
npx @liangshanli/mcp-server-mgit

Environment Variables

  • REPO_NAME

Security Notes

The server executes external `mgit push` commands via `child_process.spawn`. While user-provided commit messages are sanitized (double quotes replaced) and `shell: false` is used to prevent basic shell injection, the fundamental security relies on the `mgit` command itself being trusted and correctly configured. Environment variables like `MGIT_CMD` and `REPO_NAME` are assumed to be set to trusted values by the server operator, not directly by an external client. Local file I/O is used for logging and push history, which is generally safe given controlled paths. No hardcoded secrets or 'eval' were found.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens500
Stars0
Forks0
Last Update2025-11-25

Tags

mgitgitmcpdeveloper toolssource control