You're viewing a demo portfolio

Join the waitlist
PRSM

create_media_space

Active

Tool of cloud.redu/mcp

declared in 2.0.0

Creates a private Redu media space: a small NFS VM backed by a persistent volume, intended for WordPress/WooCommerce wp-content/uploads in autoscaling clusters. Prefer letting deploy_app/deploy_compose create this by passing create_media_space:true after plan_deploy approval; use this tool when manually preparing or reusing shared uploads storage.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "name",
    "keypair_name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[a-z0-9-]+$",
      "maxLength": 63,
      "minLength": 1,
      "description": "Name for the media space, e.g. myshop-media."
    },
    "size_gb": {
      "type": "integer",
      "default": 20,
      "maximum": 2048,
      "minimum": 1,
      "description": "Persistent media volume size in GB."
    },
    "flavor_id": {
      "type": "string",
      "default": "2",
      "minLength": 1,
      "description": "Small VM flavor id for the NFS media server. m1.small is enough for most WordPress uploads."
    },
    "mount_path": {
      "type": "string",
      "default": "/mnt/redu-media/uploads",
      "description": "Host mount path that app VMs will use before binding into /var/www/html/wp-content/uploads."
    },
    "network_id": {
      "type": "string",
      "minLength": 1,
      "description": "Private network id. Use the same network as the WordPress app and managed DB."
    },
    "keypair_name": {
      "type": "string",
      "minLength": 1,
      "description": "Existing SSH keypair name."
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8
    },
    "security_group_names": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [
        "default"
      ],
      "description": "Security groups for the media VM. Redu opens NFS 2049 from private networks only."
    }
  },
  "additionalProperties": false
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

cloud.redu/mcp

1/7 registries
View full server →