MCP MGit Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LANGUAGE | No | Optional language setting for commit messages. Supported values: `en` (English), `zh` or `zh-CN` (Simplified Chinese), `zh-TW` (Traditional Chinese). The tool will prompt users to provide commit messages in the configured language. | en |
| MGIT_CMD | No | Optional mgit command to execute (can be full path) | mgit |
| REPO_NAME | Yes | Required repository name for push operations. Use `mgit list` (or `${MGIT_CMD} list`) to view available repository names. | |
| PROJECT_NAME | No | Optional project branding for tool descriptions |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| my-project-repo_mgit_pushA | [My Awesome Project] Execute mgit push command for repository "my-project-repo" with a commit message. IMPORTANT:
USAGE:
Please provide the commit message in English language. NOTE: If the push result contains a branch merge URL (such as a pull request URL), please output it to the user. If you can open a browser, you may also automatically open the URL. |
| my-project-repo_get_push_historyA | [My Awesome Project] Get the last 5 push history records for repository "my-project-repo". This tool MUST be called before using mgit_push to ensure the current changes have not been pushed before. After calling this tool, you can proceed with mgit_push. |
| my-project-repo_get_operation_logsC | [My Awesome Project] Get operation logs |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/liliangshan/mcp-server-mgit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server