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

File metadata

File hashes

Hashes for alibaba_cloud_application_management_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d69204004091b2af4e7391dd0fd6ff644923efa892506aff2ed3b8d112e57b9a
MD5 626c74e7cc091d21dcbf96e2179d8986
BLAKE2b-256 976615ec310b129c37769768bd436e529d7dfe7b519ffc921d2b3aaa0549c256

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alibaba_cloud_application_management_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9ffd0368aec0413337c876bdd4b64c646b4dba245b940983c6121bace35f30c
MD5 455082a8064055483a2885ff7fcc5d1e
BLAKE2b-256 2d415d4a5e2d3e72b318d44c74050fb9a095c56080b9dc79164d45ad604a13a5

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