Skip to main content

disk-expansion-precheck

An MCP Server for Alibaba Cloud ECS disk expansion precheck.

Features

  • Runs over stdio
  • Exposes one MCP tool: disk_expansion_precheck
  • Validates inputs before execution
  • Performs six precheck groups for Alibaba Cloud ECS disk expansion:
    • instance information
    • online expansion support
    • temporary storage risk
    • disk layout and filesystem usage
    • backup management
    • resource quota

Requirements

  • Python 3.12+
  • uv
  • Alibaba Cloud credentials available as environment variables:
    • ALIBABA_CLOUD_ACCESS_KEY_ID
    • ALIBABA_CLOUD_ACCESS_KEY_SECRET
    • ALIBABA_CLOUD_SECURITY_TOKEN when using STS credentials

Run From Source

uv sync
uv run disk-expansion-precheck

Run After Publishing

uvx disk-expansion-precheck

Tool

disk_expansion_precheck

This tool returns a structured JSON precheck report.

Required inputs:

  • cloud_provider
  • region
  • instance_id
  • disk_id
  • target_size_gb
  • os_type
  • disk_role

Common optional inputs:

  • dist_name
  • current_size_gb
  • filesystem_type
  • partition_scheme
  • lvm_in_use
  • service_criticality
  • change_window
  • provider_constraints
  • asset_information
  • topology_information
  • zone_id
  • instance_name
  • expected_backup_policy
  • quota_scope_hint
  • temporary_disk_hints

Output structure:

  • status
  • summary
  • checks
  • risk_summary
  • recommended_next_steps
  • error

Inspector

Local source run:

npx @modelcontextprotocol/inspector uv run disk-expansion-precheck

Cherry Studio Config

Published package:

{
  "mcpServers": {
    "disk-expansion-precheck": {
      "command": "uvx",
      "args": ["disk-expansion-precheck"]
    }
  }
}

Source run:

{
  "mcpServers": {
    "disk-expansion-precheck": {
      "command": "uv",
      "args": ["run", "disk-expansion-precheck"]
    }
  }
}

Package Layout

Source code lives in:

  • src/disk_expansion_precheck

Metadata

Release files for disk-expansion-precheck 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for disk-expansion-precheck 0.1.2
File Size Uploaded Provenance Actions
disk_expansion_precheck-0.1.2.tar.gz 21.6 kB Without provenance Details for disk_expansion_precheck-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for disk-expansion-precheck 0.1.2
File Interpreter ABI Platform Actions
disk_expansion_precheck-0.1.2-py3-none-any.whl Python 3 none any Details for disk_expansion_precheck-0.1.2-py3-none-any.whl

Total release size: 45.9 kB

Release files / disk_expansion_precheck-0.1.2.tar.gz

Download URL disk_expansion_precheck-0.1.2.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3b8b842afa2a99eb45ea86f097c0a4e18720559b9f50750d4ebea5e1bee343a3
BLAKE2b-256 checksum
How to use checksums
eaf30026f2e55c1670b5095b93c5bc9182ba4325a147c288f9ca11ae4d5e8d61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / disk_expansion_precheck-0.1.2-py3-none-any.whl

Download URL disk_expansion_precheck-0.1.2-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
accc6f698016bf0d2a0d708e2d89d4be709dcec3b41feef488cb82b4a9c06dbd
BLAKE2b-256 checksum
How to use checksums
cb409a371b401af404997873421e584d2c3bc07ddd8bada6b2ac2417bb31d0d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for disk-expansion-precheck 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page