Developer Reference
API v1 and MCP Protocol Reference.
OpenAI-compatible REST routes and Model Context Protocol transport for programmatic access to your infrastructure.
Base URL
Route every request to the production backend host below. Both the panel domain and this host resolve to the same origin.
Authentication
Include credentials in the Authorization header using the Bearer scheme. The panel accepts both API keys issued from the dashboard and active session JWTs.
Authorization: Bearer mf_live_xxx # API Key (PRO or STUDIO plan)
Authorization: Bearer <jwt-token> # Session TokenREST API v1
OpenAI-compatible routes for chat completions and model discovery. The completions endpoint accepts the standard request shape used by official SDKs.
Returns the catalog of available models, their identifiers, and ownership metadata.
curl -X GET https://cexi.my.id/api/v1/models \
-H "Authorization: Bearer mf_live_xxx"Generates a chat completion. Alias available at /api/v1/chat. Pass an optional effort field to control reasoning depth.
curl -X POST https://cexi.my.id/api/v1/chat/completions \
-H "Authorization: Bearer mf_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"model": "hy3-free",
"messages": [
{ "role": "system", "content": "You are an automated server management agent." },
{ "role": "user", "content": "Check server health and resource usage." }
],
"effort": "high"
}'Model Context Protocol
Connect Claude Desktop, Cursor, or any MCP-compatible client to drive nodes and servers programmatically. The tool list is scoped to your account.
Server metadata: name, version, protocol version, and declared capabilities.
Enumerates every tool the MCP server exposes, including input schemas for each.
curl -X GET https://cexi.my.id/mcp/tools \
-H "Authorization: Bearer your_jwt_token"Invokes a named tool with arguments. Tools include list_nodes, control_server, rcon_command, deploy_from_git, and more.
curl -X POST https://cexi.my.id/mcp/tools/call \
-H "Authorization: Bearer your_jwt_token" \
-H "Content-Type: application/json" \
-d '{
"name": "rcon_command",
"arguments": {
"serverId": "server_id_here",
"command": "op PlayerName"
}
}'Interactive Console
Fire live requests against the running backend from this page. Results render inline below the form.