Discover how Edgegap works

Discover how Edgegap works

Manus AI

Deploy to Edgegap

Host Your Manus Multiplayer Game per Match, Without Paying for a Full Cloud Server

Published

Published

Last reviewed for accuracy

Last reviewed for accuracy

Manus AI integration guide: Edgegap dedicated game server hosting for multiplayer games built with Manus

Manus Game Dev builds a playable multiplayer browser game, but before it writes the code it asks you to start a Cloud Computer to host the server. You don’t need one. Ask Manus for a server you can host yourself and it builds one, and Edgegap can host it: a dedicated server for each match, close to its players, stopped when the match ends. Edgegap Matchmaker is optional: it groups players who don’t know each other and sends them to that server.

This guide covers:

  1. Getting a game server you can host, with no Cloud Computer

  2. Connecting Manus to Edgegap

  3. Giving Manus the Edgegap playbook (optional)

  4. Making the server Edgegap-ready and deploying one test server

  5. Playing on the test server

  6. Adding Edgegap Matchmaker (optional)

  7. Testing the full loop in two browser tabs

We ran this path end to end on November 20, 2026, with a game made in Manus on the free plan. The code is public: Orb Arena, a Manus game on Edgegap.

How the pieces fit together:

Manus --(Edgegap MCP)--> Edgegap: app, version, deployments

Browser client --HTTPS--> Edgegap Matchmaker --starts--> dedicated server (one per match)

Browser client <== wss:// (TLS Upgrade) ==> dedicated server

What Manus does through the Edgegap MCP

What you do

Builds the game server and the browser client, adds the self-stop and the Dockerfile, pushes the image, creates the app and version with TLS Upgrade, deploys and stops test servers, reads logs, and generates the matchmaker configuration.

Create the Edgegap account, connect the MCP (you sign in with Edgegap), create and start the matchmaker in the dashboard, and playtest.

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 Manus gives you today

Manus 2.0, launched on September 28, 2026, turned the desktop app into Manus Studio with a Game Dev environment. You describe a game, Manus builds a playable version, and you adjust movement, art, scenes and code by hand in the Edit panel. Manus says multiplayer "works for racing, head-to-head, competitive, and 3D games."

To take a game online, Manus's launch post gives this path (as of October 15, 2026):

Configure → Multiplayer → Select Cloud Computer → Buy one

Manus handles the server deployment, the networking and keeping game state in sync. You publish the game as a website and share the link, and your friends join. For a first multiplayer game, that's genuinely the easiest path we've seen.

What one Cloud Computer is

A Cloud Computer is a persistent virtual machine that keeps running when your laptop is closed. As of October 15, 2026, Manus's billing page lists two plans:

Plan

vCPUs

RAM

Storage

Price

Standard

2

4 GB

70 GB

$30 / month

Advanced

2

8 GB

120 GB

$50 / month

 Both run Ubuntu Server 24.04 LTS, come with one dedicated public IP, and are billed monthly.

Here's what that means for a multiplayer game:

  • Every match shares the same 2 vCPUs. Upgrading from Standard to Advanced adds memory, not CPU. When ten matches run at once, they all compete for the same two cores, and the server's tick rate drops for everyone.

  • One machine, one place. Players connect to wherever that machine runs. A player across an ocean pays that distance on every input, which racing and head-to-head games make obvious.

  • A flat bill, busy or not. You pay the same at 3 a.m. with nobody online as you do on launch night, and launch night gets no extra capacity.

  • One point of failure. If the machine has a problem, every match goes down together.

No Cloud Computer? Ask for a server you host

On November 20, 2026, on the free plan, Manus Game Dev paused a new online game 26 seconds in and asked for a Cloud Computer before writing any code. Without one, there was no multiplayer game. Asked instead for a server we could host ourselves, Manus built a Node.js WebSocket server with authoritative rooms in about four minutes. That server is what Edgegap runs (step 1 below).

What's missing between "share a link" and a launch

As of October 15, 2026, Manus hosts the game server on a Cloud Computer, but its launch post and billing page describe no matchmaker, no server browser and no scaling, up or down. One Cloud Computer runs every match, and its capacity and monthly price stay the same whether 2 or 2,000 players are online. Players join through a shared link. That's a good fit for prototypes and playing with friends.

A link works when you know who you're playing with. When a stranger opens your game, they expect to press one button and be placed in a fair match with players near them. That's a matchmaker's job.

The alternative: one server per match

Edgegap runs your game server as a container and starts a fresh copy for each match, at the best available location for the players in it. The server stops when the match ends.

For a Manus game, that changes the picture:

 

Manus Cloud Computer

Edgegap

Servers

One VM runs every match

One dedicated server per match, started on demand

CPU per match

Shared by all matches (2 vCPUs total)

Reserved for that match

Location

Where the VM runs

Picked per match, close to its players

Busy night

Same machine, more load

More servers

Quiet night

Same monthly price

Close to zero: no matches, no servers

Getting players together

Shared link

Matchmaker, server browser or a link

 The two can work together: keep building and iterating in Manus, and move the game server to Edgegap when you're ready for players you don't know.

Browser games need secure WebSockets

Manus games run in the browser, and browsers can't open raw UDP connections. They talk to game servers over WebSockets, and a page served over https:// may only use secure WebSockets (wss://). Edgegap's TLS Upgrade gives each server a secure WebSocket endpoint without you buying or renewing certificates. The Edgegap MCP server turns it on when it creates your server version.

Matchmaking for strangers

The Edgegap Matchmaker groups players by rules you choose: match size, teams, game mode and skill, then starts their server close to them. Edgegap's latency rule relies on ping beacons, and browsers can't ping them, so for browser games the matchmaker places servers using the players' locations. Rules can relax the longer a player waits, friends can queue as a group, and backfill replaces a player who leaves mid-match. You can test it for free.

Step-by-Step Guide

Detailed Integration Steps

1. Get a game server you can host, not a Cloud Computer

When you ask Manus Game Dev for an online multiplayer game, it stops before writing code and asks you to start a Cloud Computer. Reply in the chat instead of pressing Continue:

"can you build the game server binary so i can host it locally on my machine instead"

Manus builds a Node.js WebSocket server with authoritative rooms. Then ask for the browser client, with the server address in the page URL:

"can you also build the browser client so i can test it against my server? Let me set the server address in the page (a ?server= URL parameter like ws://localhost:8787/ws or wss://myhost:port/ws), so the same client works with my local server or a server I host somewhere else."

Already have a Manus game with the server built in? Ask Manus to split it:

"Split this game into a browser client and an authoritative WebSocket game server that runs on its own in a Linux container. The server decides movement, collisions, hits, scores, timers and who wins. The browser only sends inputs and draws what the server says. Read the listening port from an environment variable."

"Authoritative" means the server decides what happens, so a player can't edit the browser's code to win. Edgegap runs this server, once per match.

Check that state keeps arriving, not just that players join. Manus's first server sent one snapshot and then stopped, so the game looked frozen, while Manus's own test (two players join, the match starts) passed. Count the messages each player receives over a few seconds before you deploy: the sample's tests/ws-check.cjs does it. The fix was one line.

To get the code out of Manus, each file has a Code view and the whole folder comes as an archive. The Orb Arena sample is the game from our run, with Manus's untouched output tagged manus-original.

2. Connect Manus to Edgegap

Manus can use remote MCP servers. Add Edgegap's by URL (Connectors → Create → Add MCP by URL; Manus's docs also show Settings → Integrations → Custom MCP Servers):

  • URL: https://mcp.edgegap.com/mcp

  • Sign-in: when Manus connects, it opens the Edgegap sign-in. Sign in with your Edgegap account, pick your organization and approve access. No API token to paste.

After you sign in, Manus lists the Edgegap tools.

Approve only what Manus needs. The connection gets only the access you approve at sign-in. Never paste an Edgegap API token into Manus or your game code.

3. Give Manus the playbook (optional)

Manus supports the open Agent Skills standard. Go to Plugins & Skills → Skills → Create → Import skill from GitHub and paste https://github.com/edgegap/llm-agent-skills. Then invoke a skill by typing / in chat.

Start with edgegap-manus: the Cloud Computer prompt, the snapshot check, the self-stop file, the Dockerfile, the app version settings, the test deployment and the optional Find Match, all from the verified run. The Edgegap MCP from step 2 also points agents to this skill when a Manus game asks for a Cloud Computer.

These engine-agnostic skills also fit a Manus browser game:

  • edgegap-server-design: an authoritative server that starts, plays and stops cleanly, once per match.

  • edgegap-containerize: the Dockerfile, the image push and the app version.

  • edgegap-local-testing: run the container locally before spending money.

  • edgegap-troubleshoot: servers that won't start, restart, or can't be reached.

4. Make the server Edgegap-ready and deploy one test server

Two additions make the server ready for one deployment per match:

  • It stops itself. Copy server/src/edgegap.js from the Orb Arena sample into the server's src/ and add its one-line hooks (on start, on join and leave, on match start, on match end). It stops the deployment when nobody joined within 120 seconds, 30 seconds after everyone left, or 60 seconds after the match ends. Off Edgegap it does nothing, so the server still runs on your own machine.

  • A container. The sample's Dockerfile (node:22-slim, port 8787) next to the server's package.json. Build from the source, not the standalone binaries Manus packages: same code, a current Node, and an 80 MB image.

Then ask Manus:

"Add edgegap.js to my server's src folder and call its started, connectedChanged, matchStarted and matchEnded hooks as its comments say. Add a node:22-slim Dockerfile. Then deploy my game server on Edgegap with TLS Upgrade on the WebSocket port so browsers connect over wss://, 0.25 vCPU and 512 MB, restart policy never. Give me the test server's address."

Manus writes the Dockerfile, pushes the server image, creates the app and version, deploys a test server and returns its address. In our verified run the two files were added by hand; this prompt asks Manus for the same change.

By hand, or to check what Manus did:

  1. Build the image for linux/amd64 and push it to your Edgegap Container Registry, tagged with the UTC build time (for example 20261120-1409).

  2. In the Edgegap dashboard (or through the Edgegap MCP), create an application and a version with that image: port 8787, name gameport, protocol WS, TLS Upgrade on; 0.25 vCPU and 512 MB (enough for 2-4 players at 30 ticks per second); restart policy never, since the server stops itself; max duration 15-30 minutes for tests.

  3. Deploy one server near you. Ours was ready in about 3 seconds.

Edgegap tells the server its ports through environment variables, including the internal port to listen on. The browser connects to the external port that Edgegap returns, which changes with every deployment.

5. Play on the test server

Point your game's client at the address Manus returned: wss://, the host name, the external port and the server's path. With the sample's client that's ?server=wss://<host>:<external port>/ws&room=ARENA1. Open it in two tabs and play a round.

In our run the test server was ready about 3 seconds after the request (Toronto), each player got 15 snapshots per second, and the server stopped itself about 36 seconds after both tabs closed.

Then make sure the test server is gone, and ask Manus to stop it if it isn't. The free tier runs one deployment at a time, and a leftover test server blocks matchmaking.

If the game doesn't connect, check:

  • The page uses ws:// instead of wss://, or TLS Upgrade isn't on for the port.

  • The client uses the internal port instead of the external port Edgegap returned.

  • The URL is missing the server's path (/ws in the sample).

  • The server listens on a different port than the one in the app version, or on 127.0.0.1 instead of 0.0.0.0.

  • The deployment is still starting. Wait until it shows Ready, and let the client retry for up to a minute.

  • A test server is still running and blocks the free tier's single deployment.

  • A background tab missed the click. Bring each tab to the front.

  • Players connect but the game looks frozen: the server stopped sending state (step 1).

  • The server crashed and keeps restarting. Stop it, fix the cause, and deploy again.

  • Ask Manus to read the deployment logs through the MCP before stopping a deployment: logs are deleted when it stops.

Here, Manus picked the location and you shared the address. To place players who don't know each other in matches automatically, add a matchmaker.

6. Add Edgegap Matchmaker (optional)

This step is optional. With no matchmaker configured, the game works exactly as Manus built it: a room code and a server address.

"Generate an Edgegap matchmaker configuration for my game: one profile for 2 to 4 players, a solo match after 20 seconds of waiting so I can test alone, and tickets that expire after 30 seconds. Add teams, a game mode, groups of friends or backfill only if my game needs them. Allow my game's page origins, including localhost for testing, and don't use a latency rule."

The sample's matchmaker/arena.json is that configuration. To use it by hand, set your app name and version, and add your page's address to allowed_cors_origins. Edgegap's latency rule relies on ping beacons, and browsers can't ping them. For browser games, the matchmaker places servers using the players' locations.

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

  1. Open Matchmaker and select Create Matchmaker.

  2. Name it, upload the configuration, and select Create and Start.

  3. When it's ONLINE, copy the API URL and the Auth Token.

The matchmaker's Auth Token is separate from your API token. Game clients use it to request matches, and it can't manage your Edgegap account. If it's abused, regenerate it in the dashboard.

Back in Manus:

"Add an optional Find Match button, shown only when a matchmaker API URL and Auth Token are set, and load Edgegap's JS SDK (@edgegap/sdk) only in that case. Queue each player as a group of one, show the status while searching and let the player cancel. Connect to the assigned server over wss:// with the ticket, retrying for a few seconds while the server starts. On the server, only give a seat to the matched tickets. Close the game socket when the page closes."

With the sample's client, put the API URL and Auth Token in client/config.local.js (a copy of client/config.js) and the lobby shows FIND MATCH; client/client.js has the rest. Games that already have their own backend can call the matchmaker from that backend instead of from the browser.

7. Test the full loop in two browser tabs

  1. Make sure no test server is still running.

  2. Open your game in two browser tabs. Bring each tab to the front before you click: background tabs can miss clicks.

  3. Select Find Match in both. Both tabs join the same server.

  4. Finish or leave the match. The server stops itself and disappears from the dashboard, which keeps your bill at zero when nobody plays.

  5. Leave a match in progress to test backfill, if you enabled it.

In our run, two tabs were on the same new server in under 20 seconds with the image not yet cached, and a client without a ticket was turned away.

If an empty server takes minutes to stop, the client isn't closing its socket when the page closes, so the server only notices at its next ping. In our run that took about 2.5 minutes, and under 40 seconds once the client closed the socket on page exit. On per-match hosting, those seconds are what you pay for.

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

Frequently Asked Questions

Common questions about scaling a Manus multiplayer game with dedicated servers and matchmaking on Edgegap.

Is there a working example?

Yes: Orb Arena (netcode-sample-manus-orb-arena on GitHub), a 2-4 player game made in Manus and hosted on Edgegap. The tag manus-original is Manus's untouched output, and every change after it, including the optional Find Match, is in the history.

Do I need a matchmaker?

No. Without one, players join a server with its address and a room code, and the game works as Manus built it. Manus doesn't include a matchmaker. Add the Edgegap Matchmaker when players who don't know each other should press Find Match and be placed on a server near them.

How much does a Manus Cloud Computer cost?

According to Manus's billing page, $30 a month for 2 vCPUs and 4 GB of RAM, or $50 a month for 2 vCPUs and 8 GB, billed monthly.

Is Edgegap cheaper than a Cloud Computer?

It depends on how much people play. A Cloud Computer is a flat monthly price. On Edgegap you pay while matches run, so a game with few players costs very little, and a busy one costs more but gets the servers it needs. Testing is free, with no credit card.

Will my Manus browser game work over WebSockets on Edgegap?

Yes. Edgegap supports WebSockets, and TLS Upgrade gives each server a wss:// endpoint so browser games on https:// pages can connect.

Do I need a Manus Cloud Computer to make a multiplayer game?

No. Manus Game Dev asks for one before it builds an online game, but if you ask for a server you can host yourself, it builds a Node.js server and a browser client. That server runs on Edgegap, one per match near the players, and testing is free.

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.