Skip to content

v0.9.1

Latest

Choose a tag to compare

@zhaoshuaibo-china zhaoshuaibo-china released this 25 Jun 12:15
· 28 commits to master since this release
3ee9f5e

πŸš€ v0.9.1 - Header Credentials Support

We're excited to announce the release of Alibaba Cloud Ops MCP Server v0.9.1, bringing a revolutionary enhancement to authentication flexibility with header-based credentials support that enables multi-tenant scenarios and dynamic credential switching.

✨ What's New

πŸ” Dynamic Header Credentials Support

This release introduces game-changing header-based authentication that allows MCP Clients to control credentials for each individual tool call, enabling powerful multi-tenant scenarios and seamless account switching.

🎯 Features:

  • Per-Request Credential Control: MCP Clients can specify different credentials for each tool call
  • Multi-Tenant Architecture: Support multiple users/accounts through a single MCP Server instance
  • Dynamic Account Switching: Switch between different Alibaba Cloud accounts without server restart
  • Real-time Credential Management: Use any user's credentials for any tool call instantly

🏒 Multi-Tenant & Dynamic Switching Capabilities

πŸ”„ Dynamic Credential Switching

Each tool call can use completely different credentials, allowing:

  • Account A credentials for ECS operations
  • Account B credentials for RDS management
  • Account C credentials for monitoring data
  • All within the same session and server instance

πŸ”§ How to Use Header Credentials

Supported Header Fields:

  • x-acs-accesskey-id: Your Alibaba Cloud Access Key ID
  • x-acs-accesskey-secret: Your Alibaba Cloud Access Key Secret
  • x-acs-security-token: Your Alibaba Cloud Security Token (for STS scenarios)

Client-side (New Feature)

MCP Clients can now choose between:

Option 1: Server Environment Variables (Existing)

# Server started with environment variables
ALIBABA_CLOUD_ACCESS_KEY_ID=your_key_id \
ALIBABA_CLOUD_ACCESS_KEY_SECRET=your_secret \
alibaba-cloud-ops-mcp-server

Option 2: Client Header Credentials (New)

// MCP Client example
const mcpRequest = {
  headers: {
    'x-acs-accesskey-id': 'your_access_key_id',
    'x-acs-accesskey-secret': 'your_access_key_secret',
    'x-acs-security-token': 'your_security_token' // Optional, for STS
  },
  // ... other MCP request data
};

πŸ“¦ Installation & Upgrade

# Install the latest version
pip install alibaba-cloud-ops-mcp-server==0.9.1

# Upgrade from previous version
pip install --upgrade alibaba-cloud-ops-mcp-server

πŸ”„ Authentication Methods Comparison

Method Scope Flexibility Multi-Tenant Dynamic Switch
Environment Variables Server-wide Static ❌ ❌
Header Credentials Per-request Dynamic βœ… βœ…

Full Changelog: v0.9.0...v0.9.1

Installation: pip install alibaba-cloud-ops-mcp-server==0.9.1

Upgrade: pip install --upgrade alibaba-cloud-ops-mcp-server