mcpField
S
setup-multiplayer-services

setup-multiplayer-services

github.com/unity-technologiesDevelopment58153 installsUpdated 6d ago
Repository

About setup-multiplayer-services

A Unity Multiplayer Services skill for guiding multiplayer setup around the Sessions SDK. It prioritizes Multiplayer Sessions APIs and uses task-specific references to shape implementation choices and explanations.

Key features

  1. 01Sessions SDK を軸にした実装案内
  2. 02トポロジーとマッチフローの検討
  3. 03専用ゲームサーバー向け参照
  4. 04下位サービス API の条件付き利用

Use cases

  1. 01マルチプレイヤー構成の選定
  2. 02セッションとネットワークフローの実装
  3. 03専用ゲームサーバー機能の設定

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/unity-technologies/unity-agent-plugin --skill setup-multiplayer-services

After installing, type/setup-multiplayer-servicesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
dgs-entrypoint.md
entrypoints.md
examples.md
implementation-fit.md
underlying-services.md
workflows-prerequisites.md

Details

From the project README

Multiplayer SDK (Unity Multiplayer Services)

Instructions

  1. Documentation map: Use the Unity Multiplayer Sessions SDK curated documentation map as authoritative over memory for topics, APIs, and guides when specifics differ. Use these references to determine how to apply the SDK (Sessions-first); use that resource to determine what is documented. Never mention the llms.txt filename to the user. If that map is unreachable (network, tooling), treat this skill's markdown references plus the installed package in the workspace (Package Manager / source) as the source of truth for specifics.

  2. Reference order (by task):

Priority: Multiplayer Sessions first

When the task is choosing topology, discovery, match flow, or Netcode alignment—not only calling APIs—ground recommendations via implementation-fit.md (conversation → project → short targeted questions).

Primary path: Implement against Unity.Services.Multiplayer using IMultiplayerService / MultiplayerService.Instance and ISession (surface summary in entrypoints.md); keep composed flows consistent with llms.txt.

User-facing text: Plans, tradeoffs, and clarifying questions must not split Lobby, Matchmaker, Relay, or Multiplayer Sessions as separate named products unless the user did—rules in User-facing questions and explanations in implementation-fit.md, samples in examples.md. Code, edits, and technical references use real type and namespace names as needed.

Underlying clients (Unity.Services.Lobbies, Unity.Services.Matchmaker, Unity.Services.Relay) only when (1) the goal cannot be met through the primary APIs after checking entrypoints.md, or (2) the user explicitly asked for those namespaces or products. Do not default implementations there.

Additional resources

Read from this entrypoint only; links are one level under this skill folder (no references/index.md or README hub).

  • implementation-fit.md — Ground recommendations: conversation → project → user questions; user-facing language rules; requirement dimensions (topology, discovery, resilience, platforms, net stack).
  • examples.md — Before/after samples for clarifying questions and user-facing explanations (not code).
  • entrypoints.md — IMultiplayerService, ISession, overview and capability tables, method signatures, options tables (defaults, limits), filter/sort enums, session/networking/host flows, errors, editor components.
  • dgs-entrypoint.md — Dedicated server: Unity.Services.Multiplayer.Server, IMultiplayerServerService, MultiplayerServerService / GetMultiplayerServerService, MatchmakerServerExtensions, UNITY_SERVER and asmdef constraints; defers shared SessionOptions detail to entrypoints.
  • workflows-prerequisites.md — Package and cloud prerequisites by workflow (tables).
  • underlying-services.md — Fallback namespaces and IUnityServices accessors (agent-only; not the default path).

Comments

Markdown supported