# Loki > Hosting and host-authoritative multiplayer for finished browser games. Loki hosts a scanned, sandboxed browser build and runs rooms on the same playable URL. Creators do not upload a backend. ## Safety Installing Loki is not a finished game. Each title still requires fine-tuning after installation: inspect real modes, confirm room type and player counts, add a usable create/join flow, tune the reducer or RealtimeProfile, and playtest reconnect and mobile. Agents must not treat npm install or lokiplay ship as a complete integration. ## Packages - @lokiplay/sdk@0.3.8 — JavaScript client - lokiplay@0.3.8 — CLI: login, connect, validate, ship - @lokiplay/ui-web@0.3.8 — optional overlay (no create/join) - @lokiplay/mcp@0.3.8 — agent tools, not for the game bundle ## Start - Docs: https://docs.lokiplay.cc/ - Quickstart: https://docs.lokiplay.cc/quickstart - Agents: https://docs.lokiplay.cc/agents - MCP: https://docs.lokiplay.cc/mcp - App: https://app.lokiplay.cc/ - Play: https://play.lokiplay.cc/ - API: https://api.lokiplay.cc ## Rules - Use @lokiplay/sdk. Do not import Nakama or Socket.IO. - createHostedLokiClient({ projectId }) at boot on hosted play pages. - createRoom() and joinRoom({ inviteCode }). Loki issues 6-digit codes. - createSynchronizedRoom() for turns/events; createRealtimeRoom() for continuous host simulation. Not both in one mode. - Calibrate realtime rooms. Do not copy snapshotHz into game.json tickRate. - Host authority is casual/unranked, not anti-cheat. - Production multiplayer only from a Loki-hosted build. - Login: LOKI_API_URL=https://api.lokiplay.cc npx lokiplay@0.3.8 login - No inline scripts, remote fonts, or forms. - Layer 2 public catalog is closed. - Native Swift/Kotlin/Unity 0.3.8 clients support synchronized rooms only. ## Full docs https://docs.lokiplay.cc/llms-full.txt