@chessceo/mcp 0.49.3 → 0.49.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/tools.js +10 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -372,6 +372,7 @@ async function callToolInner(name, args) {
|
|
|
372
372
|
case "start_cloud_engine":
|
|
373
373
|
return authedRequest("POST", "/api/agent/cloud-engines", {
|
|
374
374
|
machineType: String(args.machine_type),
|
|
375
|
+
...(typeof args.engine_type === "string" ? { engineType: args.engine_type } : {}),
|
|
375
376
|
});
|
|
376
377
|
case "list_cloud_engines":
|
|
377
378
|
return authedRequest("GET", "/api/agent/cloud-engines");
|
package/dist/tools.js
CHANGED
|
@@ -258,20 +258,25 @@ export const TOOLS = [
|
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
name: "list_cloud_machine_options",
|
|
261
|
-
description: "Returns the catalog of
|
|
261
|
+
description: "Returns the catalog of cloud-engine machine types the user can start — every engine shape (stockfish-only, lc0-only, and combo) they're entitled to, same visibility rules as the chess.ceo app (SKU, which engine(s) it runs, human display name, cost per hour, availability). ALWAYS call this before start_cloud_engine — SKU strings like 'rtx-5090-64' do not match the display names ('Stockfish 32 CPUs + Lc0 1× RTX 5090') and are NOT guessable, and a given SKU only supports the engine(s) shown in its `engine` field (a stockfish-only SKU cannot be started as lc0 or combo). Present the user the display names + prices; pass the SKU to start_cloud_engine.",
|
|
262
262
|
inputSchema: { type: "object", properties: {} },
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
name: "start_cloud_engine",
|
|
266
|
-
description: "Rent a
|
|
267
|
-
"CRITICAL: `machine_type` must be an exact SKU from `list_cloud_machine_options` (e.g. 'rtx-5090-64', NOT 'rtx-5090'). Guessing SKUs will fail. Call list_cloud_machine_options first, show the user the display names + prices, get their confirmation, then pass the SKU here.\n\n" +
|
|
268
|
-
"Use list_cloud_engines first to check if the user already has one running; don't start a second
|
|
266
|
+
description: "Rent a GPU/CPU instance on the user's chess.ceo account — stockfish-only, lc0-only, or combo (both in one container), whichever the chosen SKU provides. Real money — billed per second while running.\n\n" +
|
|
267
|
+
"CRITICAL: `machine_type` must be an exact SKU from `list_cloud_machine_options` (e.g. 'rtx-5090-64', NOT 'rtx-5090'). Guessing SKUs will fail. Call list_cloud_machine_options first, show the user the display names + prices, get their confirmation, then pass the SKU here. `engine_type` must match what that SKU actually provides (its `engine` field from the catalog) — omit it to default to whatever the SKU is (a combo SKU defaults to \"combo\").\n\n" +
|
|
268
|
+
"Use list_cloud_engines first to check if the user already has one running; don't start a second instance unless the user asked for it. Requires an MCP token with agent access.",
|
|
269
269
|
inputSchema: {
|
|
270
270
|
type: "object",
|
|
271
271
|
properties: {
|
|
272
272
|
machine_type: {
|
|
273
273
|
type: "string",
|
|
274
|
-
description: "SKU from list_cloud_machine_options (e.g. 'rtx-5090-64', 'rtx-5090-
|
|
274
|
+
description: "SKU from list_cloud_machine_options (e.g. 'rtx-5090-64', 'rtx-5090', 'epyc-256'). MUST be the exact SKU, not the display name and not a guess.",
|
|
275
|
+
},
|
|
276
|
+
engine_type: {
|
|
277
|
+
type: "string",
|
|
278
|
+
enum: ["stockfish", "lc0", "combo"],
|
|
279
|
+
description: "Which engine(s) to run. Must match the SKU's own `engine` field from list_cloud_machine_options — e.g. a stockfish-only SKU can only be started as \"stockfish\". Optional; defaults to \"combo\".",
|
|
275
280
|
},
|
|
276
281
|
},
|
|
277
282
|
required: ["machine_type"],
|
package/package.json
CHANGED