Back to Directory

Cal MCP

Calagopus MCP Extension

Description

Calagopus MCP Extension

Cal MCP MCP server for Calagopus Panel. It lets AI assistants such as Claude, ChatGPT, Cursor and VS Code manage your panel through its API, limited to the permissions of the API key or OAuth connection they use. Screenshots Account → MCP: the endpoint, ready-made setup per client, connected OAuth clients and per-key limits. Connecting Claude.ai: the user picks the access level before approving. Admin settings: branding and panel-wide restrictions for every MCP connection. Requirements Calagopus Panel 1.2.10 or newer. Install 1. In the panel, open Admin → Extensions and install devcaloptreyxcalmcp.c7s.zip. 2. Restart the panel. Connect Endpoint: Account → MCP shows the endpoint and ready-made setup for each client, plus a prompt your AI agent can use to set itself up. Web connectors (Claude.ai, ChatGPT): OAuth 1. Add the endpoint as a custom connector (Claude: Settings → Connectors; ChatGPT: Settings → Connectors). 2. The client opens the panel. Sign in if asked, pick the access and approve. | Access | Allows | | --- | --- | | Read only | GET requests and the read tools in the client area; no /api/admin | | Your servers | Everything in the client area; no /api/admin | | Full access | Everything your account can do, admin area included (offered to admins only) | Approved clients are listed under Account → MCP → Connected clients, where you can disconnect them. On panels older than 1.2.10 the panel does not return to the approval page after signing in, so sign in first and then connect. No OAuth connection can manage your sign-in credentials, whatever access you pick: it cannot create, change, recreate or delete API keys, SSH keys or security keys, change your email, password, password login or two-factor setup, unlink OAuth logins or end sessions. This way a client cannot leave a credential behind that outlives disconnecting it. Reading them still works. To let an assistant manage credentials, connect it with an API key instead. Any MCP client that supports OAuth works the same way. The server follows the MCP authorization spec: protected resource metadata (RFC 9728) announced by WWW-Authenticate on 401, authorization server metadata (RFC 8414) at /.well-known/oauth-authorization-server/api/auth/extensions/dev.caloptreyx.calmcp/oauth, dynamic client registration (RFC 7591), the authorization code flow with PKCE S256 only, refresh tokens and token revocation (RFC 7009). The scopes are read, client and full. Other clients: API key 1. Create an API key under Account → API Keys. Give it only the permissions the assistant needs. 2. Send it as Authorization: Bearer . For example, in Claude Code: Tools | Tool | What it does | | --- | --- | | searchapi | Finds panel API endpoints by keywords | | describeapi | Shows an endpoint's parameters, request body and response | | readapi | Sends a GET request to any /api/client or /api/admin endpoint | | writeapi | Sends a POST, PUT, PATCH or DELETE request to any /api/client or /api/admin endpoint | | listservers | Lists the servers the account can access | | getserver | Shows a server's details and live resource usage | | powerserver | Starts, stops, restarts or kills a server; with wait, waits until it is running or offline and reports a crash during start-up | | sendcommand | Sends a console command | | runcommand | Sends a console command and returns only the output it produced, waiting for a text or regular expression (waitfor) or until the console is quiet, for at most 60 seconds | | readconsole | Reads recent console output | | listfiles | Lists files in a server directory | | readfile | Reads a text file, whole or by line or byte range, and reports its size, line count and SHA-256 | | editfile | Replaces exact text in a file, once or everywhere, without touching the rest | | writefile | Creates or replaces a text file | | listbackups, createbackup, restorebackup, deletebackup | Manage backups | | listschedules, createschedule, runschedule | List schedules, create one with a cron time and steps, or run one now | | liststartupvariables, updatestartupvariables | Read and change startup variables | The four API tools cover every client and admin endpoint, including those added by other extensions. Every tool declares whether it only reads, whether it can destroy data and whether repeating it is safe, so clients can ask before risky calls. listservers, getserver, listfiles and readapi also return their JSON as structuredContent with an outputSchema; the text stays for clients that do not read structured output. Large files readfile returns at most 100 KB at a time and says when it showed only part of a file. writefile replaces the whole file, so a part passed back to it would cut the file short. To prevent that: • editfile changes files of any size in place. • writefile refuses to replace an existing file over 100 KB unless it gets the file's expectedsha256 from readfile. • writefile and editfile refuse to write when expectedsha256 is given and the file has changed since it was read. Prompts Prompts are ready-made jobs you pick in your client, for example as slash commands. Server arguments accept a name, UUID or short ID, and clients that support completion suggest them as you type. | Prompt | Arguments | What it does | | --- | --- | --- | | diagnosecrash | server | Works out why a server crashed, starting from its recent console output | | setupminecraftserver | software, version, name, memory, server (all optional) | Creates or reconfigures a Minecraft server step by step, and asks you before accepting the EULA | | backupbeforeupdate | server, update | Makes a backup and checks that it finished before anything is updated | | findresourceusage | server, resource (both optional) | Finds which servers, or what inside one server, use the most CPU, memory, disk or network | Resources Clients that support resources can attach a server's console or files to a conversation. | Resource | Contents | | --- | --- | | calagopus://servers/{server}/console{?lines} | The last 200 console lines (up to 1000 with ?lines=), without colour codes | | calagopus://servers/{server}/files/{+path} | A file (text, or base64 for binary files, up to 1 MB), or a JSON directory listing when the path ends with /; listings link every entry and page with ?page= | {server} is a server UUID or short ID. Both templates complete {server}, and the files template completes {path}. The resource list holds the console and root directory of every server the key can access, 50 servers per page. Reads use the same panel endpoints as the tools, so the key's and subuser's permissions apply: a subuser without console access neither sees nor reads the console. Access limits Two limits keep an assistant from doing more than you want: | Limit | What it allows | | --- | --- | | Read-only | Only GET requests and read tools. Tools that change anything, and the setupminecraftserver and backupbeforeupdate prompts, are hidden from their lists and refused if called. GET endpoints that hand out credentials able to change things (the console websocket token, file upload URLs, node and database agent tokens and configs) and the two-factor setup endpoint are blocked as well. | | Client API only | No requests to /api/admin, even when the key has admin permissions. | • Admins can turn either limit on for every connection under Admin → Extensions → Cal MCP. • Users can turn them on for each of their own API keys under Account → MCP. These choices can only be changed while signed in, so a key cannot lift its own limits. • Limits add up: a key gets the panel-wide limits plus its own, and an OAuth connection also gets the limits of the access picked when approving it (Read only = read-only and client API only, Your servers = client API only). The server enforces them on every panel request the tools make, not only by hiding tools. Security • Every call runs as a panel API key, so the panel's own permission checks, rate limits and activity log apply. Bro

View on GitHub

Free & open source — install it from the repository

Specifications

Last UpdatedNovember 22, 2026
CompatibilityCalagopus >=1.2.10

Tags

mcpmcp-server
Player Manager
ExtensionsFree

Player Manager

by Caloptreyx

Calagopus extension: manage players of Minecraft Java and Bedrock servers (online players, whitelist, operators, bans).

No ratings yet