Skip to main content
Glama
yjiace

AlibabaCloud DevOps MCP Server

by yjiace

generate_pipeline_yaml

Generate YAML configuration for Alibaba Cloud DevOps pipelines to preview, debug, or manually deploy without creating the pipeline.

Instructions

[Pipeline Management] Generate only the YAML configuration for a pipeline without creating it.

📋 Use Cases:

  • Preview YAML before creating pipeline

  • Generate YAML for manual deployment

  • Debug pipeline configuration

📖 Recommended Workflow:

  1. 🎯 Parse user description for explicit parameters

  2. 🔍 If missing context, prefer IDE detection (terminal + file reading) over API calls

  3. 🚀 Call this tool with collected parameters

💡 Parameter Collection Strategy:

  • For QUICK pipeline creation: Use IDE detection (git config, file reading)

  • For PRECISE parameter selection: Consider list_repositories, list_service_connections when needed

  • Balance efficiency vs. accuracy based on user intent

⚡ Built-in capabilities: Handles default service connections internally, auto-extracts project name from repo URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
organizationIdYesOrganization ID, can be found in the basic information page of the organization admin console
nameYesPipeline name (required). LLM should generate a meaningful name based on user's request
buildLanguageYesProgramming language (REQUIRED). LLM should detect from project files: pom.xml→java, package.json→nodejs, requirements.txt→python, go.mod→go, *.csproj→dotnet
buildToolYesBuild tool (REQUIRED). LLM should infer from buildLanguage and project files: java+pom.xml→maven, java+build.gradle→gradle, nodejs+package-lock.json→npm, nodejs+yarn.lock→yarn, python→pip, go→go, dotnet→dotnet
deployTargetNoDeployment target from user description. vm: Virtual Machine/Host deployment, k8s: Kubernetes deployment, none: Build only without deployment. Default: none
repoUrlNoRepository URL (LLM should get from 'git config --get remote.origin.url')
branchNoGit branch (LLM should get from 'git branch --show-current')
serviceNameNoService name (LLM can derive from repository name or project directory name)
serviceConnectionIdNoService connection UUID for repository access
jdkVersionNoJDK version for Java projects (LLM should read from pom.xml or gradle.properties). Options: 1.6, 1.7, 1.8, 11, 17, 21. Default: 1.8
mavenVersionNoMaven version for Java projects. Options: 3.6.1, 3.6.3, 3.8.4, 3.9.3. Default: 3.6.3
nodeVersionNoNode.js version for Node projects (LLM should read from package.json engines.node or .nvmrc). Options: 16.8, 18.12, 20. Default: 18.12
pythonVersionNoPython version for Python projects (LLM should read from .python-version or pyproject.toml). Options: 3.9, 3.12. Default: 3.12
goVersionNoGo version for Go projects (LLM should read from go.mod). Options: 1.19.x, 1.20.x, 1.21.x. Default: 1.21.x
kubectlVersionNoKubectl version for Kubernetes apply. Options: 1.25.16, 1.26.12, 1.27.9. Default: 1.27.9
buildCommandNoCustom build command to override default
testCommandNoCustom test command to override default
uploadTypeNoArtifact upload type. flowPublic: Yunxiao public storage space, packages: Organization private generic package repository. Default: packages
artifactNameNoCustom artifact name. Default: 'Artifacts_${PIPELINE_ID}'
artifactVersionNoArtifact version number, required when uploadType is packages. Default: '1.0'
packagesServiceConnectionNoPackages service connection UUID, required when uploadType is packages
packagesRepoIdNoPackages generic repository ID, required when uploadType is packages. Default: 'flow_generic_repo'
includePathInArtifactNoWhether to include full path in artifact. Default: false
machineGroupIdNoMachine group UUID for VM deployment (required when deployTarget=vm)
executeUserNoUser for executing deployment scripts (root, admin). Default: root
artifactDownloadPathNoPath to download artifacts on target machine for VM deployment. Default: /home/admin/app/package.tgz
deployCommandNoCustom deploy command for VM deployment
pauseStrategyNoPause strategy for VM deployment. firstBatchPause: The first batch is paused. noPause: No pause. eachBatchPause: Pause each batch. Default: firstBatchPause
batchNumberNoNumber of batches for VM deployment. Default: 2
kubernetesClusterIdNoKubernetes cluster ID for K8s deployment (required when deployTarget=k8s)
namespaceNoKubernetes namespace for K8s deployment
dockerImageNoDocker image name for container deployment
yamlPathNoPath to Kubernetes YAML file for K8s deployment

Other Tools

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/yjiace/alibabacloud-devops-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server