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.4.tar.gz.

File metadata

File hashes

Hashes for alibaba_cloud_application_management_mcp_server-1.0.4.tar.gz
Algorithm Hash digest
SHA256 467a72c36f6b171f2404359cb0bd32cb6306b82f4f3958560a30b158bf96aae1
MD5 243ae1df69877f57873fee41c4deb69b
BLAKE2b-256 e0661b2214e08217f22f1258bf8f1559aabc601f7b15233dcf838c29f3f0be3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alibaba_cloud_application_management_mcp_server-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2e3b4c2d35451100770ed4d1ab5dae538ff6baf6228890498306037faa531ef3
MD5 0a9781875e72e495a242e90283f1d69e
BLAKE2b-256 653ac1784b4ded43aaa0ce51af1e9bb57286a74ff7fd0b143465385eb5afd354

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