Skip to main content

The application management MCP server for Alibaba Cloud

Project description

Alibaba Cloud Application Management MCP Server

GitHub stars

中文版本

Alibaba Cloud Application Management MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Alibaba Cloud Application Management services, enabling AI assistants to analyze, build, and deploy applications to Alibaba Cloud ECS instances.

Features

  • Application Deployment: Deploy applications to ECS instances with automatic application and application group management
  • Project Analysis: Automatically identify project technology stack and deployment methods (npm, Python, Java, Go, Docker, etc.)
  • Environment Installation: Install deployment environments (Docker, Java, Python, Node.js, Go, Nginx, Git) on ECS instances
  • Deployment Management: Query deployment status and retrieve last deployment information
  • OSS Integration: Upload deployment artifacts to OSS buckets
  • Local File Operations: List directories, run shell scripts, and analyze project structures
  • Dynamic API Tools: Support for Alibaba Cloud OpenAPI operations

Prepare

Install uv

# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh

Configuration

Use VS Code + Cline to config MCP Server.

To use alibaba-cloud-application-management-mcp-server MCP Server with any other MCP Client, you can manually add this configuration and restart for changes to take effect:

{
  "mcpServers": {
    "alibaba-cloud-application-management-mcp-server": {
      "timeout": 600,
      "command": "uvx",
      "args": [
        "alibaba-cloud-application-management-mcp-server@latest"
      ],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "Your Access Key ID",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "Your Access Key SECRET"
      }
    }
  }
}

Tools

Application Management Tools

Tool Function Status
CodeDeploy Deploy applications to ECS instances with automatic artifact upload to OSS Done
GetDeployStatus Query deployment status of application groups Done
GetLastDeploymentInfo Retrieve information about the last deployment Done

Local Tools

Tool Function Status
ListDirectory List files and subdirectories in a directory Done
RunShellScript Execute shell scripts or commands Done
AnalyzeDeployStack Identify project deployment methods and technology stack Done

OOS Tools

Tool Function Status
InstallDeploymentEnvironment Install deployment environments (Docker, Java, Python, Node.js, Go, Nginx, Git) on ECS instances Done
ListExecutions Query OOS execution status by execution ID Done

Deployment Workflow

The typical deployment workflow includes:

  1. Project Analysis: Use AnalyzeDeployStack to identify the project's technology stack and deployment method
  2. Build Artifacts: Build or package the application locally (e.g., create tar.gz or zip files)
  3. Deploy Application: Use CodeDeploy to deploy the application to ECS instances
    • Automatically creates application and application group if they don't exist
    • Uploads artifacts to OSS
    • Deploys to specified ECS instances
  4. Install Environment (Optional): Use InstallDeploymentEnvironment to install required runtime environments on ECS instances
  5. Monitor Deployment: Use GetDeployStatus to check deployment status

Contact us

If you have any questions, please join the Alibaba Cloud Ops MCP discussion group (DingTalk group: 113455011677) for discussion.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file alibaba_cloud_application_management_mcp_server-1.0.0.tar.gz.

File metadata

File hashes

Hashes for alibaba_cloud_application_management_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 23bc9d3aa62d30900676bef32b5104e2db3fd5fba2eab0fce344c798318d4cfa
MD5 58eade3893486b09a75dc22cc81d358e
BLAKE2b-256 e98c93997c8ce93eb0c46000c28087ccf1099bc8763f5a34b13eaffbd6ad9ab4

See more details on using hashes here.

File details

Details for the file alibaba_cloud_application_management_mcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for alibaba_cloud_application_management_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf9b9212d965742757a06ea3154eec253e41c9754226568f1e34a11a613e4e6b
MD5 06a7ead43a37e9708165fa913b2d46ab
BLAKE2b-256 41a51f6c86e8218d9ccc32d365202fdaa72145fb73c6b3979221b0560465e7fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page