Projects
Each project holds the collections, endpoints, keys and player data of one game. Choose a card to open it.
No projects match
No project name or ID matches the filter.
Connect a game
- Create a project
Keep production and development data separate.
- Get a public key
New projects get one by default. Use secret keys only for editor sync or trusted servers.
- Point the client here
The project overview shows the exact
NetworkStorage.Configureline to paste. Existing client calls stay the same.
Author your first backend
Two files under your game's Editor/Network Storage/ folder define storage and server logic. Push them with Editor > Network Storage > Sync Tool, or build them with the guided Collections and Endpoints editors on a project page. Full syntax: YAML Source guide.
collections/players.collection.yml
sourceVersion: 1
kind: collection
id: players
name: players
collectionType: per-steamid
accessMode: endpoint
maxRecords: 1
allowRecordDelete: false
schema:
type: object
properties:
coins:
type: number
default: 0
level:
type: number
default: 1endpoints/grant-coins.endpoint.yml
sourceVersion: 1
kind: endpoint
id: grant-coins
name: Grant coins
method: POST
enabled: true
steps:
- id: grant
type: write
collection: players
key: "{{steamId}}"
ops:
- op: inc
path: coins
value: 10
response:
status: 200
body:
ok: trueaccessMode: endpoint keeps the collection behind endpoints: the game calls grant-coins and cannot write coins directly. In game code, use the public key only. Secret keys stay in editor tooling and trusted servers.
Use with a coding agent
Coding agents such as Claude Code can create projects, write and dry-run endpoints, and read request logs, errors and records through sbox-ns mcp. Coding agents (MCP)
Server over SSH
Run this on your computer. SSH must log in with a key, and sudo sbox-ns mcp must not ask for a password, because the agent cannot type one.
claude mcp add sbox-ns -- ssh demo.sboxns.com sudo sbox-ns mcp
Server on the same computer
Save this as .mcp.json in your game folder.
{
"mcpServers": {
"sbox-ns": { "command": "sbox-ns", "args": ["mcp"] }
}
}Claude Code plugin
Adds the MCP server for this computer and skills for setup, design, debugging, operations and in-editor playtests. For a server over SSH, also run the command above.
/plugin marketplace add sbox-cool/sbox-network-storage-server /plugin install sbox-ns@sbox-ns
Allowing changes
Agents can always read. Each kind of change is off until you turn it on with one of these commands on the server.
| Command | Allows | Risk |
|---|---|---|
sbox-ns config set mcp.allow_writes true | Saving collections, endpoints, workflows and queries | Changes how the game behaves. Saves go to the staged revision unless the agent targets live. |
sbox-ns config set mcp.allow_data_writes true | Writing player and global records | Changes real player data. Take a backup first. |
sbox-ns config set mcp.allow_destructive true | Deleting definitions, records, keys and projects | Cannot be undone except from a backup. A revoked key stops every game build that uses it. |