multiplayer-sdk

nlehnhof/multiplayer-sdk
★ 0 stars TypeScript AI/LLM Updated 3d ago
TypeScript SDK + MCP server that lets AI coding agents bolt real-time multiplayer onto existing games, wrapping PartyKit by default.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "multiplayer-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "nlehnhof/multiplayer-sdk"
      ]
    }
  }
}

README Excerpt

Add real-time multiplayer to a game your AI coding agent already built, without hand-rolling WebSocket sync or standing up your own server. Write one backend-agnostic `RoomDefinition` — your game's rules, as plain functions — and run it on [PartyKit](https://www.partykit.io/) (the default, free-tier backend) via a thin adapter. Built to be used *by* an AI coding agent (Claude Code, Cursor, or anything with an MCP client), for the "vibe coder" building a small 2-6 player card game, trivia night,

Topics

ai-agentsclaude-codecursorgame-developmentmcpmodel-context-protocolmultiplayerpartykitrealtimesdktypescriptwebsocket