Edgegap MCP Server
OfficialEdgegap MCP Server lets an AI agent manage Edgegap game-server infrastructure end to end, from containerization and deployment to monitoring and cleanup.
Inspect server configuration, guardrails, token status, API limits, and hosting context.
Generate and validate Dockerfiles/server configs for Unity, Unreal, Godot, or other engines, including ports, resources, tags, and platform requirements.
Manage applications and versions: list, create, update, delete, and configure images, resources, ports, env vars, registry logins, caching, restart policy, max duration, and endpoint storage.
Work with the Edgegap container registry: get push credentials when permitted, list tags, and delete exact tags.
Deploy authoritative dedicated servers near players using IPs or coordinates, with optional resource overrides, private fleet hosts, webhooks, readiness waiting, and connection details.
Monitor and troubleshoot deployments: list/filter deployments, read logs, inspect CPU/memory/network metrics, check fleet health, search logs across deployments, compare versions, and report deployments.
Control and clean up deployments: stop exact deployments, add/remove tags, and manage auto-stop/duration limits.
Manage Endpoint Storage and pull profiles for log export and boot-time file pulls.
Create and manage relay sessions for host-client/peer-to-peer games, including authorizing and revoking players.
Build basic matchmaker configuration JSON for upload through the Edgegap dashboard.
List deployable locations, ping beacons, and private fleet hosts.
Access and update bundled Edgegap agent skills and workflows.
Use dry-run, read-only mode, allowlists, confirmation prompts, and other guardrails for safer operations.
Generates and validates Dockerfiles for headless game server builds against Edgegap's requirements, checks images are linux/amd64, and provides registry credentials with the exact docker login, build and push commands to publish the image for deployment.
Supports Unity dedicated server builds: generates a Dockerfile with the correct Unity headless flags (-batchmode -nographics), default build paths and server binary names, and validates existing configs for missing batchmode/nographics flags and port mismatches.
Supports Unreal Engine dedicated server builds: generates a Dockerfile that runs the packaged LinuxServer folder, applies the non-root user Unreal requires, and validates existing configs for Unreal servers running as root.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Edgegap MCP Server Deploy my game server container on Edgegap near Frankfurt and give me the connection address."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Edgegap MCP Server
Connect AI coding agents to Edgegap through our MCP server. Your agent can take a headless server build all the way to players connecting: write or check the Dockerfile, push the image to your private Edgegap registry, deploy an authoritative dedicated server close to players, and read logs when something breaks.
👉 Supported Features
Using Unity, Unreal Engine, or Godot? Our Unity, Unreal Engine, and Godot guides and plugins remain the fastest path for those engines. The MCP server works alongside them, and on its own for any engine.
Use our MCP server when:
Containerizing your game server - your agent writes a Dockerfile for your build (or reviews the one you have) against best practices, pushes the image to our private container registry, and removes unused old image tags to reclaim registry capacity.
Deploying a dedicated server - create and update app versions, review available locations, deploy close to your players, and get server IP with ports to test client connection.
Building a CI/CD pipeline - test your deployments and teardown from a build system.
Troubleshooting a game server issue - inspect app versions and deployment status, read container logs and CPU/memory utilization, or reproduce a failed deployment.
Running client-host and peer-to-peer games - create relay sessions providing NAT punchthrough and avoid connection blocking. Review Orchestration Models and Dedicated Servers or Relays? before deciding.
Build the Linux server executable in your engine. Matchmakers (upload the configuration the MCP generates), server browser, lobbies, managed clusters, private fleets and billing are managed in theEdgegap dashboard.
If you need help,please reach out to us over Discord. For live games support see our ticketing system.
Related MCP server: MileHost MCP Server
🎮 What Your Agent Can Build
The server ships with 31 agent skills, each a step-by-step workflow for one engine, backend or tool. Your agent loads the one that matches your project:
Covered | |
Engines and netcode | Unity (Mirror), Netcode for GameObjects, FishNet, PurrNet, Photon Fusion 2 (Simple FPS), Unreal Engine (EOS Voice), Godot 4, Cocos Creator, Three.js and web games, WebAssembly physics (Rapier, Box2D, Jolt), any other engine through |
Game backends | Nakama, Colyseus, PlayFab, Supabase, Unity Gaming Services Matchmaker |
AI game makers | Claude, ChatGPT and Gemini chat games, Manus, fal.ai, vibe-coded games (Cursor, Codex, Lovable, Bolt and others) |
Hosting services | Matchmaking (parties, regions, backfill), Relays for host/client games, Deploy API backends, CI with edgegap/deploy-action (launch checklist), public sample projects |
Every project | Server design, Dockerfiles and registry, local parity tests, troubleshooting |
⚖️ Dedicated Servers or Relays?
Edgegap can host your multiplayer game in two ways. We recommend dedicated servers, and so does our MCP server: your agent will default to a dedicated server and only use a relay when you've chosen a host-client setup.
Dedicated server (recommended) | Relay | |
What Edgegap runs | Your headless server build, close to players | A traffic forwarder only, no game code |
Who runs the game | The server | One player's game (the host) |
Cheating | Much harder, the server has authority | The host can change anything |
Fairness | Every player connects directly to the server | The host has no latency, everyone else goes through two hops |
When the host leaves | The match continues | The match ends, unless your game supports host migration |
Performance limited by | The server's allocated CPU and memory | The host's PC and home internet upload |
You need | A server build in a container image | Netcode built as a listen server (host-client) |
No server image yet? That's not a reason to choose relays. Your agent can write the Dockerfile for your build with edgegap_generate_dockerfile. Learn more about relays in Distributed Relay.
🚀 Installation
Add the hosted endpoint, https://mcp.edgegap.com/mcp, to your MCP client and sign in with your Edgegap account when it asks. You pick the organization and approve what the connection may do; no API token is pasted anywhere.
Owners and admins can connect any app. Members can connect verified apps (Claude, Claude Code, ChatGPT and Codex), with the access their role allows.
An app asks again when a tool needs access you haven't approved yet.
See and revoke your connected apps in the dashboard under User Settings → Authorized apps.
The hosted endpoint no longer accepts API tokens. If your client's entry for it sends anAuthorization header, remove the header and reconnect to sign in. To keep using an API token, run the Local Server.
Popular Agents
Install Edgegap MCP server in your preferred agentic IDE with the Cursor or VS Code buttons at the top of this page, then sign in when the client asks.
Claude Code
claude mcp add --transport http edgegap https://mcp.edgegap.com/mcp --scope userThen run /mcp in Claude Code, pick edgegap and sign in.
OpenAI Codex
The Edgegap plugin installs this server and the Edgegap skills together:
codex plugin marketplace add edgegap/llm-agent-skills
codex plugin add edgegap@edgegap
codex mcp login edgegapOr add only the server:
codex mcp add edgegap --url https://mcp.edgegap.com/mcp
codex mcp login edgegapcodex mcp login opens the Edgegap sign-in; codex mcp list then shows edgegap with OAuth auth. The CLI, the IDE extension and the ChatGPT desktop app share this configuration. Worked example: netcode-sample-codex-slime-sumo.
Claude Desktop and claude.ai
Open Settings → Connectors, add a custom connector with the URL https://mcp.edgegap.com/mcp, then connect it and sign in. The connector is available in claude.ai, Claude Desktop and the Claude mobile apps.
Cursor
The Cursor button at the top of this page installs it; to do it by hand, add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project), then sign in from Cursor's MCP settings:
{
"mcpServers": {
"edgegap": {
"url": "https://mcp.edgegap.com/mcp"
}
}
}VS Code (Copilot agent mode)
The VS Code button at the top of this page installs it; to do it by hand, add this to .vscode/mcp.json (VS Code uses servers, not mcpServers), then sign in when VS Code asks:
{
"servers": {
"edgegap": {
"type": "http",
"url": "https://mcp.edgegap.com/mcp"
}
}
}Windsurf
In ~/.codeium/windsurf/mcp_config.json, run the Local Server, which works in every client that starts MCP servers as commands:
{
"mcpServers": {
"edgegap": {
"command": "npx",
"args": ["-y", "@edgegap/mcp"],
"env": { "EDGEGAP_API_TOKEN": "xxxxxxxx-e458-4592-b607-c2c28afd8b62" }
}
}
}mcp.json
Most agentic IDEs also support integration by pasting JSON configuration:
{
"mcpServers": {
"Edgegap": {
"type": "http",
"url": "https://mcp.edgegap.com/mcp"
}
}
}Custom Integration
Install remote Edgegap MCP server in your agent's virtualized environment (never in your project!). The proxy must support MCP sign-in (OAuth); mcp-remote opens it in your browser on first use.
Node, using the mcp-remote npx package
{
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.edgegap.com/mcp", "--transport", "http-only"]
}Python, using the mcp-proxy uvx package
{
"command": "uvx",
"args": ["mcp-proxy", "--transport", "streamablehttp", "https://mcp.edgegap.com/mcp"]
}One-Click Install (Claude Desktop)
Download edgegap-mcp.mcpb and open it: Claude Desktop installs the local server as an extension and asks for your API token, which it keeps in the operating system's secure storage. The extension's settings also hold read-only mode, the application allowlist, the max duration ceiling and the deployment cap (the variables below). Each release attaches the bundle, built from that release's code. Any other app that installs MCPB bundles works the same way.
Local Server
The local server runs on your machine with an API token instead of a sign-in. Leave the token out and your agent asks you for it on first use, holding it in memory only for that session:
{
"mcpServers": {
"Edgegap": {
"command": "npx",
"args": ["-y", "@edgegap/mcp"],
"env": { "EDGEGAP_API_TOKEN": "xxxxxxxx-e458-4592-b607-c2c28afd8b62" }
}
}
}Needs Node 18+. Pin a version in production (@edgegap/mcp@0.20.12) rather than floating on latest. Registered in the official MCP registry as com.edgegap/mcp (earlier versions are under dev.edgegap/mcp).
Generate (and view) your API tokens in Dashboard - User Settings / Tokens.
Do not integrate Edgegap API endpoints in game client, as your API token provides unlimited access to your account. See Integration for secure client-facing API endpoints and functions.
In case your secret tokens are compromised or leaked, delete and re-create them from dashboard.
The token is organization-wide and cannot be scoped to one application. Read DESIGN.md before giving it to an unattended agent.
The local server can also limit what an agent can do. These variables have no effect on the hosted endpoint at mcp.edgegap.com, which takes the two main ones as connection headers instead (see below):
Variable | Default | Purpose |
| (prompted) | API token. Optional: omit it and you're asked at first use. The |
|
| Set to |
| (empty) | Comma-separated application names. Limits what the agent can create and deploy into, and which deployments it can stop, tag or report. Reading (listing apps, versions, deployments, logs) is not limited. See DESIGN.md. |
|
| Ceiling on |
|
|
|
|
| Deploys one server process may send, failed ones included. Restart the server to reset it. |
|
| Set to |
|
| Set to |
|
| Per-request HTTP timeout. |
|
| Set to |
On the hosted endpoint (and the self-hosted Docker image), send these headers on the MCP connection. They can only narrow what the server allows, never widen it:
Header | Purpose |
| Same as |
| Same as |
An API token stays organization-wide: Edgegap cannot scope tokens. On the hosted endpoint, the access you approved at sign-in limits the connection as well.
Windows
The local server runs on Windows with Node.js 18 or newer, and CI runs the build and the stdio tests on Windows.
Many Windows MCP clients cannot start
npxdirectly, because it is a.cmdscript. Start it throughcmd /c:"command": "cmd", "args": ["/c", "npx", "-y", "@edgegap/mcp"]. In Claude Code:claude mcp add Edgegap --env EDGEGAP_API_TOKEN=<token> -- cmd /c npx -y @edgegap/mcp.In PowerShell, type
npx.cmdinstead ofnpxto run it by hand: a new Windows install blocks thenpxPowerShell script ("running scripts is disabled on this system").The first start downloads the package and can take a while; later starts are fast.
edgegap_update_skillsfinds skills installed in%USERPROFILE%, the same way as on macOS and Linux.
📚 Skills
The server includes the Edgegap agent skills: tested, step-by-step workflows for getting a multiplayer game online, with templates (Dockerfiles, matchmaker configs, Unity C# and Unreal C++ drop-ins) and known pitfalls. Any agent connected to Edgegap MCP gets them, with no separate install and no token needed, and is told to load the matching skill before working on a game project.
Skill | For |
| Start here for any engine other than Unity or Unreal Engine, or platform questions. Routes to the rest. |
| Unity end to end: server build, matchmaker, client, end-to-end test. |
| Unity with Netcode for GameObjects end to end: server start and self-stop, Find Match panel, Boss Room adapter, matchmaker. |
| Unity with FishNet end to end: headless server, Bayou/WebGL, matchmaker, end-to-end test. |
| Unity with PurrNet end to end: dedicated server, connect panel, matchmaker, end-to-end test. |
| Unity with Photon Fusion 2 end to end: IL2CPP Linux server, server bound to 0.0.0.0, Edgegap deployment, BR200 kit. |
| Photon's Simple FPS sample on Edgegap dedicated servers. |
| Godot 4 with a Godot dedicated server: headless export, ENet or WebSocket, matchmaker. |
| Colyseus servers on Edgegap, direct or through the matchmaker. |
| Nakama as the backend, starting Edgegap servers for its matches. |
| PlayFab Matchmaking with Edgegap servers. |
| Three.js and other browser games with their own Node.js server. |
| Matchmaking design for any engine: who owns it, profiles, parties, region selection, backfill, third-party matchmakers. |
| Browser games built with Manus: backend matchmaking, Steam sign-in, signed join tokens, Node WebSocket server. |
| Unreal Engine end to end: source engine, Linux server, matchmaker, end-to-end test. |
| Voice chat for an Unreal game on Edgegap with EOS Voice: server-side room tokens, match and team rooms. |
| Authoritative server design and the deployment lifecycle. |
| The container contract, Dockerfiles, registries, app versions. |
| Parity tests on your machine, then one smoke-test deployment. |
| Pull errors, crash loops, out-of-memory, clients that can't connect. |
| Backend code that deploys servers: webhooks, cleanup, Nakama, PlayFab, UGS, EOS. |
| Launch checklist, rollouts, caching, cost control. |
| Cocos Creator 3.8 games with their own authoritative server (Node.js or any language). |
| Browser games with WebAssembly physics (Rapier, Box2D, Jolt, ammo.js) on an authoritative server. |
| Unity Gaming Services Matchmaker starting an Edgegap server for each match. |
| Supabase as the game backend (sign-in, profiles, leaderboards) with Edgegap running each match. |
| Single-player browser games made with an AI tool, taken online multiplayer. |
| One-file games written in Claude, ChatGPT or Gemini, played online. |
| Browser games built with fal.ai, made online multiplayer. |
| Host/client games through Edgegap Relays: join codes, NAT traversal. |
| Finds the public Edgegap sample, SDK or build tool closest to your project. |
They're served three ways, so every MCP client can reach them:
Tools:
edgegap_list_skillsandedgegap_get_skill, which loads a skill'sSKILL.md, or one of its reference documents or templates withfile.Prompts:
deploy-game-server("Deploy my game server to Edgegap") is the place to start: it finds the engine and netcode, loads the matching skill and walks the golden path, cleanup included. There is also one prompt per skill, named after it. In Claude Code they show up as slash commands, e.g./mcp__edgegap__deploy-game-server.Resources: each skill's
SKILL.mdis listed, atedgegap-skill://<skill>/SKILL.md; every other file is read through theedgegap-skill://{skill}/{+path}template, e.g.edgegap-skill://edgegap-unity/references/deploy.md.
Each release bundles the skills at the commit pinned in scripts/skills-pin.txt; edgegap_context reports which pack is loaded. edgegap_list_skills also reads the latest pack version from GitHub (one version number, cached for an hour; EDGEGAP_SKILLS_CHECK=off turns it off) and says when a newer one is out, and edgegap_get_skill adds the same note under a skill's header.
Keeping installed skills current. If you also installed the skills in your agent (the Claude Code plugin edgegap@edgegap, npx skills add edgegap/llm-agent-skills, or folders copied into ~/.claude/skills), edgegap_update_skills compares each one with the latest on GitHub. On the local server it finds those installs itself; with apply: true it runs npx skills update (Edgegap skills only) or claude plugin update, and rewrites hand-copied skills from the files bundled in this release, keeping files you added and leaving symlinks and git checkouts alone. It never downloads skill text. The hosted server cannot see your disk: pass the versions you have loaded in installed_versions and it says which are behind and how to update them.
🧰 Tools
Your agent picks the right tool from your request. You don't need to name them, but knowing what's available helps you ask. Tools marked ● change something in your account, accept dry_run, and are hidden when EDGEGAP_READ_ONLY=1.
Tool | What it does |
| Shows which API this server talks to, its version, local or hosted, and the guardrails in force. No API call; never shows the token. |
Before Your First Deployment
Tool | What it does |
| Writes a Dockerfile for your server build: your build folder, server binary or start script, ports, and launch arguments, with the right headless flags (Unity |
| Checks an existing Dockerfile, ports, resources, and image tag before you build. Catches ARM or Windows images (Edgegap runs |
| Returns push credentials for your private Edgegap container registry, with the exact |
| Confirms your image push landed before you register it. Takes the image name only, e.g. |
| Deletes one tag, and the image it points to, to clean up old builds. One exact tag per call; |
Dedicated Servers (Recommended)
Tool | What it does |
| Lists your applications. |
| Creates an application. |
| Turns an application on or off for new deployments. |
| Lists versions with their image, resources, ports (with TLS Upgrade), and whether a registry login is set. |
| Reads one version in full: image, resources, ports, max duration, image caching, restart policy, and env var names (never values). |
| Registers a container image as a deployable version. Supports TLS Upgrade on WS and HTTP ports, which browser (WebGL) clients need for |
| Changes an existing version: a new image tag, on/off, CPU and memory (both together), max duration, registry login, image caching ( |
| Deletes one version, to clean up test versions. Refused while a deployment of it runs. Needs |
| Deletes an application and its versions. Refused while any of its deployments runs, and while it has more versions than |
| Lists the cities Edgegap deploys to, or, for one version, only those with capacity right now. |
| Lists the ping beacons game clients measure their latency to each region against. |
| Deploys an authoritative dedicated server close to your players. Always tagged |
| Lists the hosts of one of your private fleets, with status and location, to deploy onto them. |
| Waits until the server is ready and returns the connection address. |
| Reads a deployment's status. |
| Lists running deployments, filtered by application, version, status, tags and more, and sorted by age. Finds servers left running; |
| Reads container logs and crash details while the deployment runs. After it stops, logs are only kept if Endpoint Storage was set up. |
| Summarises CPU, CPU throttling, memory and network use (latest, average, p95, peak) and flags anomalies: spikes, a rising trend such as a memory leak, CPU throttling. To size a version or check a crash. |
| One call for "is anything wrong right now?": running deployments by status, the ones in error or stuck starting, and totals per location and version with unhealthy ones flagged. |
| Searches the logs of many running deployments at once and groups matching lines by error, e.g. every crash in one version since yesterday. |
| Compares two versions of an application from their running deployments: errors, crash restarts, and CPU and memory against what each version requests, for a rollback decision. |
| Stops one deployment, by its exact request ID. No bulk stop. A deployment the agent did not start needs |
| Adds or removes tags on a running deployment, e.g. to mark a match. The |
| Reports a deployment to Edgegap with a reason, for a studio's moderation backend. It keeps running. |
Logs and Files (Endpoint Storage)
Container logs disappear with the deployment unless they are exported to your own S3-compatible bucket.
Tool | What it does |
| Lists your Endpoint Storage buckets and their pull profiles. Secret keys are never returned. |
| Registers a bucket (AWS S3, Cloudflare R2, DigitalOcean Spaces…) for log export. Set |
| Copies a file or folder from the bucket into the container at boot (maps, configs, large assets). |
| Links a pull profile to a version, or unlinks it. |
| Deletes one pull profile. The bucket and its files stay. |
| Deletes one Endpoint Storage; refused while it has pull profiles unless |
Relays (Host-Client Games Only)
A relay is not a game server: it forwards traffic while one player's game hosts the match. See Dedicated Servers or Relays?.
Tool | What it does |
| Creates a relay session for your players and returns the relay address and each player's authorization token. |
| Reads a relay session. |
| Lists open relay sessions, to find ones left running. No authorization tokens. |
| Adds a player who joins later. |
| Removes one player from a relay session. |
| Closes a relay session. |
Deployments and relay sessions are billed while they run. Ask your agent to stop test deployments and delete test relay sessions when it's done.
Example Prompts
"Write a Dockerfile for my Unity server build, then push it and deploy a server near me."
"Check my Dockerfile for Edgegap and fix any problems."
"My deployment failed. Read the logs and tell me why."
"How much CPU and memory did my last match use? Size my version for it."
"My game uses host-client networking. Set up an Edgegap relay for two players."
🛡️ Guardrails
Your API token can do anything in your organization, so the server adds its own limits around what an agent does with it. They apply in both the local server and the hosted endpoint.
Guardrail | What it does |
Confirm |
|
Dry run | Every tool that changes something takes |
No token in containers | A deploy or version is refused, with nothing sent, if your API token appears in an env var name or value, a tag, or a webhook URL. Env values are never echoed back. |
Agent tag | Every deployment gets the |
Auto-stop | Every deploy reports when Edgegap will stop it: the version's |
Deploys per run | The local server sends at most |
No moving image tags |
|
Image reference check | A |
Deployment cap |
|
Hidden secret env vars | Env vars whose names look like secrets ( |
Strict stop |
|
Careful deletes |
|
Webhook and bucket URLs | Deploy webhooks and Endpoint Storage endpoints must be |
Host on every result | Every result starts with the API host, e.g. |
Redaction | The token is stripped from every error before it reaches the agent. |
The server identifies itself with User-Agent: edgegap-mcp/<version> (<MCP client name>) on every API call.
Usage analytics. The local server and the self-hosted Docker image send nothing beyond the API calls themselves. The hosted endpoint at mcp.edgegap.com uses PostHog MCP Analytics (@posthog/mcp) and sends usage events to Edgegap's PostHog: which MCP client connected, which tool, prompt or skill resource was used, the names (not values) of the arguments passed, whether a call succeeded, its error code, the stage it failed at and the Edgegap API status, how long it took, whether it was a dry run, a few facts about the call (how a wait for a deployment ended, a validation result, which skill was loaded), which golden-path step was reached, plus the server version and Cloudflare's country code. On a failed call it also sends the error message, after removing your token, the values of the arguments you passed, and anything shaped like a credential, an IP address or an ID, cut to 300 characters. Deployment IDs are only sent as a keyed hash. Only named metadata properties are let through. It never sends your token, tool argument values (IP addresses, env vars, app or image names) or results, and GeoIP is off. It adds no parameters to the tools. Events from one token are grouped under a keyed, non-reversible hash of it. The full list is in docs/analytics.md. To opt out, send the header X-Edgegap-Telemetry: off (or DNT: 1), or use the local server.
🚨 Troubleshooting
Review common error codes and learn how to unlock your integration.
401 Unauthorized
On the hosted endpoint, your client is still sending an API token, or its sign-in has ended (an app you revoked, or a connection past its maximum age). Remove any Authorization header from the client's entry and reconnect to sign in again. On the local server or a self-hosted image, the token is missing or malformed.
403 Forbidden
On the hosted endpoint, the tool needs access the connection doesn't have: approve it when your client asks, or ask an owner or admin if your role can't grant it. With an API token, your integration is likely using the template token or a deleted token: check that it matches exactly the token displayed in the dashboard.
424 Image Could Not Be Pulled
Edgegap could not pull your container image. Check the repository, image name, and tag, and that the tag was pushed (ask your agent to list registry tags). For images in the Edgegap registry, the image name must include your project, e.g. my-project/my-game-server.
Registry Credentials Unavailable
Edgegap only gives registry credentials to the quick-start token the Unity and Unreal plugins use, so with a regular API token your agent can't retrieve them and asks you instead. Copy the Project, Username and Token from the dashboard under Container Registry, or push to another registry Edgegap can pull from (Docker Hub, GitHub, AWS ECR, GCP, GitLab). See External Registries.
"status": "empty" or "not_configured"
Not an error. A list with nothing in it (no applications yet, no deployments running, an image never pushed) or a feature this organization has not set up (relays, a registry this token cannot read) comes back as a normal result with status and a next_step. Your agent should do the next step instead of retrying.
No Token Yet
The skills (edgegap_list_skills, edgegap_get_skill), edgegap_context, edgegap_generate_dockerfile and edgegap_validate_server_config work without a token, so an agent can prepare the server build first. Create an account at app.edgegap.com and a token under User Settings → Tokens. edgegap_context with check_token: true says whether the session's token is present and accepted, and shows its last four characters so you can find it on that page.
Starts Locally but Not on Edgegap
Ask your agent to validate your server configuration, or to generate a new Dockerfile. The most common causes are an image built on Apple Silicon without docker build --platform linux/amd64, a server listening on a different port than the version exposes, or a UDP transport configured as TCP.
Other API Errors
Please consult our API Reference for possible error responses for individual API endpoints.
If you need help,please reach out to us over Discord. For live games support see our ticketing system.
🛠️ Self-Hosting
The hosted endpoint at mcp.edgegap.com runs as a Cloudflare Worker (see worker/INSTALL.md). To run the same stateless HTTP server on your own infrastructure, use the Docker image:
docker build -t edgegap-mcp .
docker run --rm -p 8080:8080 edgegap-mcpClients connect to http://<host>:8080/mcp with their own Authorization header carrying an API token, as with the local server. The image holds no credential, and /health answers without one. PORT, HOST, EDGEGAP_READ_ONLY, EDGEGAP_APP_ALLOWLIST, EDGEGAP_MAX_DURATION_MINUTES, EDGEGAP_MAX_AGENT_DEPLOYMENTS and EDGEGAP_STOP_OWN_ONLY apply; pass each with -e NAME=value. Never pass an API token to the container: each client sends its own on every request. Read worker/DECISION.md before exposing it beyond a private network.
Prebuilt images for linux/amd64 and linux/arm64 are published to ghcr.io/edgegap/llm-mcp-server (and, for existing setups, the old name ghcr.io/edgegap/edgegap-mcp), tagged main and sha-<commit> on every push to main, plus the version on v* tags:
docker run --rm -p 8080:8080 ghcr.io/edgegap/llm-mcp-server:mainHosted Worker: OAuth environments
The hosted Worker runs in OAuth mode (OAUTH_MODE "1"): the developer adds the URL to their MCP client, signs in with Edgegap and approves what the connection may do. No API token is pasted anywhere, and the Worker refuses one: a client entry that still sends an Authorization header with an API token gets a 401 saying to remove the header and connect again (a client with a header configured doesn't offer the sign-in), or to use the local server. Production is the top-level Worker in worker/wrangler.jsonc, on mcp.edgegap.com. MCP_RESOURCE_URL lists one URL per custom domain, and each request gets the one on its own host, so each domain advertises itself and accepts only tokens issued for it. staging and beta are environments of the same file.
Environment | MCP URL | Authorization server | Edgegap API |
production (top level) |
|
|
|
|
|
|
|
|
|
|
|
In OAuth mode the Worker:
answers
initialize,tools/listand the tools that need no account without a sign-in, and a call to an account tool with 401 andWWW-Authenticate: Bearer scope="...", resource_metadata="...", which makes the client start the sign-in;serves its RFC 9728 metadata at
/.well-known/oauth-protected-resource/mcp(and without the path);verifies each access token against the issuer's JWKS (RS256,
typ: at+jwt, a publishedkid,iss,audcontaining its ownMCP_RESOURCE_URL,exp,nbf) and forwards it unchanged to the API asAuthorization: Bearer(why that isn't token passthrough: worker/DECISION.md);answers a tool the token's scopes don't cover with 403
insufficient_scopeand the scopes to ask for (step-up), and lists only the tools whose API routes accept OAuth tokens, each with_meta.securitySchemes. The relay tools are not listed yet, andedgegap_get_registry_credentialsanswers the dashboard steps instead of credentials;explains the API's refusals by their error code: reconnect the server, ask an owner or admin for more access, not available through sign-in, or retry shortly.
Deploys are manual: nothing deploys a Worker from CI. From a checkout of the commit to release, logged in with npx wrangler login:
Check the bundle:
npx wrangler deploy --config worker/wrangler.jsonc --env staging --dry-run --outdir=.wrangler/dryrun.First deploy of an environment only: set its secrets,
npx wrangler secret put POSTHOG_API_KEY --config worker/wrangler.jsonc --env staging, thenTELEMETRY_SALTthe same way. Without them it sends no analytics.Deploy:
npx wrangler deploy --config worker/wrangler.jsonc --env staging. The first deploy creates the custom domain and its DNS record.Check:
curl https://mcp-staging.edgegap.dev/.well-known/oauth-protected-resource/mcpnames the rightresourceand issuer, and an MCP client adding the URL is sent to the Edgegap sign-in.Roll back if needed:
npx wrangler rollback --config worker/wrangler.jsonc --env staging.
Use --env beta for beta, and no --env (npm run worker:check, npm run worker:deploy) for production. The authorization server must list each of the environment's MCP URLs in OAUTH/ALLOWED_RESOURCES, or it refuses to issue tokens for it.
To run OAuth mode locally against a development authorization server and API, pass the vars to wrangler dev:
npm run worker:dev -- --var OAUTH_MODE:1 --var OAUTH_ISSUER:<issuer> \
--var OAUTH_JWKS_URL:<issuer>/oauth2/.well-known/jwks.json \
--var MCP_RESOURCE_URL:http://localhost:8787/mcp --var EDGEGAP_API_URL:<api base URL>Development
See CONTRIBUTING.md for the checks a change has to pass, CHANGELOG.md for what each version changed, and SECURITY.md to report a vulnerability.
npm ci
npm run build
npm test # mock-API tests; none reach Edgegap
npm run typecheck:workerTo update the bundled skills to the latest commit of llm-agent-skills, then release as usual:
npm run sync-skills -- --ref main
npm run check-skills # exit 1 if src/skills.generated.ts differs from the pinWhen the API's OAuth scopes or route permissions change, refresh spec/scope-catalogue.json from the API's catalogue export and run npm test:
npm run sync-scope-catalogue -- <path to the catalogue export>Test | Covers |
| Unit tests for the tag, image, secret-name, URL and redaction rules |
| Packaging: one |
| Skills over MCP: tools, prompts, resources, path safety, bundle matches the pin |
| Handshake, tool registration, read-only mode |
| Local validation and allowlist enforcement |
| Token prompt: accept, refuse acknowledgement, decline, no support |
| Validator, Dockerfile generator, registry, deployments, relay and matchmaker tools against a local mock API |
| Self-hosted HTTP server: discovery without a token, per-request tokens, foreign credentials |
| Every endpoint and request-body field the server sends is in |
| Tool names, descriptions, schemas and the instructions match |
| OAuth mode: token verification, the JWKS cache, the 401/403 gate, the tool-to-scope table, hidden tools |
| Every API route a tool calls requires a permission the tool's OAuth scopes grant, per |
|
|
| Not in |
Design decisions, the security model, and what's deliberately out of scope are in DESIGN.md.
Available Tools
46 toolsedgegap_authorize_relay_userAdd a player to a relay sessionAIdempotentInspect
Authorize one more player (by public IP) on an existing relay session, for a player joining after the session was created. Returns that player's authorization token.
Inputs: user_ip (required), session_id (required), dry_run.
edgegap_build_matchmaker_configBuild a basic matchmaker configurationARead-onlyIdempotentInspect
Generate a ready-to-upload Edgegap matchmaker JSON configuration with one profile: team count and size, optional latency rule, and optional expansions that relax the rules the longer a player waits. Checks the referenced application version exists and has ports. Edgegap has no API for creating a matchmaker, so this tool does NOT create one: save the returned config to a file (e.g. matchmaker-config.json) and have the developer upload it on the Matchmaker page of the dashboard. The matchmaker starts one dedicated server for each match.
Inputs: version (required), team_count (required), application (required), profile_name (required), +9 more.
edgegap_compare_versionsCompare two versions of an applicationARead-onlyInspect
Compare two versions of one application from their running deployments, to back a rollback or promote decision: deployments in error, crash restarts and exit codes, and CPU and memory (average, p95, peak) against each version's requested cpu_units and memory_mb, with the differences spelled out. Reads up to 20 running deployments per version, newest first, so both versions need deployments running now (stopped ones keep no logs or status). Read-only.
Inputs: version_a (required), version_b (required), application (required), max_deployments_per_version.
edgegap_contextShow this Edgegap MCP server's configurationARead-onlyIdempotentInspect
Report which Edgegap API this server talks to, its version, whether it is the local or hosted server, and the guardrails in force: read-only mode, application allowlist, max_duration ceiling, the agent deployment cap, the tag forced onto every deployment, and which tools support dry_run. Also gives the egress terms per hosting type, the API rate limits and webhook rules for backend code, and says whether this session has a usable token and, if not, why and how to fix it. Call it first when unsure what this session is allowed to do, before anything billable, or when tool calls fail with a token problem. Makes no API call unless check_token is true, and never shows the token.
Inputs: check_token. Returns: server, pricing, api_host, read_only, +7 more
edgegap_create_appCreate an Edgegap applicationAInspect
Create a new application to hold game server versions. Only call this after edgegap_list_apps confirms no suitable application exists. Creating an application does not deploy anything — follow with edgegap_create_app_version.
Inputs: name (required), dry_run, is_active.
edgegap_create_app_versionCreate an application versionAInspect
Register a container image as a deployable version of an application. The image must already be pushed to a registry that Edgegap can pull from (see edgegap_get_registry_credentials and edgegap_list_registry_tags). Resource units: 1024 cpu units = 1 vCPU; memory_mb must be at least 256 and at most double the cpu units. Set verify_image true on the first version so a bad image fails here rather than at deploy time. Refused, with nothing sent, for the "latest" or an empty docker tag (use a build ID so deployments are reproducible) and for a docker_image that also holds a registry host or tag. Env vars named like secrets (TOKEN, SECRET, PASSWORD, API_KEY…) are hidden in the dashboard. Images on registry.edgegap.com need no registry login: leave registry_username and registry_token out and the version gets the organization's own registry login (registry_profile "Edgegap"). When copying an existing version, copy only non-secret settings: the API returns "This value is set and encrypted" for its registry login and secret env values, and that placeholder is refused here.
Inputs: name (required), ports (required), cpu_units (required), memory_mb (required), +12 more.
edgegap_create_endpoint_storageCreate an Endpoint Storage (S3 bucket for logs)AInspect
Register an S3-compatible bucket (AWS S3, Cloudflare R2, DigitalOcean Spaces, ...) as Endpoint Storage, so container logs are exported there when deployments end. The developer supplies the bucket, endpoint URL and an access key pair scoped to that bucket; never invent or reuse other credentials, and never pass the Edgegap API token. The secret key is sent once and never echoed back. Then set endpoint_storage on the version (edgegap_update_app_version) to turn log export on.
Inputs: name (required), bucket (required), endpoint (required), access_key_id (required), +4 more.
edgegap_create_pull_profileCreate a pull profile (copy bucket files into containers)AInspect
Create a pull profile under an Endpoint Storage: at boot, Edgegap copies a file or folder from the bucket into the container (maps, configs, large assets kept out of the image). It does nothing until linked to a version with edgegap_link_pull_profile. Avoid destination paths the image already uses.
Inputs: name (required), source (required), destination (required), source_type (required), +2 more.
edgegap_create_relay_sessionCreate a relay session (host-client games only)AInspect
A relay is NOT a game server and is not the recommended default — for a multiplayer match, deploy an authoritative dedicated server with edgegap_deploy instead. A relay only forwards traffic between players while one player's game acts as host and owns the game state: the host can cheat and has a latency advantage, the host's PC and connection cap the match, and the match ends if the host quits. Only use this when the developer has chosen peer-to-peer/host-client, or the netcode is already a listen server and a dedicated server is not an option; if that has not been established, ask first. Never pick it only because it needs no server image. Creates an Edgegap relay session for every player's public IP, host first, waits until it is ready, and returns the relay address plus per-player authorization tokens for the relay transport. Relay sessions are billed while open: delete test sessions with edgegap_delete_relay_session when finished.
Inputs: user_ips (required), dry_run, webhook_url, timeout_seconds, +1 more.
edgegap_delete_appDelete an application and all its versionsADestructiveIdempotentInspect
Delete one application and every version under it, to clean up a test application. Exactly one exact name; refused while any of its deployments is running, and refused when it has more versions than max_versions (default 0: delete its versions first with edgegap_delete_app_version, or raise max_versions after the developer agreed). Registry images are not touched. Cannot be undone, so without confirm: true the result only previews it and nothing is sent.
Inputs: application (required), confirm, dry_run, max_versions.
edgegap_delete_app_versionDelete one application versionADestructiveIdempotentInspect
Delete one version of an application, to clean up test versions. Exactly one exact version name; refused while any deployment of that version is running. The container image stays in the registry (edgegap_delete_registry_tag removes it). Cannot be undone, so without confirm: true the result only previews it and nothing is sent.
Inputs: version (required), application (required), confirm, dry_run.
edgegap_delete_endpoint_storageDelete an Endpoint StorageADestructiveIdempotentInspect
Delete one Endpoint Storage, to clean up a test one. Exactly one exact name; refused when it still has more pull profiles than max_pull_profiles (default 0: delete them first with edgegap_delete_pull_profile, or raise max_pull_profiles after the developer agreed). Versions that export logs to it stop doing so, so confirm with the developer when the storage is not one this conversation created. The bucket and the logs already in it are not touched. Cannot be undone.
Inputs: endpoint_storage (required), dry_run, max_pull_profiles.
edgegap_delete_pull_profileDelete a pull profileADestructiveIdempotentInspect
Delete one pull profile from an Endpoint Storage, to clean up a test profile. Exactly one exact name. Every version linked to it stops getting its files at boot (the API cannot list those links, so ask the developer when the profile is not one this conversation created). The bucket and its files are not touched. Cannot be undone.
Inputs: pull_profile (required), endpoint_storage (required), dry_run.
edgegap_delete_registry_tagDelete one image tag from the Edgegap registryADestructiveIdempotentInspect
Delete one tag, and the image it points to, from this organization's Edgegap container registry, to clean up old builds. Takes exactly one image name and one exact tag; wildcards, lists and "latest" are refused, and there is no bulk delete. A version that still uses the tag can no longer start deployments, so check edgegap_list_app_versions first. Cannot be undone, so without confirm: true the result only previews it and nothing is sent.
Inputs: tag (required), image_name (required), confirm, dry_run.
edgegap_delete_relay_sessionDelete a relay sessionADestructiveIdempotentInspect
Close one relay session. Connected players lose their relay connection. Delete every session you created for testing before ending your task. Takes exactly one session_id; empty IDs, wildcards and lists are refused.
Inputs: session_id (required), dry_run.
edgegap_deployDeploy a game serverAInspect
Start one authoritative dedicated game server from an application version, placed near the players you specify. The server owns the game state, so no player hosts it. Returns immediately with a request_id; the server is still starting and has no connection details yet. Follow this call with edgegap_wait_for_deployment to get the address players connect to. Always stop deployments you started for testing. Every deployment is tagged "edgegap-mcp" in addition to any tags you pass, so edgegap_list_deployments with only_agent_deployments: true finds them all. Runs until stopped or until the version's max_duration, which the result reports. Refused, with nothing sent, if the API token appears in an env var or tag, if the version uses the "latest" docker tag, or when too many agent deployments are already running (EDGEGAP_MAX_AGENT_DEPLOYMENTS, default 5): stop finished ones first. Also refused when the version's max_duration is unlimited or above EDGEGAP_MAX_DURATION_MINUTES, unless allow_long_running is true (ask the developer first), and on the local server after EDGEGAP_MAX_DEPLOYS_PER_RUN deploys (default 20). Env vars named like secrets are hidden in the dashboard. Optional: webhooks Edgegap calls when the server is ready, errors or ends, require_cached_locations for faster starts, and private_host_ids to place it on your private fleet first. Backend code that deploys (POST /v2/deployments, 40/s per organization) should track servers with these webhooks, not by polling status (20/s for the whole organization); webhooks are not retried or signed, so keep polling as a fallback only.
Inputs: users (required), version (required), application (required), env, +10 more. Returns: tags, status, warning, auto_stop, +4 more
edgegap_fleet_healthSummarise the health of running deploymentsARead-onlyInspect
One call for "is anything wrong right now?" across running deployments, instead of checking them one by one: counts by status, the deployments in error with their error detail, ones stuck starting for over 10 minutes, and totals per location and per version with unhealthy ones flagged. check_crashes: true also reads each deployment's crash data (restarts, exit codes). Covers what Edgegap still lists: stopped deployments are gone, so this is current state, not history. Inspects up to 100 deployments per call, newest first. Read-only. Next: edgegap_search_deployment_logs for what the errors say, edgegap_compare_versions for a rollback decision.
Inputs: version, application, check_crashes, max_deployments.
edgegap_generate_dockerfileGenerate a game server DockerfileARead-onlyIdempotentInspect
Write a Dockerfile for this project's headless game server build, ready for Edgegap: linux/amd64 base, the build folder copied in, the binary made executable, the right headless flags (Unity -batchmode -nographics, Godot --headless), a non-root user where the engine needs it (Unreal refuses root), CRLF fixes for start scripts, and EXPOSE lines matching the ports. Call this when the project has no Dockerfile, before building anything. Look at the build output first so you can pass the real build folder, binary name and port; anything you omit is assumed and listed under assumptions, which you must confirm with the developer or the project files. Write the result to Dockerfile, then build. The output is checked against edgegap_validate_server_config before it is returned. Makes no API calls.
Inputs: engine (required), ports, netcode, base_image, +3 more.
edgegap_get_app_versionGet one application versionARead-onlyInspect
Read one version in full: image, resources, ports, max_duration, whether image caching (force_cache) and verify_image are on, restart policy, the Endpoint Storage its logs go to, and the names of its env vars (values are never shown). Use it before edgegap_update_app_version or edgegap_deploy to check what a version will do.
Inputs: version, application. Returns: env, name, image, ports, +15 more
edgegap_get_deploymentGet deployment statusARead-onlyInspect
Read the current status of one deployment, including connection address and ports once it is ready. For a deployment you just created, prefer edgegap_wait_for_deployment — it polls for you instead of making you call this in a loop. This is GET /v1/status, limited to 20 requests/s for the whole organization (shared with Context): backend code should use deployment webhooks and poll only as a fallback.
Inputs: request_id (required). Returns: fqdn, error, ports, ready, +10 more
edgegap_get_deployment_logsGet container logs for a deploymentARead-onlyInspect
Retrieve stdout/stderr and crash output for a deployment. Call this whenever a deployment errors or a server exits unexpectedly — the crash exit code usually identifies the problem faster than redeploying does. Logs for stopped deployments are only retained if Endpoint Storage was configured on the version beforehand.
Inputs: request_id (required), max_characters.
edgegap_get_deployment_metricsGet CPU, memory and network use of a deploymentARead-onlyInspect
Summarise a deployment's resource use over time: CPU, CPU throttling, memory and network, each as latest, average, p95 and peak, with the API's own labels, plus anomaly flags (spikes above mean + 3 sd, a rising trend such as a memory leak, any CPU throttling) collected in anomalies. Use it to size a version (cpu_units, memory_mb) from a real match, or to check whether a crash was memory or CPU starvation before redeploying. Defaults to the whole life of the deployment. To compare two versions, use edgegap_compare_versions.
Inputs: request_id (required), step, end_time, start_time. Returns: cpu, note, memory, totals, +4 more
edgegap_get_registry_credentialsGet Edgegap container registry push credentialsAIdempotentInspect
Get the push login for this organization's private Edgegap container registry (registry.edgegap.com) and the exact docker login, build and push commands for your image. Use this when the server image is not in a registry yet. Edgegap only hands these credentials to the quick-start token the Unity/Unreal plugins use; with a regular API token or Edgegap sign-in this tool cannot fetch them and instead returns the steps to copy them from the dashboard's Container Registry page — ask the developer for them then, do not retry. When it does return a token, it is registry-scoped (push/pull images in this project), not the org API token: pass it to docker login via --password-stdin, never as a command-line argument, and do not write it into files. Call edgegap_validate_server_config before building. Any other registry Edgegap can pull from (Docker Hub, GHCR, ECR, GitLab) works too: then skip this tool and pass that registry and its pull login to edgegap_create_app_version.
Inputs: tag, image_name.
edgegap_get_relay_sessionGet a relay sessionARead-onlyInspect
Read one relay session: whether it is ready, the relay address and ports, and each authorized player with their authorization token. edgegap_create_relay_session already waits for readiness; use this to re-read a session or one created with wait_until_ready false.
Inputs: session_id (required).
edgegap_get_skillLoad an Edgegap agent skillARead-onlyIdempotentInspect
Load one Edgegap agent skill: its SKILL.md (the workflow to follow) by default, or one of its reference documents or templates with file. edgegap_list_skills and the server instructions say which skill fits which project ("edgegap" covers any other engine). No API call.
Inputs: file, skill.
edgegap_link_pull_profileLink or unlink a pull profile and a versionADestructiveIdempotentInspect
Link a pull profile to an application version, so its new deployments get the bucket files at boot, or unlink it (unlink: true). Running deployments are not changed.
Inputs: version (required), application (required), pull_profile (required), endpoint_storage (required), +2 more.
edgegap_list_appsList Edgegap applicationsARead-onlyInspect
List the applications in the Edgegap organization. Start here before creating or deploying anything, so you reuse an existing application instead of making a duplicate. An "application" groups versions of one game server.
Inputs: page, limit. Returns: total, showing, next_step, truncated, +1 more
edgegap_list_app_versionsList versions of an applicationARead-onlyInspect
List the versions under an application, with their container image, resources, ports (including whether TLS Upgrade is on, which browser/WebGL clients need for wss://) and whether a registry login is set for pulling the image. Use this to find the version name to deploy, to check a version is ready before deploying, or to copy the non-secret settings (image, resources, ports) of a working version when creating a new one. The registry login and secret env values are never readable: the API returns "This value is set and encrypted" for them, so get them from the dashboard's Container Registry page or the developer.
Inputs: application. Returns: total, showing, versions, next_step, +2 more
edgegap_list_deploymentsList running deploymentsARead-onlyInspect
List active deployments, optionally filtered and sorted. Use this to find deployments left running from earlier sessions before starting new ones — orphaned servers cost money. Backend code: the list API is limited to 10 requests/s per organization, so reconcile on a schedule, not per match. Filter by status, application, version, tags, request_id, created_at, fleet_name or host_name, e.g. [{field:"application",operator:"eq",value:"my-game"},{field:"status",operator:"eq",value:"ready"}]. Operators: eq and neq on every field except created_at (eq, gte, lte); in and nin with an array value on request_id, tags, application, version, fleet_name, host_name; ilike with % wildcards on fleet_name and host_name. At most one filter per field. Sort by created_at or available_session_sockets. To find every deployment an agent started through this server, pass only_agent_deployments: true (the same as filtering tags in ["edgegap-mcp", "mcp"]).
Inputs: limit, filters, order_by, only_agent_deployments. Returns: total, showing, next_step, truncated, +1 more
edgegap_list_endpoint_storageList Endpoint Storage and pull profilesARead-onlyInspect
List the organization's Endpoint Storage: S3-compatible buckets Edgegap exports container logs to when a deployment ends (so logs survive the deployment), and the pull profiles under each, which copy files from the bucket into a container at boot. Secret keys are never returned. A version uses a storage for logs through edgegap_create_app_version / edgegap_update_app_version endpoint_storage, and a pull profile through edgegap_link_pull_profile.
Inputs: no named parameters.
edgegap_list_fleet_hostsList the hosts of a private fleetARead-onlyInspect
List the hosts in one of the organization's private fleets (dedicated machines Edgegap manages for you), with status, IP and location. Only ACTIVE hosts accept deployments. Pass their host_id values to edgegap_deploy as private_host_ids to place a server on them first. edgegap_context gives the egress terms for fleet hosts and cloud overflow. Organizations without private fleets get an error from the API.
Inputs: fleet_name (required).
edgegap_list_locationsList where servers can runARead-onlyInspect
List the cities Edgegap can deploy to. Pass application and version to see only the locations with capacity for that version right now. Use it to pick geo_coordinates for edgegap_deploy when you have no player IPs, or to tell a developer where their players can be served from. For the ping beacons game clients use to measure latency, see edgegap_list_ping_beacons.
Inputs: page, limit, version, application. Returns: total, showing, messages, locations, +3 more
edgegap_list_ping_beaconsList ping beaconsARead-onlyInspect
List Edgegap's ping beacons: one host per region that a game client can ping (UDP or TCP) to measure its latency before matchmaking. The matchmaker's latency rules use these measurements. Read-only; the game client does the pinging, not this tool.
Inputs: page, limit. Returns: total, beacons
edgegap_list_registry_tagsList image tags in the Edgegap registryARead-onlyInspect
List the tags pushed for one image in this organization's Edgegap container registry, with push time and size. Call it after docker push to confirm the tag landed before edgegap_create_app_version, which otherwise fails later with an image-pull error. An image that was never pushed comes back as status "not_found" with no tags, not as an error. Only for registry.edgegap.com: images in Docker Hub, GHCR or another registry are not listed here.
Inputs: image_name (required), page, limit. Returns: note, tags, total, showing, +3 more
edgegap_list_relay_sessionsList relay sessionsARead-onlyInspect
List this organization's active relay sessions: id, status, readiness and player count. Relay sessions bill while open, so use this to find ones left over from earlier sessions and delete them with edgegap_delete_relay_session. Authorization tokens are not listed; read one session with edgegap_get_relay_session.
Inputs: no named parameters. Returns: total, showing, sessions, next_step, +1 more
edgegap_list_skillsList the Edgegap agent skillsARead-onlyIdempotentInspect
List the Edgegap agent skills: tested, step-by-step workflows for getting a multiplayer game online on Edgegap, with templates (Dockerfiles, matchmaker configs, Unity C# and Unreal C++ drop-ins) and known pitfalls. Each entry says which engine, netcode or backend it is for, and the server instructions map projects to skills. edgegap_get_skill returns the text of a skill; "edgegap" covers any other engine and points to the rest. Also says whether a newer skills pack is on GitHub (reads one version number, no Edgegap API call).
Inputs: no named parameters.
edgegap_report_deploymentReport a deployment to EdgegapAInspect
Report a problem with one deployment to Edgegap (the API's "Report a Deployment", meant for a studio's moderation backend), with a short reason and optional key/value details. It does not stop the deployment. Use it only when the developer asks to report a deployment; for a crash, read edgegap_get_deployment_logs first.
Inputs: reason (required), request_id (required), dry_run, metadata.
edgegap_revoke_relay_userRemove a player from a relay sessionADestructiveIdempotentInspect
Revoke one player's access to a relay session, by that player's authorization token (from edgegap_get_relay_session or edgegap_authorize_relay_user). The player loses the relay connection; the session and the other players stay.
Inputs: session_id (required), user_authorization_token (required), dry_run.
edgegap_search_deployment_logsSearch the logs of many deployments at onceARead-onlyInspect
Search the container and crash logs of running deployments of an application (and version) for a pattern, and group the matching lines by error, with counts and which deployments printed them: "every crash in version 1.4.2 since yesterday, grouped by error". Without a pattern it looks for errors, exceptions, fatal signals and out-of-memory kills. Also counts crash exit codes. Logs only exist while a deployment runs (or in Endpoint Storage), so stopped deployments are not searched. Searches up to 100 deployments per call, newest first. Read-only.
Inputs: regex, pattern, version, max_groups, +3 more.
edgegap_stop_deploymentStop a deploymentADestructiveIdempotentInspect
Gracefully stop one deployment by request_id, sending SIGTERM to the container. Stop every deployment you started for testing before ending your task. This tool stops exactly one deployment, named by its exact request_id: empty IDs, wildcards and lists are refused, and bulk stop is deliberately not exposed. A deployment this server started (tagged "edgegap-mcp") stops right away; any other running deployment may be serving players, so without confirm: true the result only previews it and nothing is sent.
Inputs: request_id (required), confirm, dry_run.
edgegap_tag_deploymentAdd or remove tags on a running deploymentADestructiveIdempotentInspect
Add tags to, or remove tags from, one running deployment, e.g. to mark the match it serves or that a test is done, so edgegap_list_deployments can filter on them. Tags are labels only: the game server does not see the change. The "edgegap-mcp" tag cannot be removed, since it is how agent deployments are found and cleaned up. Returns the tags now on the deployment.
Inputs: request_id (required), add, remove, dry_run.
edgegap_update_appTurn an application on or offADestructiveIdempotentInspect
Set whether an application accepts new deployments. Turning it off stops new deployments of every version under it; running deployments keep running. Use it to pause an application without deleting anything.
Inputs: is_active (required), application (required), dry_run.
edgegap_update_app_versionUpdate an application versionADestructiveIdempotentInspect
Change settings on an existing version instead of creating a new one: point it at a new image tag, turn it on or off, change max_duration, set the registry login (the API cannot add registry_profile "Edgegap" to an existing version: create a new version for that), turn on image caching (force_cache: Edgegap pre-loads the image so deployments start faster), set the restart policy, or set the shutdown grace period. Only the fields you pass change. Deployments already running keep their old settings; new deployments get the new ones. Same refusals as edgegap_create_app_version: "latest" or empty tags, a docker_image holding a host or tag, and the API token in the registry login or env vars. ports and env REPLACE the version's whole list (per the API): read the current ones with edgegap_get_app_version and pass every port or variable to keep; secret env values are not readable, so get them from the developer. Refused, with nothing sent, for a registry login or env value equal to the API's "This value is set and encrypted" placeholder; leave the registry login out to keep it. cpu_units and memory_mb change together (both or neither); to try other resources for one deployment only, override them in edgegap_deploy instead.
Inputs: version (required), application (required), env, ports, +15 more.
edgegap_update_skillsCheck and update the installed Edgegap skillsAIdempotentInspect
Check whether the Edgegap agent skills installed in the developer's agent are the latest, and update them. Finds installs made with the skills CLI (user-wide or this project), the Claude Code plugin edgegap@edgegap, and skills copied by hand into an agent's skills folder, and compares each skill with the latest on GitHub. Without apply it only checks and changes nothing. With apply=true it rewrites hand-copied skills from the files bundled in this server, and runs each outdated install's own updater (npx skills@1.7.4 update for the Edgegap skills only, or claude plugin update) only when the operator started the server with EDGEGAP_ENABLE_SKILLS_UPDATE=1; otherwise it lists those commands for the developer to run. Ask the developer before applying. Skill text is never downloaded by this tool. The skills served by edgegap_get_skill need no update here.
Inputs: apply, installed_versions.
edgegap_validate_server_configValidate a game server Dockerfile and port configARead-onlyIdempotentInspect
Check a game server Dockerfile and the ports/resources you intend to register against what Edgegap requires, BEFORE building and pushing. Catches the failures that otherwise only show up after a build, push, version and deploy: ARM or Windows images (Edgegap runs linux/amd64), Unreal running as root, missing Unity -batchmode -nographics, a server bound to localhost, EXPOSE ports that do not match the version ports, a protocol that does not match the netcode transport, the "latest" tag, and bad CPU/memory ratios. Pass the Dockerfile text (read it from disk first). If there is no Dockerfile yet, call edgegap_generate_dockerfile instead. Makes no API calls.
Inputs: ports, engine, netcode, cpu_units, +5 more. Returns: engine, errors, verdict, warnings
edgegap_wait_for_deploymentWait for a deployment to become readyARead-onlyIdempotentInspect
Poll a deployment until it is ready, errors, or the timeout expires, then return the connection details. This is the tool to call right after edgegap_deploy. Do not build your own polling loop — this handles backoff and reports the container error detail if the server fails to start. For backend code that tracks many deployments, use deployment webhooks instead: status polling is limited for the whole organization.
Inputs: request_id (required), timeout_seconds. Returns: fqdn, error, ports, ready, +11 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 46 tools
Tools are broken into clearly labelled resource+action clusters (apps, versions, deployments, registry, storage, relays, skills), and paired tools like get_deployment vs wait_for_deployment or get_deployment_logs vs search_deployment_logs are explicitly contrasted in their descriptions. Only a couple of boundaries need reading the description to settle (fleet_health vs list_deployments, get_app_version vs list_app_versions), which is acceptable at this size.
Nearly everything follows edgegap_<verb>_<noun> in snake_case with a uniform prefix (edgegap_list_apps, edgegap_create_app_version, edgegap_delete_relay_session). A handful of members drop the verb or use an adjective form (edgegap_context, edgegap_fleet_health), which is a minor deviation rather than a convention break.
46 tools exceed any reasonable single-server surface, mixing core platform operations with skills-pack management, Dockerfile generation, matchmaker config building and relay sessions. Each cluster is coherent, but the aggregate is too heavy for an agent to survey reliably and would be better split into sub-servers (deployments, apps/registry, relays, authoring).
Coverage is broad and lifecycle-complete where it matters: full CRUD for applications and versions, full deployment lifecycle (deploy/wait/status/logs/metrics/stop/tag/report), full relay lifecycle, and registry/storage management. Gaps are minor: no get_app, no update or single-get for Endpoint Storage, and no listing of pull-profile-to-version links (the API cannot do it).
Maintenance
Related MCP Connectors
Manage NodePal Minecraft servers, worlds, mods, backups and console from AI agents.
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
Run your Krtuworks apps from an AI agent: setup, remote config, stats, players, bug reports.
A game studio for coding agents: skills, asset generation, and one-step deploys of browser games.
Related MCP Servers
FlicenseAqualityDmaintenanceEnables AI agents to deploy multiplayer web games as playable URLs with rooms, live state sync, and leaderboards, all through a single tool call.45-
MileHost MCP Serverofficial
AlicenseCqualityDmaintenanceEnables AI coding agents to manage cloud containers, create and edit files, run commands, and deploy projects directly.247MIT- AlicenseAqualityBmaintenanceEnables AI coding assistants to access documentation, live API tools, and workflow prompts for integrating a game/app backend service into Godot, Unity, and Unreal Engine projects, including auth, leaderboards, cloud saves, remote config, localization, news, gift codes, feedback, logs, crash reporting, email, and admin dashboard management.140691 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to manage, configure, and operate game servers hosted on Pterodactyl panels, including power actions, console commands, file operations, plugin installation, and backups. It also supports Cloudflare challenge bypass and automatic request pacing for reliable panel automation.2MIT