mcp-server-mgit
Verified Safeby liliangshan
Overview
An MCP server for executing `mgit push` operations and managing project configurations across multiple Git repositories.
Installation
npx @liangshanli/mcp-server-mgitEnvironment 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
github-mcp-server
The GitHub MCP Server enables AI agents, assistants, and chatbots to interact with GitHub's platform for repository management, issue/PR automation, CI/CD intelligence, code analysis, and team collaboration through natural language.
backlog
Manage project backlog and tasks using Markdown files in a Git repository, designed for frictionless collaboration between AI agents and human developers.
repository-manager
Manages Git repositories (cloning, pulling, status, configuration) and serves as an Agentic AI tool for interacting with codebases, enabling semantic search and Python script execution.
mcp-gihub-integration
This package provides a GitHub API client for integration with an MCP (Model Context Protocol) server, enabling automation of GitHub tasks.