Multiplayer Agent
Server Details
Make any browser game multiplayer and host it at a share link. No account needed to start.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- multiplayeragent/multiplayer-agent
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 26 tools
Most tools target a clearly distinct resource+action (publish a game, deploy room logic, schedule a live event, verify a login token). The main overlap is claim_studio vs connect_account and, to a lesser degree, get_connection_info / get_client_snippet / get_sdk_reference, but the descriptions explicitly cross-reference each other and say which to prefer, which defuses the confusion.
Every tool is snake_case with the verb first (create_*, get_*, list_*, set_*, deploy_*, cancel_*, verify_*), and the verb families group logically: list_* for reads, set_* for config, create_* for minting. No convention mixing or vague names anywhere in the set.
26 tools is heavy, but the surface genuinely spans several sub-domains (account auth, game creation/publishing, uploads, authoritative room logic, live ops, login providers, SDK/starters). Each tool maps to a real workflow step rather than duplicating a neighbour, so it is at the upper end of reasonable rather than bloated.
Lifecycle coverage is strong: games can be created, named, listed, published (replace/patch/remove), remixed, and wired to clients; room logic has deploy, rollback, version history and log read-back; live ops covers config, events, highlights and a read-side verifier. The notable gaps are deleting/archiving a game and reading back a room's current spec (define_room_type has no matching get_room_type), which agents cannot work around cleanly.
Available Tools
26 toolscancel_live_eventCancel a live eventADestructiveIdempotentInspect
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.
Inputs: id (required), game.
claim_studioGet the claim link for this unclaimed studioARead-onlyInspect
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.
Inputs: no named parameters.
connect_accountConnect this session to the user's accountAInspect
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.
Inputs: email.
create_gameCreate a new gameAInspect
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.
Inputs: label.
create_uploadGet upload URLs for a game's filesAInspect
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 "" (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.
Inputs: files (required), game.
define_room_typeDefine a multiplayer room typeADestructiveIdempotentInspect
Create or replace the spec for a room (validation/types/defaults). Returns connection info. Omit fields entirely for a fully schemaless room.
Inputs: spec (required), roomName (required), game.
deploy_room_logicDeploy authoritative server logicAInspect
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.
Inputs: roomName (required), code, game, tickRate, +1 more.
enable_login_providerEnable a portal / federated loginAIdempotentInspect
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.
Inputs: provider (required), game, gameId, clientId.
get_client_snippetGet a paste-ready client snippetARead-onlyInspect
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.
Inputs: roomName (required), game, platform.
get_connection_infoGet connection info for a roomARead-onlyInspect
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.
Inputs: roomName (required), game.
get_live_opsGet a game's live opsARead-onlyInspect
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.
Inputs: at, game, room.
get_room_logsGet authoritative logic logsARead-onlyInspect
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.
Inputs: roomName (required), game, limit.
get_sdk_referenceGet the SDK referenceARead-onlyInspect
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).
Inputs: game, platform.
list_gamesList your gamesARead-onlyInspect
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.
Inputs: no named parameters.
list_login_providersList a game's login providersARead-onlyInspect
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.
Inputs: game.
list_room_logicList authoritative logic versionsARead-onlyInspect
Returns the deploy history (version, tickRate, bytes, deployedAt) for a room's authoritative logic, newest first.
Inputs: roomName (required), game.
list_startersList starter gamesARead-onlyInspect
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.
Inputs: search.
publish_gameHost the game at a share linkAIdempotentInspect
Host the game's files at a public share link, https://.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.
Inputs: files (required), game, mode, remove.
remix_gameStart a new game from a starterAInspect
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.
Inputs: starter (required), game, label.
rollback_room_logicRoll back authoritative logicADestructiveIdempotentInspect
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.
Inputs: roomName (required), game, toVersion.
schedule_live_eventSchedule a live eventAIdempotentInspect
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).
Inputs: title (required), id, game, rooms, +7 more.
set_game_nameName a gameAIdempotentInspect
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.
Inputs: name (required), game.
set_highlight_webhookPost highlights to Discord or SlackAIdempotentInspect
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).
Inputs: url (required), game.
set_live_configSet a game's live configAIdempotentInspect
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.
Inputs: config (required), game, replace.
set_player_scopeSet how players are scopedADestructiveIdempotentInspect
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.
Inputs: scope (required), game.
verify_login_tokenDry-run a login tokenARead-onlyInspect
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).
Inputs: token (required), provider (required), game.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Create instant multiplayer browser-game rooms friends join from a link. No account or app needed.
Build, publish and update browser games with saves, leaderboards and realtime multiplayer built in.
Make, change, play and share browser games by describing them.
Make multiplayer 2D/3D browser games on Rally by chat: build, script, playtest with bots, publish.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceGives AI agents a single shared, logged-in Chrome they can drive over MCP or plain HTTP: open and read tabs, click, type, upload files, run short Playwright scripts, hand off whole web tasks to a cheaper model, and keep per-site memory. Agents work in background windows they own without stealing the user's mouse or closing their tabs.MIT- AlicenseBqualityDmaintenanceBrowser MCP server that connects to your existing browser, preserving sessions, passwords, and extensions, enabling AI agents to interact with web pages without bot detection.313 npm1MIT
- AlicenseNot gradedqualityCmaintenanceLets AI assistants control your real Chrome browser to perform web tasks like reading pages, taking screenshots, clicking, and typing, using your existing logged-in sessions.145MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to control the user's real Chrome or Firefox tabs, with their existing logins, to read pages, click, type, fill forms, take screenshots, inspect network traffic and run JavaScript. It works through a paired browser extension over a local WebSocket connection, so automation happens in the browser the user is actually looking at, including shadow DOM, cross-origin iframes, dialogs and single-page apps.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.