Multiplayer Agent is an MCP server published by com.multiplayeragent, hosted at api.multiplayeragent.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 26 tools, including create_game, list_games, set_game_name, define_room_type, get_connection_info.
Make any browser game multiplayer and host it at a share link. No account needed to start.
7 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Mint a new game (publishable key) under your studio (secret key). Returns its publishableKey + wsEndpoint. Point a client at the new key, or scope this MCP to it by passing the x-mp-game header.
| Parameter | Type | Description |
|---|---|---|
| label | string | A human label for the game, e.g. 'N0RT arena'. |
{
"name": "create_game",
"title": "Create a new game",
"description": "Mint a new game (publishable key) under your studio (secret key). Returns its publishableKey + wsEndpoint. Point a client at the new key, or scope this MCP to it by passing the x-mp-game header.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"label": {
"type": "string",
"description": "A human label for the game, e.g. 'N0RT arena'."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
List the games (publishable keys) under your studio, with labels and per-game settings. Marks which game is `primary` (the one unnamed calls fall back to) and which one this connection is currently pointed at.
No parameters.
{
"name": "list_games",
"title": "List your games",
"description": "List the games (publishable keys) under your studio, with labels and per-game settings. Marks which game is `primary` (the one unnamed calls fall back to) and which one this connection is currently pointed at.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Set a human-readable name for a game (the `game` argument, else the x-mp-game header, else your only game). The name shows in your dashboard: call this when you start building so the game isn't unnamed. Refuses to guess when the studio has several games and none was named.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| name * | string | Display name, e.g. 'N0RT Arena'. |
{
"name": "set_game_name",
"title": "Name a game",
"description": "Set a human-readable name for a game (the `game` argument, else the x-mp-game header, else your only game). The name shows in your dashboard: call this when you start building so the game isn't unnamed. Refuses to guess when the studio has several games and none was named.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Display name, e.g. 'N0RT Arena'."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create or replace the spec for a room (validation/types/defaults). Returns connection info. Omit fields entirely for a fully schemaless room.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| spec * | object | The room schema: name, optional maxClients, entities.players.fields, shared.fields. |
| roomName * | string | Unique room name under your key, e.g. 'dots-arena'. |
{
"name": "define_room_type",
"title": "Define a multiplayer room type",
"description": "Create or replace the spec for a room (validation/types/defaults). Returns connection info. Omit fields entirely for a fully schemaless room.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"roomName",
"spec"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"spec": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"shared": {
"type": "object",
"required": [
"fields"
],
"properties": {
"fields": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"enum": [
"string",
"number",
"boolean"
],
"type": "string"
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"string",
"number",
"boolean"
],
"type": "string"
},
"default": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
}
}
]
}
}
}
},
"entities": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"required": [
"fields"
],
"properties": {
"fields": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"enum": [
"string",
"number",
"boolean"
],
"type": "string"
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"string",
"number",
"boolean"
],
"type": "string"
},
"default": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
}
}
]
}
},
"keyedBy": {
"type": "string",
"const": "sessionId"
}
}
}
},
"maxClients": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"description": "The room schema: name, optional maxClients, entities.players.fields, shared.fields."
},
"roomName": {
"type": "string",
"description": "Unique room name under your key, e.g. 'dots-arena'."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Returns { wsEndpoint, roomName, publishableKey, adsPublisherId } for wiring a client. adsPublisherId is your BYO Google Ads id (embed it if set). Check the returned `target` names the game you meant before shipping the key.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| roomName * | string | The room name. |
{
"name": "get_connection_info",
"title": "Get connection info for a room",
"description": "Returns { wsEndpoint, roomName, publishableKey, adsPublisherId } for wiring a client. adsPublisherId is your BYO Google Ads id (embed it if set). Check the returned `target` names the game you meant before shipping the key.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"roomName"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"roomName": {
"type": "string",
"description": "The room name."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Returns a complete client wired to this room. platform "web" (default): a single-file HTML game with realtime movement plus an anonymous (claimable) player, a saved color (datastore), and a click leaderboard; write it to disk and open it. platform "unity": one drop-in C# script for the Unity C# SDK (Unity 2021.2+) that boots itself on Play in an empty scene (realtime movement, remote smoothing, an event, reconnect hints). The game it is wired to is stamped in a comment at the top of the file.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| platform | string | Client platform: "web" (default, the JS SDK for HTML / any web engine) or "unity" (the C# SDK, Unity 2021.2+). |
| roomName * | string | The room name. |
{
"name": "get_client_snippet",
"title": "Get a paste-ready client snippet",
"description": "Returns a complete client wired to this room. platform \"web\" (default): a single-file HTML game with realtime movement plus an anonymous (claimable) player, a saved color (datastore), and a click leaderboard; write it to disk and open it. platform \"unity\": one drop-in C# script for the Unity C# SDK (Unity 2021.2+) that boots itself on Play in an empty scene (realtime movement, remote smoothing, an event, reconnect hints). The game it is wired to is stamped in a comment at the top of the file.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"roomName"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"platform": {
"enum": [
"web",
"unity"
],
"type": "string",
"description": "Client platform: \"web\" (default, the JS SDK for HTML / any web engine) or \"unity\" (the C# SDK, Unity 2021.2+)."
},
"roomName": {
"type": "string",
"description": "The room name."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Deploy server-side game logic (JS source) for a room so it runs AUTHORITATIVELY: clients send inputs and the server computes state on a tick (anti-cheat by construction). Define handlers as functions over a global `state` (RoomStateView shape): onJoin(id), onLeave(id), onInput(id, input), onEvent(id, type, data), onTick(dt); emit(type,data)/emitTo(id,type,data) send events to clients. For TRUSTWORTHY persistence the client can't fake, call saveData(id, patch)/loadData(id) (the player's server-only save) and submitScore(id, board, score, mode), the server decides the values (the client passes its identity via MP.join({…, player})). Each deploy returns a version (roll back with rollback_room_logic; read runtime errors with get_room_logs). Limits: code <= 256KB, tickRate 1-60. The code runs in a locked-down isolate: handlers must be SYNCHRONOUS (no async/await/promises/timers), there is no network or require, console.* is a no-op, and state must stay JSON-serializable (no Map/Set/class instances). Call get_sdk_reference for the full contract.
| Parameter | Type | Description |
|---|---|---|
| code | string | JS source defining onJoin/onLeave/onInput/onEvent/onTick over a global `state`. Or, for a long file, pass uploadId instead. |
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| roomName * | string | The room name to make authoritative. |
| tickRate | integer | Server ticks per second (default 20). |
| uploadId | string | Instead of code: the uploadId of a .js file you created with create_upload (for this game) and PUT with curl. For logic too long to send inline. |
{
"name": "deploy_room_logic",
"title": "Deploy authoritative server logic",
"description": "Deploy server-side game logic (JS source) for a room so it runs AUTHORITATIVELY: clients send inputs and the server computes state on a tick (anti-cheat by construction). Define handlers as functions over a global `state` (RoomStateView shape): onJoin(id), onLeave(id), onInput(id, input), onEvent(id, type, data), onTick(dt); emit(type,data)/emitTo(id,type,data) send events to clients. For TRUSTWORTHY persistence the client can't fake, call saveData(id, patch)/loadData(id) (the player's server-only save) and submitScore(id, board, score, mode), the server decides the values (the client passes its identity via MP.join({…, player})). Each deploy returns a version (roll back with rollback_room_logic; read runtime errors with get_room_logs). Limits: code <= 256KB, tickRate 1-60. The code runs in a locked-down isolate: handlers must be SYNCHRONOUS (no async/await/promises/timers), there is no network or require, console.* is a no-op, and state must stay JSON-serializable (no Map/Set/class instances). Call get_sdk_reference for the full contract.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"roomName"
],
"properties": {
"code": {
"type": "string",
"description": "JS source defining onJoin/onLeave/onInput/onEvent/onTick over a global `state`. Or, for a long file, pass uploadId instead."
},
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"roomName": {
"type": "string",
"description": "The room name to make authoritative."
},
"tickRate": {
"type": "integer",
"maximum": 60,
"minimum": 1,
"description": "Server ticks per second (default 20)."
},
"uploadId": {
"type": "string",
"description": "Instead of code: the uploadId of a .js file you created with create_upload (for this game) and PUT with curl. For logic too long to send inline."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Returns the deploy history (version, tickRate, bytes, deployedAt) for a room's authoritative logic, newest first.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| roomName * | string | The room name. |
{
"name": "list_room_logic",
"title": "List authoritative logic versions",
"description": "Returns the deploy history (version, tickRate, bytes, deployedAt) for a room's authoritative logic, newest first.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"roomName"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"roomName": {
"type": "string",
"description": "The room name."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Roll a room's authoritative logic back to a prior version by re-deploying it as a new version (history stays intact). Omit toVersion to restore the previous version.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| roomName * | string | The room name. |
| toVersion | integer | Version to restore (default: the previous version). |
{
"name": "rollback_room_logic",
"title": "Roll back authoritative logic",
"description": "Roll a room's authoritative logic back to a prior version by re-deploying it as a new version (history stays intact). Omit toVersion to restore the previous version.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"roomName"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"roomName": {
"type": "string",
"description": "The room name."
},
"toVersion": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Version to restore (default: the previous version).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Returns recent runtime errors from a room's deployed logic (newest first), so you can self-fix after a deploy without joining the room. Errors also surface in state.shared.__error.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| limit | integer | Max log lines (default 50). |
| roomName * | string | The room name. |
{
"name": "get_room_logs",
"title": "Get authoritative logic logs",
"description": "Returns recent runtime errors from a room's deployed logic (newest first), so you can self-fix after a deploy without joining the room. Errors also surface in state.shared.__error.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"roomName"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Max log lines (default 50)."
},
"roomName": {
"type": "string",
"description": "The room name."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Read a game's live ops: `now` (what players see right now: the merged config plus active and upcoming events), the base config, every scheduled event with its status (active / upcoming / ended), the highlight webhook (masked) and the 20 latest highlights with how each was delivered. Pass `at` to preview another instant (e.g. the middle of a weekend event) and `room` to see one room's view. Use it to verify every change you make.
| Parameter | Type | Description |
|---|---|---|
| at | string | ISO-8601 instant to preview (default now). |
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| room | string | Resolve for this room (events limited to other rooms drop out). Default: game-wide. |
{
"name": "get_live_ops",
"title": "Get a game's live ops",
"description": "Read a game's live ops: `now` (what players see right now: the merged config plus active and upcoming events), the base config, every scheduled event with its status (active / upcoming / ended), the highlight webhook (masked) and the 20 latest highlights with how each was delivered. Pass `at` to preview another instant (e.g. the middle of a weekend event) and `room` to see one room's view. Use it to verify every change you make.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"at": {
"type": "string",
"description": "ISO-8601 instant to preview (default now)."
},
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"room": {
"type": "string",
"description": "Resolve for this room (events limited to other rooms drop out). Default: game-wide."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Set the game's live config: any JSON the game reads at runtime (drop rates, prices, difficulty, a banner, feature switches). It reaches rooms that are already running within ~15 seconds, with no redeploy and nobody disconnected; clients read it as mp.live.config, server logic as liveOps().config. Merges by default (a null value deletes a key); replace: true swaps the whole object. Active events' overrides apply on top. Max 8KB.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| config * | object | JSON object to merge (or, with replace, to store). |
| replace | boolean | Replace the whole config instead of merging (default false). |
{
"name": "set_live_config",
"title": "Set a game's live config",
"description": "Set the game's live config: any JSON the game reads at runtime (drop rates, prices, difficulty, a banner, feature switches). It reaches rooms that are already running within ~15 seconds, with no redeploy and nobody disconnected; clients read it as mp.live.config, server logic as liveOps().config. Merges by default (a null value deletes a key); replace: true swaps the whole object. Active events' overrides apply on top. Max 8KB.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"config"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"config": {
"type": "object",
"description": "JSON object to merge (or, with replace, to store).",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"replace": {
"type": "boolean",
"description": "Replace the whole config instead of merging (default false)."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Schedule (or, with an existing id, edit) a timed event: a window, optionally repeating daily or weekly, optionally limited to some rooms, carrying config overrides that apply only while it runs. It starts and ends on time in rooms that are already running, as data: nobody is kicked and nothing is redeployed. Clients see it in mp.live (active / upcoming / config) and mp.onLive(cb); server logic reads liveOps() and gets onLiveOps(live, change) when it starts or ends. Up to 50 events per game; check the result with get_live_ops (pass `at` to preview).
| Parameter | Type | Description |
|---|---|---|
| id | string | Stable id (a-z, 0-9, - _). Defaults to a slug of the title. Scheduling an existing id EDITS that event. |
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| rooms | array | Only these room names. Omit = every room of the game. |
| title * | string | Player-facing name, e.g. 'Double XP Weekend'. |
| config | object | Overrides deep-merged over the live config while the event runs (null deletes a key), e.g. { xpMultiplier: 2, rules: { lives: 1 } }. |
| endsAt | string | ISO-8601 end. Or give durationMinutes. Neither = open-ended (until cancelled; not for repeating events). |
| repeat | string | Repeat the same window every day or week from startsAt (default none). |
| startsAt | string | ISO-8601 start, e.g. "2026-11-01T18:00:00Z", or "now" (the default). |
| description | string | Player-facing blurb for an events window. |
| repeatUntil | string | ISO-8601: no occurrence starts at or after this. Omit = repeats forever. |
| durationMinutes | number | Length of each occurrence, instead of endsAt. |
{
"name": "schedule_live_event",
"title": "Schedule a live event",
"description": "Schedule (or, with an existing id, edit) a timed event: a window, optionally repeating daily or weekly, optionally limited to some rooms, carrying config overrides that apply only while it runs. It starts and ends on time in rooms that are already running, as data: nobody is kicked and nothing is redeployed. Clients see it in mp.live (active / upcoming / config) and mp.onLive(cb); server logic reads liveOps() and gets onLiveOps(live, change) when it starts or ends. Up to 50 events per game; check the result with get_live_ops (pass `at` to preview).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"title"
],
"properties": {
"id": {
"type": "string",
"maxLength": 48,
"description": "Stable id (a-z, 0-9, - _). Defaults to a slug of the title. Scheduling an existing id EDITS that event."
},
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"rooms": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these room names. Omit = every room of the game."
},
"title": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Player-facing name, e.g. 'Double XP Weekend'."
},
"config": {
"type": "object",
"description": "Overrides deep-merged over the live config while the event runs (null deletes a key), e.g. { xpMultiplier: 2, rules: { lives: 1 } }.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"endsAt": {
"type": "string",
"description": "ISO-8601 end. Or give durationMinutes. Neither = open-ended (until cancelled; not for repeating events)."
},
"repeat": {
"enum": [
"none",
"daily",
"weekly"
],
"type": "string",
"description": "Repeat the same window every day or week from startsAt (default none)."
},
"startsAt": {
"type": "string",
"description": "ISO-8601 start, e.g. \"2026-11-01T18:00:00Z\", or \"now\" (the default)."
},
"description": {
"type": "string",
"maxLength": 500,
"description": "Player-facing blurb for an events window."
},
"repeatUntil": {
"type": "string",
"description": "ISO-8601: no occurrence starts at or after this. Omit = repeats forever."
},
"durationMinutes": {
"type": "number",
"description": "Length of each occurrence, instead of endsAt.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Delete a scheduled event. If it is running, it ends in running rooms within ~15 seconds (its config overrides drop away; server logic gets onLiveOps with it in change.ended). To end it early but keep it listed, schedule the same id again with endsAt set to the current time.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The event id (see get_live_ops). |
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
{
"name": "cancel_live_event",
"title": "Cancel a live event",
"description": "Delete a scheduled event. If it is running, it ends in running rooms within ~15 seconds (its config overrides drop away; server logic gets onLiveOps with it in change.ended). To end it early but keep it listed, schedule the same id again with endsAt set to the current time.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The event id (see get_live_ops)."
},
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set where the game's highlights post: a Discord channel webhook (Server Settings → Integrations → Webhooks → Copy URL) or a Slack incoming webhook. Server logic posts with highlight(type, text, data), e.g. highlight("hard-clear", "Mia cleared Level 9 on one life"); the server decided it happened, so players can't fake one. Sends a test post and saves only if it is accepted. The URL is a credential: ask the user to paste it, and it is only ever shown back masked. Pass null to stop posting. Limits: 6 highlights a minute per room, 60 posts an hour per game (the rest are still recorded; see get_live_ops).
| Parameter | Type | Description |
|---|---|---|
| url * | any | https://discord.com/api/webhooks/… or https://hooks.slack.com/services/…, or null to clear. |
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
{
"name": "set_highlight_webhook",
"title": "Post highlights to Discord or Slack",
"description": "Set where the game's highlights post: a Discord channel webhook (Server Settings → Integrations → Webhooks → Copy URL) or a Slack incoming webhook. Server logic posts with highlight(type, text, data), e.g. highlight(\"hard-clear\", \"Mia cleared Level 9 on one life\"); the server decided it happened, so players can't fake one. Sends a test post and saves only if it is accepted. The URL is a credential: ask the user to paste it, and it is only ever shown back masked. Pass null to stop posting. Limits: 6 highlights a minute per room, 60 posts an hour per game (the rest are still recorded; see get_live_ops).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "https://discord.com/api/webhooks/… or https://hooks.slack.com/services/…, or null to clear."
},
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the full SDK reference (markdown) wired to ONE game's key/endpoints: realtime rooms, player identity (anonymous + claim/login), the datastore (saves/stats/inventory), leaderboards, player-created content (level sharing / UGC), durable shared MATCHES for asynchronous turn-based play, and live ops (live config, scheduled events, highlights). Read this before writing client code that uses logins, saved progress, leaderboards, shared player-made content, or any game a player closes and comes back to. Pass `game` when the studio has more than one: every snippet carries that game's publishable key inline, and shipping the wrong one silently pools your players into another game. Pass platform "unity" for the Unity / C# SDK variant (C# client code; server logic stays JavaScript).
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| platform | string | Client platform: "web" (default, the JS SDK for HTML / any web engine) or "unity" (the C# SDK, Unity 2021.2+). |
{
"name": "get_sdk_reference",
"title": "Get the SDK reference",
"description": "Returns the full SDK reference (markdown) wired to ONE game's key/endpoints: realtime rooms, player identity (anonymous + claim/login), the datastore (saves/stats/inventory), leaderboards, player-created content (level sharing / UGC), durable shared MATCHES for asynchronous turn-based play, and live ops (live config, scheduled events, highlights). Read this before writing client code that uses logins, saved progress, leaderboards, shared player-made content, or any game a player closes and comes back to. Pass `game` when the studio has more than one: every snippet carries that game's publishable key inline, and shipping the wrong one silently pools your players into another game. Pass platform \"unity\" for the Unity / C# SDK variant (C# client code; server logic stays JavaScript).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"platform": {
"enum": [
"web",
"unity"
],
"type": "string",
"description": "Client platform: \"web\" (default, the JS SDK for HTML / any web engine) or \"unity\" (the C# SDK, Unity 2021.2+)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Choose whether players (and their data/leaderboards) are shared across all of your games ('account', the default) or isolated to one game ('project'). Set this ONCE at setup: it locks as soon as the game has any players, because changing it would split existing players and their leaderboards across two scopes. To use a different scoping, create a new game. IRREVERSIBLE: always name the target with `game`; this tool refuses to pick when the studio has several.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| scope * | string | 'account' = org-wide players; 'project' = per-game. |
{
"name": "set_player_scope",
"title": "Set how players are scoped",
"description": "Choose whether players (and their data/leaderboards) are shared across all of your games ('account', the default) or isolated to one game ('project'). Set this ONCE at setup: it locks as soon as the game has any players, because changing it would split existing players and their leaderboards across two scopes. To use a different scoping, create a new game. IRREVERSIBLE: always name the target with `game`; this tool refuses to pick when the studio has several.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"scope"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"scope": {
"enum": [
"account",
"project"
],
"type": "string",
"description": "'account' = org-wide players; 'project' = per-game."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Let players sign in with a portal or federated account via player.loginExternal({ provider, token }). Self-serve providers: 'wavedash' (games on wavedash.com; token = (await Wavedash.getUserJwt()).data) and 'google' (Google Identity Services; token = the GIS ID-token credential). The server verifies every token against fixed, provider-published keys; you only supply public pins. wavedash: gameId is required = the gcid of the Wavedash game players sign in from (ask the user, or read claims.gcid off a token with verify_login_token, which works before wavedash is enabled). Playtest and production builds have different gcids: re-run with the production one before launch. google: clientId is required. Re-run to change the config (e.g. once the game id is known). Then verify with verify_login_token.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| gameId | string | wavedash (required): the Wavedash game id, pinned against the token's gcid claim. |
| clientId | string | google only: the OAuth client id (…apps.googleusercontent.com). |
| provider * | string | Which provider to enable. |
{
"name": "enable_login_provider",
"title": "Enable a portal / federated login",
"description": "Let players sign in with a portal or federated account via player.loginExternal({ provider, token }). Self-serve providers: 'wavedash' (games on wavedash.com; token = (await Wavedash.getUserJwt()).data) and 'google' (Google Identity Services; token = the GIS ID-token credential). The server verifies every token against fixed, provider-published keys; you only supply public pins. wavedash: gameId is required = the gcid of the Wavedash game players sign in from (ask the user, or read claims.gcid off a token with verify_login_token, which works before wavedash is enabled). Playtest and production builds have different gcids: re-run with the production one before launch. google: clientId is required. Re-run to change the config (e.g. once the game id is known). Then verify with verify_login_token.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"provider"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"gameId": {
"type": "string",
"description": "wavedash (required): the Wavedash game id, pinned against the token's gcid claim."
},
"clientId": {
"type": "string",
"description": "google only: the OAuth client id (…apps.googleusercontent.com)."
},
"provider": {
"enum": [
"wavedash",
"google"
],
"type": "string",
"description": "Which provider to enable."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the external login providers enabled on a game (names only, never secrets). selfServe=true ones you can reconfigure with enable_login_provider; the rest are operator-managed.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
{
"name": "list_login_providers",
"title": "List a game's login providers",
"description": "List the external login providers enabled on a game (names only, never secrets). selfServe=true ones you can reconfigure with enable_login_provider; the rest are operator-managed.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Check a real provider token against the game's login config exactly as player.loginExternal would, WITHOUT creating or linking a player. Returns { ok, uid, username, claims } or { ok: false, error }. Use it to confirm a provider works end to end, and to read what a token carries (e.g. Wavedash's gcid). Wavedash works before it's enabled (signature and issuer only, plus a note), so you can read the gcid that enable_login_provider needs. Ask the user to paste a token from their running build (Wavedash: (await Wavedash.getUserJwt()).data in the browser console).
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| token * | string | A real token from the provider's client SDK. |
| provider * | string | The provider name, e.g. 'wavedash'. |
{
"name": "verify_login_token",
"title": "Dry-run a login token",
"description": "Check a real provider token against the game's login config exactly as player.loginExternal would, WITHOUT creating or linking a player. Returns { ok, uid, username, claims } or { ok: false, error }. Use it to confirm a provider works end to end, and to read what a token carries (e.g. Wavedash's gcid). Wavedash works before it's enabled (signature and issuer only, plus a note), so you can read the gcid that enable_login_provider needs. Ask the user to paste a token from their running build (Wavedash: (await Wavedash.getUserJwt()).data in the browser console).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"provider",
"token"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"token": {
"type": "string",
"description": "A real token from the provider's client SDK."
},
"provider": {
"type": "string",
"description": "The provider name, e.g. 'wavedash'."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Upload files straight from disk instead of pasting their bytes into a tool call: for images, audio, fonts, 3D models, and ANY file over ~50 KB (a tool call can't carry megabytes of base64). Give each file's hosted path and exact size in bytes; get back one URL per file. PUT each file to its URL with curl, from the game's folder: curl -sS -T <local file> "<url>" (Windows PowerShell: curl.exe). Each URL takes ONE PUT of exactly that many bytes and expires in 15 minutes, so upload right away. Then call publish_game with { path, uploadId } entries for these files (small text files can still go inline next to them), or deploy_room_logic with uploadId for a long logic file. An upload belongs to the game it was made for and is used up by the publish. Limits on this studio's plan: 100 files per call, 5 MB per game.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| files * | array | The files to upload. |
{
"name": "create_upload",
"title": "Get upload URLs for a game's files",
"description": "Upload files straight from disk instead of pasting their bytes into a tool call: for images, audio, fonts, 3D models, and ANY file over ~50 KB (a tool call can't carry megabytes of base64). Give each file's hosted path and exact size in bytes; get back one URL per file. PUT each file to its URL with curl, from the game's folder: curl -sS -T <local file> \"<url>\" (Windows PowerShell: curl.exe). Each URL takes ONE PUT of exactly that many bytes and expires in 15 minutes, so upload right away. Then call publish_game with { path, uploadId } entries for these files (small text files can still go inline next to them), or deploy_room_logic with uploadId for a long logic file. An upload belongs to the game it was made for and is used up by the publish. Limits on this studio's plan: 100 files per call, 5 MB per game.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"files"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"size"
],
"properties": {
"path": {
"type": "string",
"description": "Where the file goes in the hosted game, relative to index.html, e.g. 'assets/sprites/ship.png'."
},
"size": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "The file's exact size in bytes (e.g. from `wc -c < file` or `stat`)."
},
"contentType": {
"type": "string",
"description": "Optional MIME type, e.g. 'image/png'. The host serves each file by its extension either way."
}
}
},
"maxItems": 100,
"minItems": 1,
"description": "The files to upload."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Host the game's files at a public share link, https://<slug>.play.multiplayeragent.com/ (the game's own origin; the slug comes from the game's name and never changes). The game needs an index.html at the root plus any JS/CSS/assets, paths relative to it. Send small text files (HTML, JS, CSS, JSON) inline as { path, content }. For images, audio, fonts, models and ANY file over ~50 KB, call create_upload first, PUT each file with curl, and pass { path, uploadId } here: the bytes never go through you. (Inline base64 with encoding: "base64" still works for a tiny binary.) The files must use THIS game's publishable key (it is how the server knows the build belongs to this game; a client wired to another game is refused). mode "replace" (the default) makes the files you send the whole game: anything not sent is removed. mode "patch" adds or replaces only the files you send and keeps the rest, and `remove` deletes paths: use it to fix one file without resending the art, or to put a big build up over several calls. Re-run after every change; the link stays the same. Limits on this studio's plan: 100 files and 5 MB per game, 25 MB across all its games. Give the user the url: anyone who opens it joins the same rooms. Nothing is listed publicly; only people with the link find it.
| Parameter | Type | Description |
|---|---|---|
| game | string | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. |
| mode | string | 'replace' (default): these files become the whole game. 'patch': add or replace just these, keep everything else hosted. |
| files * | array | The files: in replace mode every file of the game, including index.html; in patch mode just the ones to add or replace. |
| remove | array | Patch mode only: hosted paths to delete. |
{
"name": "publish_game",
"title": "Host the game at a share link",
"description": "Host the game's files at a public share link, https://<slug>.play.multiplayeragent.com/ (the game's own origin; the slug comes from the game's name and never changes). The game needs an index.html at the root plus any JS/CSS/assets, paths relative to it. Send small text files (HTML, JS, CSS, JSON) inline as { path, content }. For images, audio, fonts, models and ANY file over ~50 KB, call create_upload first, PUT each file with curl, and pass { path, uploadId } here: the bytes never go through you. (Inline base64 with encoding: \"base64\" still works for a tiny binary.) The files must use THIS game's publishable key (it is how the server knows the build belongs to this game; a client wired to another game is refused). mode \"replace\" (the default) makes the files you send the whole game: anything not sent is removed. mode \"patch\" adds or replaces only the files you send and keeps the rest, and `remove` deletes paths: use it to fix one file without resending the art, or to put a big build up over several calls. Re-run after every change; the link stays the same. Limits on this studio's plan: 100 files and 5 MB per game, 25 MB across all its games. Give the user the url: anyone who opens it joins the same rooms. Nothing is listed publicly; only people with the link find it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"files"
],
"properties": {
"game": {
"type": "string",
"description": "Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game."
},
"mode": {
"enum": [
"replace",
"patch"
],
"type": "string",
"description": "'replace' (default): these files become the whole game. 'patch': add or replace just these, keep everything else hosted."
},
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Path relative to the game root, e.g. 'index.html' or 'assets/ship.png'."
},
"content": {
"type": "string",
"description": "Inline content: the text itself, or base64 when encoding is 'base64'. For small text files; use uploadId for anything else."
},
"encoding": {
"enum": [
"utf8",
"base64"
],
"type": "string",
"description": "'utf8' (default) for text files; 'base64' for an inline binary."
},
"uploadId": {
"type": "string",
"description": "Instead of content: an uploadId from create_upload, for this game, whose curl PUT has finished."
}
}
},
"maxItems": 100,
"description": "The files: in replace mode every file of the game, including index.html; in patch mode just the ones to add or replace."
},
"remove": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"description": "Patch mode only: hosted paths to delete."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the starter games: 180+ ready-made multiplayer games across every genre (the ones built in Multiplayer Agent's videos come first) to begin from with remix_game. Each shows its slug, title, summary, the video it came from if it has one, whether it's premium, and whether THIS studio has it unlocked (free starters: everyone; premium: a paid plan). The full list is long: pass `search` to narrow it when the user named a game or a genre.
| Parameter | Type | Description |
|---|---|---|
| search | string | Only starters whose slug, title or summary contains every word here, e.g. 'snake', 'kart', 'trivia'. Leave it out for the whole list. |
{
"name": "list_starters",
"title": "List starter games",
"description": "List the starter games: 180+ ready-made multiplayer games across every genre (the ones built in Multiplayer Agent's videos come first) to begin from with remix_game. Each shows its slug, title, summary, the video it came from if it has one, whether it's premium, and whether THIS studio has it unlocked (free starters: everyone; premium: a paid plan). The full list is long: pass `search` to narrow it when the user named a game or a genre.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"search": {
"type": "string",
"maxLength": 100,
"description": "Only starters whose slug, title or summary contains every word here, e.g. 'snake', 'kart', 'trivia'. Leave it out for the whole list."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Start from a starter game (see list_starters): makes a NEW game in this studio (or, with `game`, reuses one of yours) and returns a link to the starter's source as a ZIP, valid for 5 minutes, plus the steps to unpack it, rewire it to the new game's publishable key, and publish it. Premium starters need a paid plan; a locked one returns the upgrade link instead, and nothing is created.
| Parameter | Type | Description |
|---|---|---|
| game | string | Reuse one of your games instead of making a new one (its pk_ or exact name): e.g. to fetch a fresh link after one expired. |
| label | string | A name for the new game. Defaults to the starter's title. |
| starter * | string | The starter's slug, from list_starters, e.g. 'slither-arena'. |
{
"name": "remix_game",
"title": "Start a new game from a starter",
"description": "Start from a starter game (see list_starters): makes a NEW game in this studio (or, with `game`, reuses one of yours) and returns a link to the starter's source as a ZIP, valid for 5 minutes, plus the steps to unpack it, rewire it to the new game's publishable key, and publish it. Premium starters need a paid plan; a locked one returns the upgrade link instead, and nothing is created.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"starter"
],
"properties": {
"game": {
"type": "string",
"description": "Reuse one of your games instead of making a new one (its pk_ or exact name): e.g. to fetch a fresh link after one expired."
},
"label": {
"type": "string",
"maxLength": 100,
"description": "A name for the new game. Defaults to the starter's title."
},
"starter": {
"type": "string",
"description": "The starter's slug, from list_starters, e.g. 'slither-arena'."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Connect this keyless session to the user's own account, the way `gh auth login` works. Ask for their email first and pass it (it prefills the page). Returns a one-time url and a code: open the url in their browser yourself and tell them the code. They sign up or log in ON THE PAGE (never ask for a password in chat), check the code matches, and press Connect. From then on this session acts as their account and the games built so far move in. The link lasts 10 minutes.
| Parameter | Type | Description |
|---|---|---|
| string | The user's email, to prefill the sign-in page. |
{
"name": "connect_account",
"title": "Connect this session to the user's account",
"description": "Connect this keyless session to the user's own account, the way `gh auth login` works. Ask for their email first and pass it (it prefills the page). Returns a one-time url and a code: open the url in their browser yourself and tell them the code. They sign up or log in ON THE PAGE (never ask for a password in chat), check the code matches, and press Connect. From then on this session acts as their account and the games built so far move in. The link lasts 10 minutes.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"email": {
"type": "string",
"maxLength": 254,
"description": "The user's email, to prefill the sign-in page."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}This connection has no account: it builds into an unclaimed studio. Returns the claim link to give the user (a free sign-up or log-in that moves the studio's games into their own account), when the studio expires, and whether it has been claimed already. connect_account is the better way to keep the games when the user is here (this session then keeps working as their account); the claim link is for later, or for someone else.
No parameters.
{
"name": "claim_studio",
"title": "Get the claim link for this unclaimed studio",
"description": "This connection has no account: it builds into an unclaimed studio. Returns the claim link to give the user (a free sign-up or log-in that moves the studio's games into their own account), when the studio expires, and whether it has been claimed already. connect_account is the better way to keep the games when the user is here (this session then keeps working as their account); the claim link is for later, or for someone else.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}You are connected to Multiplayer Agent: a backend-as-a-service that turns a single HTML file (or any web client) into a real multiplayer game. You build games here by calling these tools and writing client code against the SDK. This briefing is the full menu of what the backend can do plus the advice you need; for exact, copy-paste APIs wired to THIS project's keys/endpoints, call get_sdk_reference and read it before writing client code. UNCLAIMED STUDIO (this connection has no account and no key, and that is fine): never send the user to a website to sign up before building. Your first tool call opens an unclaimed studio tied to THIS MCP session, and everything below works in it except authoritative server logic (deploy_room_logic and its log/rollback tools), login providers, player scope and the highlight webhook: those tools are listed but answer "Connect an account first" until the session is connected to an account, and then work in this same session, no reconnect or reload needed. - CONNECT EARLY, IN ONE QUESTION: at the start, ask the user for the email to save their games under. Then call connect_account with it, open the returned url in their browser yourself (Windows: start "" "<url>"; macOS: open "<url>"; Linux: xdg-open "<url>"), and tell them the code it returned. On that page they sign up or log in and press Connect after checking the code matches. Keep building while they do it; when they say it's done, call list_games: once connected it shows `connectedAs` and the rest of this session acts as their account (their games move in, nothing expires). The link lasts 10 minutes; call connect_account again for a fresh one. - NEVER ask for a password in chat, and never accept one if offered: passwords are typed only on the website page. A password pasted here would sit in the conversation transcript. - If they would rather not connect, keep going unclaimed: create_game and publish_game replies carry a claim link in `studio.claimUrl` (claim_studio returns it too). Hand it over with the share link. Unclaimed studios last 72 hours, then their share links pause until someone claims them. - The unclaimed studio belongs to this session: if the client restarts, a NEW, empty one starts. So connect (or give the claim link) early, not only at the end. STARTER GAMES: 180+ ready-made multiplayer games across every genre to begin from instead of a blank page, including the ones built in Multiplayer Agent's videos. When the user names one ("the slither game from the video"), asks for a template or an example to start from, or wants something close to one, call list_starters, then remix_game with its slug: it makes a new game in this studio and gives you a link to the source to download, rewire to the new game's key, and publish. Free starters are open to everyone; premium ones come with a paid plan (Indie and up), and a locked one tells you the upgrade link to pass on. A keyless session counts as the free plan until connect_account links an account on a paid plan. The user can also start one themselves with the `remix` prompt (in the client's slash menu, e.g. /multiplayer-agent:remix chompchomp-io): mention it when they ask how to get a game from a video. FIRST CONTACT: if the user asks what this is or what they can build, or seems unsure what's on offer, give them a short plain-language tour of the capabilities below BEFORE building anything, a few sentences per area, no code, then ask what they want to build. Most people arrive not knowing this backend exists, so don't make them guess at the menu. They can also ask for the tour themselves with the `whats-possible` prompt (it appears in the client's slash menu, e.g. /multiplayer-agent:whats-possible): mention it if they seem to be exploring. BUILD FLOW (typical, when a user asks for a multiplayer game): 1. Pick the game: call list_games. If none fits, call create_game with a clear, human-readable label. One studio (secret key) holds many games; each game is one publishable key (
Names, descriptions and schemas were written by the server and are shown as data.