MCP Server Git
by liliangshan
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LANGUAGE | No | Language for messages (en, zh, zh-CN, zh-TW) (default: en) | en |
| NO_PROXY | No | Comma-separated list of hosts that should not use proxy | |
| ALL_PROXY | No | Universal proxy URL for all protocols | |
| REPO_NAME | No | Repository identifier for logging and identification | |
| HTTP_PROXY | No | HTTP proxy URL (e.g., http://proxy.company.com:8080) | |
| HTTPS_PROXY | No | HTTPS proxy URL (e.g., http://proxy.company.com:8080) | |
| MCP_LOG_DIR | No | Directory for log files (default: ./.setting or ./.setting.{REPO_NAME}) | |
| REMOTE_NAME | No | Remote name (default: origin) | origin |
| SOCKS_PROXY | No | SOCKS5 proxy URL (e.g., socks5://proxy.company.com:1080) | |
| TOOL_PREFIX | No | Prefix for MCP tool names (default: empty) | |
| LOCAL_BRANCH | Yes | Local branch name to push from | |
| MCP_LOG_FILE | No | Log filename (default: mcp-git.log) | mcp-git.log |
| PROJECT_PATH | Yes | Absolute path to the git repository | |
| REMOTE_BRANCH | Yes | Remote branch name to push to | |
| GIT_PUSH_FLAGS | No | Additional git push flags (default: --progress) | --progress |
| MCP_CHANGES_FILE | No | Pending changes filename (default: pending-changes.json) | pending-changes.json |
| PULL_SOURCE_BRANCH | No | Source branch for git_pull (default: same as REMOTE_BRANCH) | |
| MCP_PUSH_HISTORY_FILE | No | Push history filename (default: push-history.json) | push-history.json |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
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-git'
If you have feedback or need assistance with the MCP directory API, please join our Discord server