Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
LOG_LEVEL | No | Log level for debugging (e.g., debug) | |
GITLAB_URL | No | GitLab server URL | https://gitlab.com |
GITLAB_TOKEN | No | GitLab Personal Access Token (format: glpat-xxxxxxxxxxxxxxxxxxxx) | |
WECHAT_CORP_ID | No | WeChat Work corporation ID (alternative to webhook) | |
GITLAB_USERNAME | No | Your GitLab username | |
MCP_SERVER_NAME | No | MCP server name | gitlab-wechat-mcp |
WECHAT_AGENT_ID | No | WeChat Work agent ID (alternative to webhook) | |
MCP_SERVER_VERSION | No | MCP server version | 1.0.0 |
WECHAT_CORP_SECRET | No | WeChat Work corporation secret (alternative to webhook) | |
WECHAT_WEBHOOK_URL | No | WeChat Work webhook URL for sending messages |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_gitlab_commits | 获取GitLab用户在指定日期的代码提交记录 |
send_to_wechat | 发送消息到企业微信 |
generate_daily_report | 生成并发送GitLab提交记录的日报到企业微信 |