yunxiao-mcp
v0.0.1
Published
工作流 mcp server
Downloads
2
Readme
yunxiao-server
- 运行命令
npx -y yunxiao-mcp参数
参数等级
- 环境变量优先级最高
vim ~/.zshrc
export ALI_TOKEN=xxxx # 阿里云 token- mcp env 优先级其次
参数介绍
| 参数 | 说明 | 类型 | |------|------|------| | REPO_NAME | 非必填:代码仓库名称,用于创建 mr, stdio必填 | string | | APP_STACK_NAME | 非必填:appstack名称,用于自动运行流水线 | string | | ALI_TOKEN | 非必填:阿里云个人 token,用于创建mr以及用于自动运行流水线 | string |
配置
- stdio
"yunxiao-mcp": {
"command": "npx",
"args": ["-y", "yunxiao-mcp", "--stdio"],
"env": {
"APP_STACK_NAME": "xxxx",
"ALI_TOKEN": "xxxx",
"TARGET_BRANCH": "master",
"REPO_NAME": "xxx"
}
},- sse
- 首先运行 'npx yunxiao'
"yunxiao-mcp-sse": { "url": "http://localhost:8989/__mcp/sse", "env": { "APP_STACK_NAME": "xxxxx", "ALI_TOKEN": "xxxx", "TARGET_BRANCH": "master" } }- 环境变量也可写入项目根目录 .env文件中
