Edgegap

v0.22.1
com.edgegap/mcp Checked 1 hour ago Published 2 hours ago

Deploy and operate multiplayer game servers on Edgegap's global edge network.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

edgegap_context Show this Edgegap MCP server's configuration

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…

ParameterTypeDescription
check_tokenbooleanMake one read-only API call (list one application) to confirm Edgegap accepts the token. Default false.

edgegap_list_apps List Edgegap applications

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.

ParameterTypeDescription
limitintegerResults per page, 1-100. Default 50.
pageinteger

edgegap_create_app Create an Edgegap application

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.

ParameterTypeDescription
name *stringApplication name, 3-64 chars. Usually the game or project name.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
is_activebooleanWhether deployments are allowed. Default true.

edgegap_update_app Turn an application on or off

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.

ParameterTypeDescription
application *stringApplication name.
is_active *booleanfalse blocks new deployments; true allows them again.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_list_app_versions List versions of an application

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 pa…

ParameterTypeDescription
applicationstringApplication name, as returned by edgegap_list_apps. Required; without it the applications are listed.

edgegap_get_app_version Get one application version

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.

ParameterTypeDescription
applicationstringApplication name. Required; without it the applications are listed.
versionstringVersion name, as listed by edgegap_list_app_versions. Required; without it the versions are listed.

edgegap_create_app_version Create an application version

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. En…

ParameterTypeDescription
application *stringExisting application name.
cpu_units *integervCPU units. 1024 = 1 vCPU.
docker_image *stringNamespaced image, e.g. "mystudio/game-server".
docker_repository *stringRegistry host, e.g. "docker.io" or "registry.edgegap.com".
docker_tag *stringImage tag: a build ID, commit SHA or timestamp. "latest" and empty tags are refused.
memory_mb *integerMemory in MB. At most 2x cpu_units.
name *stringVersion identifier, typically a build ID or timestamp.
ports *arrayPorts to expose. At least one is required for players to connect.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
endpoint_storagestringEndpoint Storage name (edgegap_list_endpoint_storage) to export container logs to when deployments end.
envarrayEnvironment variables injected into the container. Values are never echoed back.
max_duration_minutesintegerAuto-stop after this many minutes. Keeps test deployments from running up cost.
registry_tokenstringRegistry password or token.
registry_usernamestringRegistry username, for private images on other registries (Docker Hub, GHCR, ECR...). Leave it out for registry.edgegap.com: Edgegap then pulls with the organization's own registry login (registry_pro…
restart_policystringWhat Edgegap does when the server process exits. "never" for match servers that stop themselves (an exit or crash ends the deployment instead of restarting a half-played match); "on_failure" restarts…
verify_imagebooleanVerify Edgegap can pull the image before accepting the version.

edgegap_update_app_version Update an application version

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…

ParameterTypeDescription
application *stringApplication name.
version *stringVersion name to change.
cpu_unitsintegerNew vCPU units for later deployments, with memory_mb. 1024 = 1 vCPU.
docker_imagestringImage path, e.g. "my-org-abc123/my-game-server".
docker_repositorystringRegistry host, e.g. "registry.edgegap.com".
docker_tagstringNew image tag: a build ID, commit SHA or timestamp.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
endpoint_storagestringEndpoint Storage name (edgegap_list_endpoint_storage) to export container logs to when deployments end.
envarrayREPLACES every env var on the version; [] removes them all. Values are never echoed back.
force_cachebooleanPre-load the image on Edgegap so deployments start faster.
is_activebooleanfalse blocks new deployments of this version.
max_duration_minutesintegerAuto-stop after this many minutes. Capped by EDGEGAP_MAX_DURATION_MINUTES.
memory_mbintegerNew memory in MB for later deployments, with cpu_units. At most 2x cpu_units.
portsarrayREPLACES every port on the version. Include the ports to keep, not only new ones.
registry_tokenstringRegistry password or token. Never echoed back.
registry_usernamestring
restart_policystringWhat Edgegap does when the server process exits. "never" for match servers that stop themselves (an exit or crash ends the deployment instead of restarting a half-played match); "on_failure" restarts…
termination_grace_period_secondsintegerSeconds between SIGTERM and SIGKILL when a deployment stops.
verify_imagebooleanCheck Edgegap can pull the image when saving.

edgegap_list_locations List where servers can run

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.

ParameterTypeDescription
applicationstringWith version: only locations with capacity for it now.
limitintegerResults per page, 1-200. Default 100.
pageinteger
versionstring

edgegap_list_ping_beacons List ping beacons

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.

ParameterTypeDescription
limitintegerResults per page, 1-200. Default 100.
pageinteger

edgegap_deploy Deploy a game server

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…

ParameterTypeDescription
application *stringApplication name.
users *objectWhere the players are. Exactly one of these two is required.
version *stringVersion name within the application.
allow_long_runningbooleanDeploy even though the version's max_duration is unlimited or above EDGEGAP_MAX_DURATION_MINUTES. Only after the developer agreed: the server bills until it is stopped or that limit.
cpu_unitsintegerOverride the version's CPU for this deployment only, with memory_mb. 1024 = 1 vCPU.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
envarrayEnvironment variables for this deployment only. Values are never echoed back.
memory_mbintegerOverride the version's memory for this deployment only, with cpu_units. At most 2x cpu_units.
private_host_idsarrayPrivate fleet host IDs to try first, in order (from edgegap_list_fleet_hosts); Edgegap overflows to its cloud when they are full. Omit for a normal cloud deployment.
require_cached_locationsbooleanOnly place it where the image is already cached: starts faster, fewer places to choose from. Needs force_cache on the version (edgegap_update_app_version); without it the API refuses the deploy.
tagsarrayExtra tags for filtering later, e.g. ["agent-test"]. "edgegap-mcp" is always added.
webhook_on_errorstringhttps URL Edgegap POSTs to when the deployment fails. Sent once, not retried, not signed.
webhook_on_readystringhttps URL Edgegap POSTs to when the container started (the engine may still be loading). Sent once, not retried, not signed.
webhook_on_terminatedstringhttps URL Edgegap POSTs to when the deployment ends. Sent once, not retried, not signed.

edgegap_get_deployment Get deployment status

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.

ParameterTypeDescription
request_id *stringThe request_id returned by edgegap_deploy.

edgegap_wait_for_deployment Wait for a deployment to become ready

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.

ParameterTypeDescription
request_id *stringThe request_id returned by edgegap_deploy.
timeout_secondsintegerHow long to wait before giving up, 5-600. Default 180.

edgegap_list_deployments List running deployments

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…

ParameterTypeDescription
filtersarrayOmit for all deployments.
limitinteger1-100. Default 50.
only_agent_deploymentsbooleanOnly deployments started through this server: tagged "edgegap-mcp", or "mcp" by versions up to 0.3.3. Cannot be combined with a tags filter.
order_byarraye.g. [{field:"created_at",order:"asc"}] for oldest first.

edgegap_stop_deployment Stop a deployment

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.

ParameterTypeDescription
request_id *stringThe exact request_id of the one deployment to stop, e.g. "61b1be8f54d9".
confirmbooleanSet true only after the developer approved this exact call. Without it nothing is sent: the result previews what would be stopped or deleted (status "confirmation_required").
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_get_deployment_logs Get container logs for a deployment

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.

ParameterTypeDescription
request_id *stringThe request_id of the deployment.
max_charactersintegerTruncate logs to this length (500-50000), keeping the tail. Default 8000.

edgegap_get_deployment_metrics Get CPU, memory and network use of a deployment

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.

ParameterTypeDescription
request_id *stringThe request_id of the deployment.
end_timestringISO 8601. Default: now, or when it stopped.
start_timestringISO 8601. Default: when the deployment started.
stepstringAveraging step, e.g. "30s" or "5m". Default: the API's.

edgegap_fleet_health Summarise the health of running deployments

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,…

ParameterTypeDescription
applicationstringOnly this application. Default: all.
check_crashesbooleanAlso read crash data (restart count, exit code) per deployment. Default false.
max_deploymentsintegerHow many to inspect, 1-100. Default 50.
versionstringOnly this version (needs application).

edgegap_search_deployment_logs Search the logs of many deployments at once

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.

ParameterTypeDescription
applicationstringOnly this application. Default: all.
max_deploymentsintegerHow many to search, 1-100. Default 30.
max_groupsintegerMost error groups to return, 1-50. Default 15.
patternstringText to find, case-insensitive. Default: common error and crash words.
regexbooleanTreat pattern as a regular expression. Default false.
started_afterstringOnly deployments started after this ISO 8601 time, e.g. "2026-11-12T00:00:00Z" for the last day.
versionstringOnly this version (needs application).

edgegap_compare_versions Compare two versions of an application

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.

ParameterTypeDescription
application *stringApplication name.
version_a *stringThe baseline version, e.g. the one in production.
version_b *stringThe version to compare against it, e.g. the new build.
max_deployments_per_versioninteger1-20. Default 5.

edgegap_generate_dockerfile Generate a game server Dockerfile

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 m…

ParameterTypeDescription
engine *stringGame engine of the server build.
base_imagestringDefault "ubuntu:22.04".
build_pathstringServer build folder, relative to where docker build runs. Defaults: unity "Builds/EdgegapServer", unreal "." (run from inside the packaged LinuxServer folder), godot "build".
executablestringFile name of the server binary or start script inside build_path. Defaults: unity "ServerBuild", unreal "StartServer.sh", godot "server.x86_64". Required for "other".
launch_argsarrayExtra server arguments, one per entry, e.g. ["-log", "-port=7777"].
netcodestringNetworking transport, to pick the protocol. Known: mirror-kcp, kcp, mirror-telepathy, telepathy, mirror-simpleweb, simpleweb, websocket, fishnet-tugboat, tugboat, netcode-for-gameobjects, ngo, unity-t…
portsarrayPorts the server listens on. Default: 7777, with the protocol the netcode uses (UDP if unknown).

edgegap_validate_server_config Validate a game server Dockerfile and port config

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,…

ParameterTypeDescription
cpu_unitsinteger
docker_imagestring
docker_repositorystring
docker_tagstring
dockerfilestringFull text of the Dockerfile.
enginestringGame engine. Detected from the Dockerfile when omitted.
memory_mbinteger
netcodestringNetworking transport, to check the port protocol. Known: mirror-kcp, kcp, mirror-telepathy, telepathy, mirror-simpleweb, simpleweb, websocket, fishnet-tugboat, tugboat, netcode-for-gameobjects, ngo, u…
portsarrayPorts you plan to pass to edgegap_create_app_version.

edgegap_get_registry_credentials Get Edgegap container registry push credentials

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…

ParameterTypeDescription
image_namestringImage name without project or tag, e.g. "my-game-server". Used to build the commands.
tagstringUnique build tag for the commands, e.g. a build ID. Never "latest".

edgegap_list_registry_tags List image tags in the Edgegap registry

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.

ParameterTypeDescription
image_name *stringThe image name only, without the project, registry host or tag, e.g. "my-game-server". The API reads the project from your token; "<project>/my-game-server" is not found.
limitinteger1-100. Default 20.
pageinteger

edgegap_delete_registry_tag Delete one image tag from the Edgegap registry

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.

ParameterTypeDescription
image_name *stringThe image name only, e.g. "my-game-server", as for edgegap_list_registry_tags.
tag *stringThe exact tag to delete, e.g. "build-41".
confirmbooleanSet true only after the developer approved this exact call. Without it nothing is sent: the result previews what would be stopped or deleted (status "confirmation_required").
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_tag_deployment Add or remove tags on a running deployment

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.

ParameterTypeDescription
request_id *stringThe exact request_id of the deployment.
addarrayTags to add, at most 40 characters each.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
removearrayTags to remove.

edgegap_report_deployment Report a deployment to Edgegap

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.

ParameterTypeDescription
reason *stringWhy it is reported, 1-255 characters.
request_id *stringThe exact request_id of the deployment.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
metadataobjectExtra key/value details, e.g. {"match_id": "m-42"}.

edgegap_delete_app_version Delete one application version

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.

ParameterTypeDescription
application *stringApplication name.
version *stringThe exact version name to delete.
confirmbooleanSet true only after the developer approved this exact call. Without it nothing is sent: the result previews what would be stopped or deleted (status "confirmation_required").
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_delete_app Delete an application and all its versions

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.

ParameterTypeDescription
application *stringThe exact application name to delete.
confirmbooleanSet true only after the developer approved this exact call. Without it nothing is sent: the result previews what would be stopped or deleted (status "confirmation_required").
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
max_versionsintegerDelete only if it has at most this many versions. Default 0.

edgegap_list_fleet_hosts List the hosts of a private fleet

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.

ParameterTypeDescription
fleet_name *stringThe private fleet name, as shown in the dashboard.

edgegap_list_endpoint_storage List Endpoint Storage and pull profiles

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.

edgegap_create_endpoint_storage Create an Endpoint Storage (S3 bucket for logs)

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.

ParameterTypeDescription
access_key_id *stringAccess key ID for the bucket.
bucket *stringBucket name.
endpoint *stringhttps URL of the S3 endpoint, without the bucket, e.g. "https://s3.us-east-1.amazonaws.com".
name *stringName for this storage, e.g. "game-logs".
secret_access_key *stringSecret access key for the bucket. Never echoed back.
container_log_versionstringv1 (default) writes one file per deployment; v2 streams chunks while it runs.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
output_formatstringLog file format. Default TEXT.

edgegap_create_pull_profile Create a pull profile (copy bucket files into containers)

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.

ParameterTypeDescription
destination *stringAbsolute path in the container, e.g. "/data/maps".
endpoint_storage *stringEndpoint Storage name, from edgegap_list_endpoint_storage.
name *stringName for the profile, e.g. "maps".
source *stringPath in the bucket, starting with "/" and without a trailing "/", e.g. "/maps" or "/config/server.json". Letters, digits, "_", "-", "+" and "." only.
source_type *stringWhether source is a file or a folder.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_delete_pull_profile Delete a pull profile

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.

ParameterTypeDescription
endpoint_storage *stringEndpoint Storage name, from edgegap_list_endpoint_storage.
pull_profile *stringThe exact pull profile name to delete.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_delete_endpoint_storage Delete an Endpoint Storage

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.

ParameterTypeDescription
endpoint_storage *stringThe exact Endpoint Storage name to delete.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
max_pull_profilesintegerDelete only if it has at most this many pull profiles, which go with it. Default 0.

edgegap_create_relay_session Create a relay session (host-client games only)

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. N…

ParameterTypeDescription
user_ips *arrayPublic IP of each player, host first. Add late joiners with edgegap_authorize_relay_user.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
timeout_secondsintegerDefault 30.
wait_until_readybooleanPoll until the relay is assigned. Default true.
webhook_urlstringCalled when the session is ready.

edgegap_get_relay_session Get a relay session

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.

ParameterTypeDescription
session_id *stringReturned by edgegap_create_relay_session.

edgegap_list_relay_sessions List relay sessions

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.

edgegap_authorize_relay_user Add a player to a relay session

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.

ParameterTypeDescription
session_id *string
user_ip *stringPublic IP of the joining player.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_revoke_relay_user Remove a player from a relay session

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.

ParameterTypeDescription
session_id *stringThe relay session_id, e.g. "0724828881e2-S".
user_authorization_token *integerThe player's authorization token, not the session's.
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_delete_relay_session Delete a relay session

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.

ParameterTypeDescription
session_id *stringThe exact session_id of the one session to delete, e.g. "0724828881e2-S".
dry_runbooleanShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.

edgegap_build_matchmaker_config Build a basic matchmaker configuration

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.

ParameterTypeDescription
application *stringApplication the matchmaker deploys.
max_team_size *integer
min_team_size *integer
profile_name *stringProfile clients will queue into, e.g. "casual-2v2".
team_count *integerTeams per match. 1 for free-for-all or co-op.
version *stringVersion the matchmaker deploys.
allowed_cors_originsarrayOrigins of web pages allowed to call the matchmaker, e.g. ["https://mygame.example.com", "http://localhost:8080"]. Required when game clients run in a browser (WebGL): browsers block matchmaker calls…
expansionsarrayRule relaxations after a player has waited this long, e.g. [{after_seconds: 20, min_team_size: 1}]. Keep each below ticket_expiration. Not needed for partial matches: min_team_size below max_team_size…
inspectbooleanExpose the inspection API for debugging. Default true; turn off for production.
latency_difference_msintegerMax ping spread between matched players. Default 100.
max_latency_msintegerAdds a latency rule: drop players above this ping to the chosen region. Needs beacon pings from the client.
ticket_expirationstringDefault "30s", so a developer testing alone is matched or told to retry within 30 s instead of waiting minutes. Raise it only for production queues.
verify_versionbooleanLook up the application version first. Default true.

edgegap_list_skills List the Edgegap agent skills

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).

edgegap_get_skill Load an Edgegap agent skill

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.

ParameterTypeDescription
filestringA file inside the skill, e.g. "references/deploy.md" or "assets/docker/Dockerfile". Default SKILL.md.
skillstringSkill name, from edgegap_list_skills: edgegap, edgegap-browser-wasm, edgegap-chat-canvas, edgegap-cocos, edgegap-colyseus, edgegap-containerize, edgegap-deployments-api, edgegap-eos-voice, edgegap-fal…

edgegap_update_skills Check and update the installed Edgegap skills

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 op…

ParameterTypeDescription
applybooleanRun the updates for outdated installs. Omit or false to only check.
installed_versionsobjectSkill name → version of skills you have loaded from somewhere this server cannot see, e.g. {"edgegap-unity": "0.1.8"}. The version is metadata.version in the SKILL.md frontmatter.