·
28 commits
to master
since this release
π 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 IDx-acs-accesskey-secret: Your Alibaba Cloud Access Key Secretx-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-serverOption 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