Discover how Edgegap works

Discover how Edgegap works

GodotSteam

Deploy to Edgegap

GodotSteam: How to host GodotSteam Server dedicated servers and add Matchmaking to your multiplayer Godot game

Published

Published

Last reviewed for accuracy

Last reviewed for accuracy

GodotSteam logo, the Godot robot with Steam eyes: Edgegap dedicated game server hosting integration for GodotSteam.

This guide shows you how to host a Godot game that uses GodotSteam on Edgegap’s dedicated game servers: a headless GodotSteam Server build that logs on to Steam and only lets in players who pass Steam’s auth ticket check. Then you add matchmaking, so players are grouped and connected to a server near them automatically.

Once your game server is containerized, Edgegap deploys it worldwide to 615+ Edge Cloud locations (on-demand) from a simple API call and billed exclusively on usage: no entire server to rent, provision or keep running between matches. For persistent servers of reserved capacity, Edgegap offers Private Fleets. Edgegap’s Matchmaking builds on top of that and is optional.

GodotSteam is the open-source Steamworks module for Godot, by GP Garcia (“Gramps”) and contributors, under the MIT license. Your game client uses GodotSteam. Your dedicated server uses GodotSteam Server, its server build, which brings Steamworks’ game server API to a headless Godot server: Steam logon, player auth sessions and server details. Neither replaces Godot’s multiplayer: the server still runs ENet. New to Godot multiplayer? See Godot Engine for what Godot includes on its own.

This guide covers:

  1. Preparing Godot, GodotSteam, Steam, your Edgegap account and Docker

  2. Connecting your coding agent to Edgegap (optional)

  3. Making your server log on to Steam and check every player

  4. Building and containerizing your server, with Steam’s client library

  5. Deploying a test server and connecting to it

  6. Adding matchmaking, or keeping Steam lobbies

  7. What to know about Steam’s server browser

  8. Testing the full loop with two players

You can do it two ways, and mix them:

  • With a coding agent. Connect Claude Code, Cursor or another agent to the Edgegap MCP server and its agent skills. The agent edits your project, builds and containerizes the server and deploys it. You handle the clicks in Godot, Steam and the Edgegap dashboard, and playtest. The edgegap-godot skill covers Godot dedicated servers and matchmaking, including a GodotSteam reference built from the sample below.

  • By hand. Every step below also works without an agent.

Here, we use Edgegap’s GodotSteam Server sample, a minimal Godot 4 project: one autoload for the server and the client, a Linux server export preset, a Dockerfile and the Edgegap Godot plugin, already enabled. It was tested on 9 November 2026 with Godot 4.7.2, GodotSteam Server 4.12.1 and GodotSteam 4.24 (Steamworks SDK 1.65): the server logged on to Steam on an Edgegap deployment, a Windows client authenticated with its Steam ticket, and the deployment stopped itself when the client left. On 18 November 2026, the Edgegap Godot plugin (1.0.10) exported the server, built the image from the sample’s Dockerfile and ran it locally, where a client authenticated. The full walkthrough is in our documentation.

No credit card required. Free tier includes the resources to deploy a real game server.

No credit card required. Free tier includes the resources to deploy a real game server.

What GodotSteam adds to a Godot server

Godot already runs headless dedicated servers and ships ENet, RPCs and node replication. What it doesn’t know is who your players are on Steam. GodotSteam fills that in, on both sides of the connection:

Capability

Godot 4 on its own

GodotSteam (game client)

GodotSteam Server (dedicated server)

Headless server, dedicated server export

Yes

Not needed

Uses Godot’s

ENet, RPCs, spawning, property sync

Yes

Uses Godot’s

Uses Godot’s

Player’s Steam identity and auth ticket

No

Yes

Not needed

Server logs on to Steam (anonymous or with a token)

No

Not needed

Yes

Check each player’s Steam ticket before letting them in

No

Not needed

Yes

Steam lobbies that point players to a server

No

Yes

Not needed

Listing in Steam’s server browser

No

Not needed

Yes, with a limit on Edgegap (step 7)

In short: Godot moves your game state, GodotSteam proves who’s playing, and Edgegap runs the server near them. Source: the GodotSteam documentation and Edgegap’s sample.

Step-by-Step Guide

Detailed Integration Steps

1. Before you start

  • A free Edgegap account. Verify your email. No credit card is needed to test.

  • Godot 4.4 or newer. The sample was tested with 4.7.2.

  • The Edgegap Godot plugin. The sample ships it (1.0.10), already enabled: an Edgegap panel appears in the editor, and you sign in from it. For your own project, get it from Godot’s AssetLib or GitHub.

  • GodotSteam and GodotSteam Server, both as GDExtensions. The sample’s tools/fetch-godotsteam.sh downloads the tested versions from Codeberg into addons/. You can also get them from Godot’s AssetLib.

  • A Steam App ID. The sample uses 480 (Spacewar, Valve’s test app) so you can test right away. Use your own App ID before you ship.

  • Steam, running and signed in, on every machine that runs a game client. The dedicated server doesn’t need it.

  • A containerization tool, running. We recommend Docker Desktop, installed and running while you build.

  • For the agent path: an Edgegap API token, from Dashboard → User Settings → Tokens. It is organization-wide, so treat it like a password: never put it in your project, your game client or a chat.

2. Connect your coding agent to Edgegap

Skip this step if you’re doing everything by hand.

The Edgegap MCP server lets your agent create apps and versions, deploy servers, read logs and generate matchmaker configurations and Dockerfiles on your account. The agent skills give it Edgegap’s server design rules, container setup, local test routine and known pitfalls.

Claude Code: install the Edgegap plugin. It adds both the MCP server and the skills, and asks for your API token during install (stored in your system’s credential store):

/plugin marketplace add edgegap/llm-agent-skills, then /plugin install edgegap@edgegap. Restart the session.

Only want the MCP server, without the plugin? Run this in your own terminal instead: claude mcp add --transport http edgegap https://mcp.edgegap.com/mcp -H "Authorization: token YOUR_EDGEGAP_API_TOKEN" --scope user. Don’t do both, or you’ll have two edgegap servers.

Cursor, VS Code and other clients that send headers: add https://mcp.edgegap.com/mcp with the header Authorization: token YOUR_EDGEGAP_API_TOKEN, and install the skills with npx skills add edgegap/llm-agent-skills --skill "*".

Claude Desktop: custom connectors can’t send the header, so use the local server instead (Node 18+): { "mcpServers": { "edgegap": { "command": "npx", "args": ["-y", "@edgegap/mcp"] } } }. It asks for the token on first use.

Check it works:

“List my Edgegap apps.”

An empty list is fine. An error about the token usually means the header reads token token ....

3. Make your server log on to Steam and check every player

On Edgegap, no player hosts the match. A headless dedicated server owns the game, so it must start on its own, log on to Steam, listen on a fixed port, check every player and stop when the match is over.

With your agent:

“Load the edgegap-godot skill. Using github.com/edgegap/server-sample-godotsteam-dedicated-server as the reference, make my Godot project’s dedicated server log on to Steam with GodotSteam Server: ENet on 0.0.0.0:7777/UDP, Steam query port 27015, a Steam auth ticket check for every player with a timeout, and a self-stop of its Edgegap deployment when everyone has left. Keep GodotSteam Server out of client exports. Then test it locally with one server and one Steam client.”

By hand (the sample does all of this in net/session.gd):

  • Log on to Steam. In a dedicated server export (or with --server), call SteamServer.serverInitEx() with the game port, the query port (27015) and authentication mode. Set the server details (product, description, max players), then call logOnAnonymous(), or logOn() with a Game Server Login Token for a persistent Steam ID. Then start ENet on 7777/UDP.

  • Advertise the right port. Edgegap maps port 7777 to a random external port on every deployment. Pass ARBITRIUM_PORT_GAMEPORT_EXTERNAL, which Edgegap injects, to serverInitEx() so Steam advertises the port players actually connect to.

  • Check every player. When a peer connects, the server sends it the server’s Steam ID. The client answers with a ticket from Steam.getAuthSessionTicket() bound to that ID, so it can’t be replayed on another server. The server calls beginAuthSession() and lets the player in only on a valid validate_auth_ticket_response. The sample kicks peers that send no valid ticket within 15 seconds.

  • Run callbacks. Call run_callbacks() every frame on both sides, or Steam’s signals never fire.

  • Stop when the match is over. When the last player leaves, or nobody joins within 120 seconds, log off Steam, then send DELETE to the ARBITRIUM_DELETE_URL that Edgegap injects, with ARBITRIUM_DELETE_TOKEN as the Authorization header.

  • One add-on per export. The server export ships GodotSteam Server; client exports ship GodotSteam. The sample’s server preset excludes addons/godotsteam/*,addons/edgegap/*; exclude addons/godotsteam_server/* from client presets. With both add-ons in one project, the editor prints SteamProjectSettings ... already registered errors; they didn’t affect the server or the client in testing.

Test locally before you containerize: run the server from the editor with -- --server as main run arguments, then, with Steam running, start a client with godot --path . -- --connect=127.0.0.1:7777. The client shows AUTHENTICATED by Steam.

4. Build and containerize your server

Edgegap runs your Linux server build inside a container. A GodotSteam Server build needs two kinds of files that the Edgegap Godot plugin’s default Dockerfile leaves out:

  • the GodotSteam Server library (libgodotsteam_server…so) and libsteam_api.so, exported next to the server binary;

  • Valve’s steamclient.so, which the server needs to log on to Steam. It isn’t part of the Steamworks files GodotSteam ships, so the sample’s Dockerfile gets it from SteamCMD in a first build stage.

So point the plugin at the sample’s Dockerfile: a SteamCMD stage for steamclient.so, then an Ubuntu 24.04 runtime with a non-root user and tini, which forwards the stop signal so the server ends right away. Set your App ID in its SteamAppId line.

By hand, in the plugin’s Edgegap panel:

  1. Fetch the add-ons: ./tools/fetch-godotsteam.sh

  2. Select Validate Export Templates, then Export server. The plugin exports the Edgegap Linux Server preset to build/.

  3. Set Dockerfile path to Dockerfile and Image tag to a new timestamp, for example 20261118-1421, then select Containerize with Docker. The panel’s fields reset when the editor restarts: set the Dockerfile path again each time, or the server fails with non-existent singleton 'SteamServer'.

  4. Test it: set Docker run parameters to -p 7777:7777/udp and select Deploy local container. The log shows STEAM logged on steam_id=...; a client on 127.0.0.1:7777 authenticates. Select Terminate when you’re done.

  5. Enter an application name and select Upload image & create app version. The image goes to your Edgegap Container Registry and the new version opens in the dashboard: add port 7777, UDP, named gameport, and optionally port 27015, UDP, named queryport with verification off. 0.5 vCPU and 1 GB of memory were enough.

Prefer the command line? Export with godot --headless --path . --export-release "Edgegap Linux Server" build/edgegap-linux-server.x86_64, build with docker build --platform linux/amd64 -t godotsteam-server:<tag> ., then push to registry.edgegap.com with the username and token from the Container Registry page.

With your agent:

“Load the edgegap-godot skill and follow its GodotSteam reference. Export the dedicated server with the Edgegap Linux Server preset, build the sample’s Dockerfile for linux/amd64 with a UTC timestamp tag, push it to my Edgegap Container Registry, then create the app and app version with port 7777 UDP named gameport, port 27015 UDP named queryport with verification off, and restart policy Never.”

The agent asks you to run docker login registry.edgegap.com yourself, so those credentials stay out of the chat.

Optional app version variables: SteamAppId overrides the image’s App ID, and STEAM_GSLT sets a Game Server Login Token for a persistent server Steam ID (not tested in the sample). Use a new image tag for every build, never latest.

5. Deploy a test server and connect

Start one server by hand to prove the image, the ports and the Steam check work before adding matchmaking. Either works:

  • From the dashboard: open your app version in the Edgegap dashboard, select Deploy, pick a location close to you, and deploy.

  • From the Godot editor: in the Edgegap panel, pick the application and version, then select Deploy to cloud.

  • From your agent: “Deploy my latest Edgegap version near me, wait until it’s ready, show me the logs, and give me the address and the external port of gameport.”

When the deployment is Ready, the logs show STEAM logged on. With Steam running, connect a client to the deployment’s Host and the External Port of gameport: godot --path . -- --connect=<host>:<external-port>. The server logs AUTH ok, and the client shows AUTHENTICATED by Steam. The external port changes on every deployment, so read it each time.

Leave the game: the server logs off Steam and stops its own deployment. The free tier runs one deployment at a time, so stop any test server that’s still running.

Here, you picked the location and handed out the address. To group players and start a server near them automatically, add a matchmaker.

6. Add matchmaking, or keep Steam lobbies

There are two ways to get players onto a server. Pick the one that fits your game, or use both: the Steam ticket check in step 3 runs either way.

Option A: Edgegap’s matchmaker. A hosted service: players send a ticket, it groups them by your rules (match size, teams, latency, skill, mode), deploys your server near them and returns the address to every client.

“Generate an Edgegap matchmaker configuration for my app version: one team of 2 to 8 players, and let a lone player get a server after 20 seconds so I can test alone. Save it as matchmaker-config.json.”

Then, in the dashboard (this step has no API):

  1. Open Matchmaker and select Create Matchmaker.

  2. Name it, upload matchmaker-config.json, and select Create and Start.

  3. When it’s ONLINE, copy the API URL and the Auth Token. The Auth Token is safe to ship in your game client: it gives no access to your Edgegap account.

Back with your agent:

“Load the edgegap-godot skill and add its matchmaker client and Find Match button. When a server is assigned, connect with my existing GodotSteam client code so the Steam ticket check still runs.”

The GodotSteam sample doesn’t include a matchmaker client yet, and the two haven’t been tested together. By hand: follow the matchmaking documentation.

Option B: keep Steam lobbies. Friends gather in a Steam lobby as they do today. When the lobby is ready, your backend deploys an Edgegap server near the players, and the lobby owner calls Steam.setLobbyGameServer() with its address so every member joins it. Keep the Edgegap API token on your backend, never in the client. See Steam Lobbies for the backend side.

When you ship a new server build, update application.version in the matchmaker configuration (Stop, Edit, Start), or matches keep deploying the old build.

7. Steam's server browser: a known limit

Steam lists your server with the right connect address, but it records the internal query port (27015). Edgegap maps that port to a random external port, so the ping from Steam’s server browser fails and the server shows as not responding.

Until that’s solved, bring players in with matchmaking or Steam lobbies (step 6), not the Steam server browser.

8. Test the full loop with two players

  1. Make sure no test deployment is still running.

  2. Run two clients, each with its own Steam account signed in.

  3. Select Find Match in both, or join the same Steam lobby. Both clients get the same server.

  4. In the server logs, both players show AUTH ok, and both clients show AUTHENTICATED by Steam.

  5. Leave the match. The server logs off Steam and stops its own deployment, and it disappears from the dashboard. That self-stop is what keeps your bill at zero when nobody plays.

On the free tier, the matchmaker stops 3 hours after each start (restart it from the dashboard), deployments stop after 60 minutes, and one deployment runs at a time.

Next Steps

Next Steps

New to Godot multiplayer? See Godot Engine. Keeping Steam lobbies? See Steam Lobbies. Godot setup on Edgegap: Godot documentation.

Going live? Ask your agent to run the edgegap-launch skill’s checklist: version rollouts, restart policy, maximum duration, cost control.

Stuck? Ask your agent to load edgegap-troubleshoot, or ask our team and other studios on the Edgegap Discord.

Frequently Asked Questions

Common questions about hosting a Godot game built with GodotSteam on Edgegap's dedicated servers.

Do I need GodotSteam Server for a Godot dedicated server?

Yes, if your dedicated server talks to Steam: logs on, checks player tickets or appears in Steam’s server list. GodotSteam describes its server build as the one for “a centralized master server or dedicated servers”. Your game client keeps the standard GodotSteam. A server that never talks to Steam needs neither.

Does GodotSteam replace Godot's multiplayer?

No. The sample uses Godot’s ENetMultiplayerPeer and RPCs for gameplay, and GodotSteam only adds Steam identity on top. GodotSteam can also carry traffic over Steam’s own networking, but that’s not what this guide covers: here, clients connect to the dedicated server by host and port.

Which ports does a GodotSteam server use on Edgegap?

The game port, 7777/UDP, named gameport on your app version. The Steam query port, 27015/UDP named queryport, is optional. Players connect to the external port Edgegap assigns to gameport on each deployment.

Do I need a Steam Game Server Login Token?

No. Anonymous logon (logOnAnonymous()) works, and that’s what the sample was tested with. A Game Server Login Token, set with the STEAM_GSLT variable, gives the server a persistent Steam ID; that path wasn’t tested in the sample.

Can players find my server in Steam's server browser?

Not reliably yet. Steam lists the server, but it pings the internal query port, which Edgegap maps to a random external one, so the server shows as not responding. Use Edgegap’s matchmaker or Steam lobbies instead (step 6).

How much does it cost to host a GodotSteam game server?

Testing is free, with no credit card. After that, Edge Cloud bills per vCPU per minute only while servers run, so a server that stops at the end of each match costs nothing between matches.

Clients

Learn more from clients who integrated Edgegap

31 case studies are available from studios that moved to Edgegap from another platform.

Key reasons why they chose Edgegap

Discover the impact of Edgegap's automated game server orchestration for a flawless multiplayer experience.

Cost

Pricing

Pricing

Optimize costs and performance with hybrid orchestration

Optimize costs and performance with hybrid orchestration

Optimize costs and performance with hybrid orchestration

Edge Cloud

On-Demand

$0.00115

/ vCPU

/ MINUTE

Billed by the Minute, Only on Usage

Pay only when players play. 0 active servers = $0

Deploy game servers worldwide, per instance, to all 615+ edge cloud locations. Zero commitment.

Simply add a credit card.

Edge Cloud

On-Demand

$0.00115

/ vCPU

/ MINUTE

Billed by the Minute, Only on Usage

Pay only when players play. 0 active servers = $0

Deploy game servers worldwide, per instance, to all 615+ edge cloud locations. Zero commitment.

Simply add a credit card.

Private Fleet (Bare Metal)

Reserved Capacity

$0.0261

/ vCPU

/ HOUR

Billed Monthly, Always On

$280 per host/month (12 mo rate), or $350 monthly

Optimize the cost effectiveness of your game server with egress-free hosting of Private Fleets.

Persistent, available 24/7, exclusive to your studio.

Private Fleet (Bare Metal)

Reserved Capacity

$0.0261

/ vCPU

/ HOUR

Billed Monthly, Always On

$280 per host/month (12 mo rate), or $350 monthly

Optimize the cost effectiveness of your game server with egress-free hosting of Private Fleets.

Persistent, available 24/7, exclusive to your studio.

Your bill varies per rate and usage; which can vary per game type, player count, & more.

Your bill varies per rate and usage; which can vary per game type, player count, & more.

Model your usage with our estimate calculator ->

Model your usage with our estimate calculator ->

Edgegap's features & price: detailed comparison between Edge Cloud & Private Fleets

Edgegap's features & price: detailed comparison between Edge Cloud & Private Fleets

COMPARE

Free Trial

Edge Cloud

Private Fleets

FEATURES

Analytics & Monitoring

Billing Alarms

Click to Expand

28 more rows

Unlocks

Capabilities are unlocked when a credit card is added to the account.

COMPARE

Free Trial

Edge Cloud

Private Fleets

FEATURES

Analytics & Monitoring

Billing Alarms

Click to Expand

28 more rows

Unlocks

Capabilities are unlocked when a credit card is added to the account.

COMPARE

Free Trial

Edge Cloud

Private Fleets

FEATURES

Analytics & Monitoring

Billing Alarms

Click to Expand

28 more rows

Unlocks

Capabilities are unlocked when a credit card is added to the account.