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.
@megaease
Basic information
Model Context Protocol (MCP) Server for MegaCloud.
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>"
}
}
}
}_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)
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.
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.
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.
It requires Python and the `mcp[cli]` package. You can install it with `pip install "mcp[cli]"`.
The `list_middleware_types` tool returns all supported identifiers. Based on the creation tools, Redis (single instance and clustered) is one supported type.
Use the `restart_middleware` tool and provide the `middleware_instance_name` (string) of the instance you want to restart.
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.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
🚀 The fast, Pythonic way to build MCP servers and clients.

Model Context Protocol Servers
Comments