MCPcopy Create free account
hub / github.com/PlayFab/gsdk

github.com/PlayFab/gsdk @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
6,658 symbols 13,347 edges 188 files 195 documented · 3% updated 18d ago★ 1703 open issues

Browse by type

Functions 5,394 Types & classes 1,264
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PlayFab Game Server SDK

C++ C# Java

Overview

PlayFab Game Server SDK for C#, C++, and Java environments. The GSDK is used to integrate with PlayFab Multiplayer Servers and modify the game server lifecycle (check here for more info).

Experimental GSDKs

The experimental/ directory contains community-driven GSDK implementations for additional platforms (e.g., Go, Godot). These are not officially supported by PlayFab. They are provided on a best-effort basis — for help, please use GitHub Issues or the Microsoft Game Dev Discord.

Prerequisites

getting started guide

Samples

Check the gsdkSamples repo.

AI Skill: Validate Your GSDK Integration

This repo includes a validate-gsdk Agent Skill that checks your GSDK integration for common mistakes — missing callbacks, threading issues, deprecated APIs, and more. It works with GitHub Copilot and Claude Code.

To use it, copy the skill into your game server project:

# GitHub Copilot
cp -r path/to/gsdk/.github/skills/validate-gsdk .github/skills/

# Claude Code
cp -r path/to/gsdk/.github/skills/validate-gsdk .claude/skills/

Then ask your AI assistant:

Use the /validate-gsdk skill to check my GSDK integration.

See the skill README for full details and example output.

Contact Us

We love to hear from our developer community! Do you have ideas on how we can make our products and services better?

Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services.

Microsoft Game Dev Discord

Contributing

We are more than happy to accept external contributions! If you want to propose a small code change, feel free to open a Pull Request directly. If you plan to do a bigger change, it would be better if you open an issue describing your proposed design in order to get feedback from project maintainers.

Release Notes

Please navigate into the respective language folders.

Copyright and Licensing Information

Apache License -- Version 2.0, January 2004 http://www.apache.org/licenses/

Full details available within the LICENSE file.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 5,256
Class 1,142
Function 138
Enum 103
Struct 11
Interface 6
TypeAlias 2

Languages

C++91%
C#5%
Java4%
Go1%

Modules by API surface

cpp/cppsdk/include/playfab/PlayFabClientDataModels.h1,575 symbols
cpp/cppsdk/include/playfab/PlayFabServerDataModels.h1,274 symbols
cpp/cppsdk/include/playfab/PlayFabAdminDataModels.h1,259 symbols
cpp/cppsdk/include/playfab/PlayFabEntityDataModels.h410 symbols
cpp/cppsdk/source/playfab/PlayFabClientApi.cpp272 symbols
cpp/cppsdk/source/playfab/PlayFabServerApi.cpp224 symbols
cpp/cppsdk/source/playfab/PlayFabAdminApi.cpp206 symbols
cpp/cppsdk/jsoncpp.cpp201 symbols
UnityGsdk/Assets/PlayFabSdk/MultiplayerAgent/Helpers/SimpleJson.cs100 symbols
cpp/cppsdk/include/playfab/PlayFabMatchmakerDataModels.h83 symbols
cpp/cppsdk/source/playfab/PlayFabEntityApi.cpp76 symbols
cpp/cppsdk/json/json.h37 symbols

For agents

$ claude mcp add gsdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page