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

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:
Preparing Godot, GodotSteam, Steam, your Edgegap account and Docker
Connecting your coding agent to Edgegap (optional)
Making your server log on to Steam and check every player
Building and containerizing your server, with Steam’s client library
Deploying a test server and connecting to it
Adding matchmaking, or keeping Steam lobbies
What to know about Steam’s server browser
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.
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.shdownloads the tested versions from Codeberg intoaddons/. 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), callSteamServer.serverInitEx()with the game port, the query port (27015) and authentication mode. Set the server details (product, description, max players), then calllogOnAnonymous(), orlogOn()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, toserverInitEx()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 callsbeginAuthSession()and lets the player in only on a validvalidate_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
DELETEto theARBITRIUM_DELETE_URLthat Edgegap injects, withARBITRIUM_DELETE_TOKENas 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/*; excludeaddons/godotsteam_server/*from client presets. With both add-ons in one project, the editor printsSteamProjectSettings ... already registerederrors; 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) andlibsteam_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:
Fetch the add-ons:
./tools/fetch-godotsteam.shSelect Validate Export Templates, then Export server. The plugin exports the
Edgegap Linux Serverpreset tobuild/.Set Dockerfile path to
Dockerfileand Image tag to a new timestamp, for example20261118-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 withnon-existent singleton 'SteamServer'.Test it: set Docker run parameters to
-p 7777:7777/udpand select Deploy local container. The log showsSTEAM logged on steam_id=...; a client on127.0.0.1:7777authenticates. Select Terminate when you’re done.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, namedqueryportwith 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):
Open Matchmaker and select Create Matchmaker.
Name it, upload
matchmaker-config.json, and select Create and Start.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
Make sure no test deployment is still running.
Run two clients, each with its own Steam account signed in.
Select Find Match in both, or join the same Steam lobby. Both clients get the same server.
In the server logs, both players show
AUTH ok, and both clients show AUTHENTICATED by Steam.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.
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.

A Flawless Global Launch for Rivals of Aether 2
Aether Studios
Learn how Aether Studios quickly added Edgegap and delivered flawless launch & post-launch to their community.
Case Study

Overcome Latency Introduced by VR’s use of WiFi in Competitive Multiplayer
Halfbrick Studios
Discover how Halfbrick successfully launched & maintains a multiplayer-focused Early Access on META Quest's VR platform.
Case Study

MENA’s Social App Adds Online Games
WOLF
Learn how the highly popular MENA-region social app added matchmaking & multiplayer games orchestration easily to WOLF Qanawat.
Case Study

Hybrid Orchestration Keeps Kickoff Tactics Ready for Any Traffic
Birch Games
How hybrid orchestration helped Birch Games handle traffic, pairing egress-free Fleets with the regionless cloud.
Case Study

Authentic Online Warfare Requires the Ultimate Orchestration
Highwire Games
Learn how Highwire's need for performance required orchestration only Edgegap can deliver.
Case Study

22,000 Reviews, 4.8 Stars, and Infrastructure That Scaled Automatically
Sinn Studios
How a simple, Slack-supported integration got Sinn Studio's hit VR title online fast and keeps it there.
Case Study

Dynamic Server Orchestration
Under NDA - AAA Studio
Discover how one the world's biggest AAA studio improved its peer-to-peer multiplayer experience through edge computing.
Case Study

Near Zero Latency for AAA Fighting Game
AAA Studio - Under NDA
How an unannounced project delivered the lowest lag possible and improved fairness in its 1v1 game.
Case Study

Play Gods with Multiplayer Physics
Squido Studio
Learn how Squido uses Edgegap's highligh optimized game servers to deliver mind-bending & chaotic VR gameplay.
Case Study

A Fully Managed Solutions that Saves Time for Indies Multiplayer VR Horror
Dirty Pearl Studios
Discover how Dirty Pearl Studios saved development time thanks to Edgegap’s easy integration and automated orchestration alongside its Nakama integration.
Case Study

7 Days Blood Moons
The Fun Pimps & iLLOGIKA
Learn how Illogika dramatically reduced server costs & ensured the online experience the 7 Days to Die franchise expects.
Case Study

Instant Global Server Deployment for Collaborative XR Medical Education
AlensiaXR
How AlensiaXR uses Edgegap to deliver low-latency, always-available shared anatomy sessions to medical students worldwide.
Case Study

FunPlus
FunPlus
Case Study

The Lightkeepers: A VR Social Co-op Game with Dedicated Servers
Spectral Games
How Spectral Games used Edgegap Matchmaking and Server Browser to launch dedicated servers for its VR social lobby, with no prior server experience.
Case Study

Fast & reliable deployments worldwide for PvPvE challenger Gravebound
Crater Studios
How Edgegap’s orchestration and matchmaking helped Crater Studios dramatically helped a small them focus on gameplay instead of infrastructure.
Case Study

Rapid Scaling of Web Metaverse
Hiber
Learn how Hiber eliminated the guesswork out of its server capacity planning with Edgegap.
Case Study

High Hardware Requirements & Custom Game Server Pools
Alderon Games
Learn how Alderon Games instantly leverages a custom pool of game servers across multiple providers worldwide for its popular MMO.
Case Study

Easy Integration for Indie Devs
WhaleFood Games
Read how WhaleFood Games "kicked out" its netcode issues with Edgegap.
Case Study

Cutting-edge tech that powers South-East Asia’s first-ever eSports title.
Anantarupa Studios
Learn how Edgegap transformed South-East Asia’s gaming landscape streamlining complex infrastructure and cutting-edge tech with one seamless solution.
Case Study

One Strike. Global Reach.
Triple Hill Interactive
How Triple Hill Interactive leverages Edgegap's orchestration to deliver low latency and improve fairness in a genre where every millisecond counts.
Case Study

Fast-paced Team Battle Royale... with Gun-totting Animal Plushes!
SANDYFLOOR
Discover how a Korea-based Indie Studio launched it multiplayer worldwide.
Case Study

Mobile Horse Racing Goes Global with Instant, Cost-Efficient Servers
Mirai Labs
How Mirai Labs powers Pegaxy Blaze's worldwide multiplayer races with just-in-time server deployment and fractional vCPU to keep cost per player low.
Case Study

Server Management & Distribution
Matrioshka Games
Read how Matrioshka Games were able to ship a Battle Royale in early access with limited ressources.
Case Study

At my Signal, Unleash Hell!
TyGames
Discover how Indie studio TyGames immerses players in third-person gladiatorial combat multiplayer.
Case Study

Instant Worldwide Orchestration
Soliton Interactive
Discover how Soliton Interactive did the impossible… Ship it's first playable as multiplayer!
Case Study

Competitive play with server-side physics ensures ideal sub-50 ms latency
NS7
Discover why solely Edgegap could enable an indie studio to deliver on its vision for a AAA-quality F2P sports gameplay through server-side physics and authority.
Case Study

Regional Deployments for iGaming
X1 Contra 1
X1 Contra 1 delivers real-time PvP casual games to its Brazilian player base through cost-effective hosting & regional deployments, ensuring data and legal compliance.
Case Study

Pay Only When Players Play: Affordable Multiplayer Infrastructure
Meltdown Interactive
How Edgegap helped indie developer Meltdown Interactive Media solve cost-effective scaling and matchmaking without the complexity, so they could focus on building the game.
Case Study

One Edgegap platform, three very different networking profiles
Warped Games
How Warped Games runs a social hub, real-time co-op, and turn-based co-op, all on the same Edgegap deployment API and the same container pipeline.
Case Study

Pool Live Tour Max
RETA Games
Case Study

Korea’s Web3 POP Extraction Shooter Goes Global, Instantly
NDUS Entertainment
How XOCIETY easily added Edgegap orchestration & integrated custom matchmaking working alongside Edgegap Ping Beacons to optimize latency.
Case Study

Multiplayer in Every Dimension
Arcadia.tv
Discover how Arcadia.tv uses Edgegap's edge network to deliver an innovative, team and location-based athletic VR sport.
Case Study

F2P Mobile Fighter Cuts Infrastructure Costs With Just-in-Time Servers
Game Changers Worldwide
How Game Changer Worldwide hosted Rumble Rush's real-time 3v3 PvP globally on mobile.
Case Study
Key reasons why they chose Edgegap
Discover the impact of Edgegap's automated game server orchestration for a flawless multiplayer experience.









