MCP.so
Sign In

MegaCloud MCP Server

@megaease

About MegaCloud MCP Server

Model Context Protocol (MCP) Server for MegaCloud.

Basic information

Category

Other

License

Apache-2.0 license

Runtime

python

Transports

stdio

Publisher

megaease

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "megacloud-mcp": {
      "type": "stdio",
      "command": "mcp",
      "args": [
        "run",
        "<your-repo-dir>/megacloud-mcp/megacloud_mcp/__main__.py"
      ],
      "env": {
        "MEGACLOUD_AUTHTOKEN": "<your-auth-token>"
      }
    }
  }
}

Tools

18

_None_

List of host objects.

_None_

List of supported middleware‐type identifiers.

_None_

List of middleware instance objects

`middleware_instance_name` (string): Middleware Instance Name

Operation result / status confirmation

`middleware_instance_name` (string): Middleware Instance Name

Operation result / status confirmation

`middleware_instance_name` (string): Middleware Instance Name

Operation result / status confirmation

`middleware_instance_name` (string): Middleware Instance Name

Operation result / deletion confirmation

`middleware_instance_name` (string): Middleware Instance Name

Detailed middleware-instance object

`middleware_instance_name` (string): Middleware Instance Name

Status object (e.g. running/stopped + node list)

Overview

What is MegaCloud MCP Server?

MegaCloud MCP Server is a server that connects MCP-compatible clients (like VS Code) to the MegaCloud API. It enables developers to manage middleware instances, check host availability, inspect status and configuration, and perform backups—all through natural language or tool calls.

How to use MegaCloud MCP Server?

First, obtain an authentication token from the MegaCloud console by inspecting a network call’s Authorization: Bearer <token> header. Then clone the repository and install the mcp[cli] package globally. Finally, configure your MCP client (e.g., VS Code Cline or GitHub Copilot) with a stdio endpoint that runs mcp run megacloud_mcp/__main__.py and sets the MEGACLOUD_AUTHTOKEN environment variable.

Key features of MegaCloud MCP Server

  • Host checking (list available hosts)
  • Middleware lifecycle: create, start, stop, restart, delete
  • Add or remove nodes from middleware instances
  • Status and configuration inspection
  • Backup middleware instances

Use cases of MegaCloud MCP Server

  • Deploy a new single or clustered Redis instance via a chat command
  • Check the health and status of running middleware
  • Scale a Redis cluster by adding or removing nodes
  • Automate routine backups of production middleware
  • Quickly restart a stalled middleware instance

FAQ from MegaCloud MCP Server

How do I obtain an auth token?

Log in to the MegaCloud console, open your browser’s Network tab while loading any API call, and extract the Authorization: Bearer <token> header value.

What runtime does MegaCloud MCP Server require?

It requires Python and the mcp[cli] package. You can install it with pip install "mcp[cli]".

What middleware types are supported?

The list_middleware_types tool returns all supported identifiers. Based on the creation tools, Redis (single instance and clustered) is one supported type.

How do I restart a middleware instance?

Use the restart_middleware tool and provide the middleware_instance_name (string) of the instance you want to restart.

Where does my middleware data live?

Data is managed by the MegaCloud API. The server itself does not store any data; it only passes commands and responses between your client and the MegaCloud backend.

Comments

More Other MCP servers