Clarity Theme & UI
by ppatooOriginal panel theme, layout customizer, and UI enhancement layer for Calagopus Panel
Calagopus Model Context Protocol (MCP) Connector Extension - 26 Management Tools
Calagopus Model Context Protocol (MCP) Connector Extension - 26 Management Tools
Calagopus Model Context Protocol (MCP) Connector Extension -red.svg) The Calagopus MCP Connector (dev.calagopus.mcpserver) is an extension for the Calagopus Game Panel authored by Pato that exposes 26 management tools via the Model Context Protocol (MCP) using JSON-RPC 2.0 and Server-Sent Events (SSE) transports. This extension enables AI coding assistants, agents, and desktop applications (Cursor, Claude Desktop, Antigravity, custom MCP clients) to seamlessly manage game servers, daemon containers, volume files, backup archives, domain SSL certificates, and Minecraft plugin catalogs. --- ⚠️ Disclaimer & Liability Notice > IMPORTANT: This codebase is crude and experimental. The author (Pato) holds NO LIABILITY or responsibility for any security vulnerabilities, exploits, software bugs, data loss, server downtime, system damage, or any direct/indirect issues resulting from installing, operating, or modifying this code. Use and deploy entirely at your own risk. --- 📄 License & Terms of Use This project is licensed under a Custom Source & Use License: 1. Ownership & Attribution: Code is owned by Pato. Any modifications, derived works, forks, or redistributions must retain copyright notices and provide prominent credit to Pato. 2. Non-Commercial Restriction: This code cannot be made paid, sold, put behind a paywall, or monetized by anyone. It must remain free and open access. 3. No Warranty: Provided "as-is" without warranty of any kind. See the full terms in the LICENSE file. --- 📦 Package Archive Location • Extension Archive File: devcalagopusmcpserver.c7s • Package Identifier: dev.calagopus.mcpserver • Author: Pato • Version: 1.3.9 --- 🔐 Extension Configure Dashboard & Key Rotation When installed on any Calagopus panel instance, the extension automatically generates a 32-hex cryptographically random secret key (calagopusmcpsec) stored in the PostgreSQL settings table. Managing & Rotating Your Key: 1. Extension Configure Page: Navigate to Admin Extensions $\rightarrow$ MCP Connector Widget in your panel to view your active key, copy the authenticated SSE URL, and click 🔄 Rotate Secret Key to instantly re-roll a new key at any time. 2. Key API Endpoints: • GET /api/admin/extensions/mcp/v1/key: Retrieve current key (panel administrators only). The public /api/extensions/mcp/v1/key returns 401. • POST /api/admin/extensions/mcp/v1/key/rotate: Re-roll and save a new secret key (panel administrators only). • GET /api/extensions/mcp/v1/status: Extension status and metadata. --- 🚀 Quick Start / Installation 1. Install via Calagopus Panel CLI 2. Configure MCP Client (mcpconfig.json) Add the Calagopus MCP Server to your MCP client configuration (/.gemini/config/mcpconfig.json, Cursor, or Claude Desktop): --- 🛠️ Complete 26 MCP Tools Reference All tools support both hyphenated (list-servers), underscore (listservers), and prefixed (calagopuslistservers) name aliases. 1. Server Management & Live State • list-servers: List visible game servers with UUIDs, status, allocations, node mappings, memory & disk. • get-server: Get detailed server metadata, allocation, egg config, and live Wings daemon metrics. • power-server: Send start, stop, restart, or kill action signals to a server daemon container. • send-console-command: Run console command string on a running server. • read-console: Retrieve recent tail of server console log output. 2. Machine & Host Infrastructure • list-machines: List enrolled node hosts with health status, SFTP port, URL, memory & disk capacity. • get-system-health: Query live Calagopus panel system metrics, database connections, and cache latency. 3. File System & File Transfers • list-files: Browse directory contents inside a server's container volume. • read-file: Read text file contents up to 1 MB from a server volume. • write-file: Create a file or replace its contents in the server volume (No undo). • upload-file-from-url: Have the machine node fetch a remote file onto the server volume. • download-files: Generate a signed download link for a file, directory, or server volume archive. 4. Backups & Disaster Recovery • list-backups: Every backup a server holds, with state, size, checksum, and creation date. • create-backup: Take a background backup archive for a server. • download-backup: Short-lived download link for a finished backup archive. 5. Web App & Domain SSL Management • get-site: Web app address, custom domain bindings, SSL state, and deploy status. • deploy-repo: Deploy a public GitHub repository onto a web app. • deploy-files: Deploy local archive/files directly to a web app. • attach-domain: Point custom domain at a web app with automated SSL certificate provisioning. • detach-domain: Remove custom domain from a web app. 6. Minecraft Plugin Catalog Integration • search-plugins: Live search Minecraft plugin catalog (Modrinth API) filtered by software (paper, spigot, velocity, fabric) & MC version. • list-plugins: List every plugin JAR file present in /plugins. • install-plugin: Install a plugin JAR and required dependencies from the catalog into /plugins. • remove-plugin: Delete a plugin JAR from /plugins. 7. Administrative Resources • list-nests: List all game nests, egg repositories, and server templates configured in Calagopus. • list-users: List registered panel users, email addresses, roles, and administrative privileges. --- 🔒 Security Notes • Use Authorization: Bearer or X-MCP-Key: . The ?apikey= URL form still works for existing clients; set CALAGOPUSMCPALLOWQUERYKEY=false to disable it. URLs are written to proxy and access logs. • The MCP key can manage every server on the panel through these tools. Treat it as an admin credential. • CALAGOPUSMCPREADONLY=true blocks every state-changing tool. • Plugin checksums are SHA-1. The downloaded jar is hashed and removed on mismatch. • Node-side URL fetches (upload-file-from-url, deploy-files, deploy-repo, install-plugin) reject private and loopback addresses by literal IP and obvious internal hostnames. They cannot stop DNS rebinding; use node firewall rules for internal ranges. 📡 API Endpoints • Discovery Endpoint: GET /api/extensions/mcp/v1/info • SSE Stream Transport: GET /api/extensions/mcp/v1/sse • Message Transport: POST /api/extensions/mcp/v1/sse or POST /api/extensions/mcp/v1/messages
Original panel theme, layout customizer, and UI enhancement layer for Calagopus Panel
Web UI interface for an AI assistant addon for Calagopus game panel with interactive file read/write approval and multi-provider API keys
A Calagopus panel extension that allows users to manage Minecraft server players.
Calagopus Panel extension for installing Minecraft plugins, mods, and datapacks from Modrinth
Calagopus extension: manage players of Minecraft Java and Bedrock servers (online players, whitelist, operators, bans).

Let the user easily change server properties from the UI