Gameye

v0.5.3
io.github.Gameye/gameye-mcp Checked 4 hours ago Published 22 days ago

Launch, inspect and stop multiplayer game server sessions on Gameye from any MCP client.

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

gameye_context Server context

Works without a Gameye account or token. Show which Gameye environment and host this server targets, the server version and the guardrail defaults. The environment is fixed when the server starts (GAMEYE_ENV / GAMEYE_API_URL) and cannot be changed by a tool call.

gameye_launch_session Launch session

Start a containerized game server session on the Gameye platform. Returns the session ID, host and ports. Starts a billable session in the environment shown in the result prefix. When no ttl is given, a 30m TTL is applied and reported. The label launched-by=gameye-mcp is always sent and replaces any launched-by value you pass; if a warm pool serves the image and region, the server ignores request labels (and env and args), so warm-pool sessions do not carry it. The launch is refused, with nothing sent, if any env value, arg or label contains this server's Gameye API token. It is also refused i…

ParameterTypeDescription
image *stringDocker image name to run (e.g. 'csgo', 'tf2')
location *stringRegion/datacenter to host the session (e.g. 'europe', 'us-east')
argsarrayCommand-line arguments passed to the container entrypoint
dryRunbooleanReturn the exact request that would be sent, with the API token masked, and send nothing
envobjectEnvironment variables passed to the container
idstringCustom session ID; auto-generated if omitted. IDs are unique across all of Gameye, so derive it from a UUID. A 409 whose describe returns 404 means another customer owns the ID: retry with a fresh one…
labelsobjectArbitrary key-value labels for filtering/grouping
restartbooleanAutomatically restart the container on exit
ttlstringSession time-to-live, e.g. '1h', '30m'. Session auto-stops after this duration. Defaults to 30m; at most 4h
versionstringDocker image tag/version to use

gameye_list_sessions List sessions

List game server sessions with host, ports and connection string. By default only running sessions are returned; pass all=true to include sessions in every status. filter and filterNot match user labels only (the labels given at launch), not system fields such as image or location — use the dedicated parameters for those. Values of the session's environment are never shown. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
allbooleanInclude sessions in every status (default: running sessions only)
filterobjectOnly sessions whose user labels match every key=value pair
filterNotobjectExclude sessions whose user labels match these key=value pairs
hoststringFilter by host IP
imagestringFilter by image name
locationstringFilter by location/region
playerCountGtintegerOnly sessions with more than N players
playerCountLtintegerOnly sessions with fewer than N players
tagstringFilter by image tag/version

gameye_describe_session Describe session

Get details of a Gameye session: status, players, host, ports, connection string, labels and creation time. Values of the session's environment are never shown. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
id *stringSession ID to describe

gameye_stop_session Stop session

Terminate one Gameye session by its exact ID (sends SIGTERM to the container). Any players connected to it are disconnected. The session transitions to 'draining' then 'shuttingdown' then 'exited'. There is no bulk or implicit stop: an empty, wildcard or list ID is refused. Pass dryRun=true to preview the request. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
id *stringExact ID of the one session to stop
dryRunbooleanReturn the exact request that would be sent, with the API token masked, and send nothing

gameye_player_join Players join session

Register one or more players as joined in a Gameye session. Returns the session's player count and IDs as reported by the server. Pass dryRun=true to preview the request. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
players *arrayOne or more player IDs
session *stringSession ID
dryRunbooleanReturn the exact request that would be sent, with the API token masked, and send nothing

gameye_player_leave Players leave session

Remove one or more players from a Gameye session. Returns the session's player count and IDs as reported by the server. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
players *arrayOne or more player IDs
session *stringSession ID
dryRunbooleanReturn the exact request that would be sent, with the API token masked, and send nothing

gameye_get_locations Get available locations

Get the list of available regions/datacenters that can host a given game image, along with ping IPs for latency testing. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
image *stringDocker image name to check availability for (e.g. 'csgo', 'nginx')

gameye_list_regions List regions

List the region names available to your organization in this environment. Use a region name when creating or editing an application. To see which regions can host a specific image right now, use gameye_get_locations. Needs the region:read scope. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

gameye_check_tag Check image tag

Verify that a specific Docker image tag has been deployed to a given region in the Gameye fleet. Use this before launching a session to confirm the version is available. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
image *stringDocker image name (e.g. 'csgo', 'tf2')
region *stringRegion/location to check (e.g. 'europe', 'us-east')
version *stringDocker image tag/version to verify (e.g. '1.2.3', 'latest')

gameye_list_applications List applications

List your organization's applications (images Gameye can run) with registry, repository, resources, regions and ports. Needs the application:read scope. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

gameye_list_registry_tags List registry tags

List the image tags available for an application in its upstream registry (Docker Hub, ECR or GHCR), one page at a time. A tag listed here is not necessarily enabled in Gameye; use gameye_enable_tag to enable one and gameye_check_tag to confirm it reached a region. Needs the application:read scope. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
name *stringApplication name
pageintegerPage number, 1-1000 (server default 1)
pageSizeintegerTags per page, 1-1000 (server default 20)

gameye_enable_tag Enable image tag

Enable an image tag for an application so Gameye preloads it across its infrastructure; re-enabling an existing tag pulls it forward. Use this when a registry webhook did not register the tag. The server checks the regions:read scope. Pass dryRun=true to preview the request. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
name *stringApplication name
tag *stringImage tag to enable
dryRunbooleanReturn the exact request that would be sent, with the API token masked, and send nothing

gameye_create_application Create application

Admin tool. Create a new application (an image Gameye can run). Set tls on a port here if you need it: it can only be set at creation, because gameye_edit_application drops it. Needs the application:write scope. Pass dryRun=true to preview the request. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
limits *object
name *stringApplication name; also the image name used when launching sessions
networkMode *stringContainer network mode
nodePool *stringNode pool name
ports *arrayContainer ports to expose
regions *arrayRegion names (see gameye_list_regions)
registry *stringName of a Gameye image registry, e.g. 'dockerhub' or 'ghcr'. The server looks the name up and returns 404 if it is unknown; gameye_list_applications shows the names your applications use
repository *stringImage repository in that registry, without a tag
reservation *object
tagKeep *integerHow many image tags Gameye keeps for this application
dryRunbooleanReturn the exact request that would be sent, with the API token masked, and send nothing

gameye_edit_application Edit application

Admin tool. Change an existing application with PUT /application/{name}. Fields you omit stay unchanged; regions and ports, when given, replace the whole list. Warning: the server ignores tls on ports sent through edit and stores tls=false, so sending ports here turns off TLS on every port. Omit ports to keep existing TLS ports; set TLS ports with gameye_create_application. Needs the application:write scope. Pass dryRun=true to preview the request. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
name *stringName of the application to edit
dryRunbooleanReturn the exact request that would be sent, with the API token masked, and send nothing
limitsobject
networkModestringContainer network mode
nodePoolstringNode pool name
portsarrayContainer ports; replaces the whole list and stores tls=false on every port, whatever you send
regionsarrayRegion names; replaces the whole list
registrystringName of a Gameye image registry, e.g. 'dockerhub' or 'ghcr'. The server looks the name up and returns 404 if it is unknown; gameye_list_applications shows the names your applications use
repositorystringImage repository in that registry, without a tag
reservationobject
tagKeepintegerHow many image tags Gameye keeps for this application

gameye_get_logs Get session logs

Fetch a snapshot of stdout/stderr logs from a Gameye session (the last 50,000 characters). Live streaming is not available through MCP; call again to see newer output. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
id *stringSession ID to fetch logs for
followbooleanIgnored: MCP is request/response, so a snapshot is always fetched. Call again to see newer output.

gameye_get_artifacts Download session artifacts

Download a file or directory (crash dumps, replays, logs) from a session's container. The server returns an uncompressed tar archive, saved to a new private temp directory; the local path is returned. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
path *stringAbsolute path inside the container to export, e.g. /app/logs or /tmp/crash.dmp
session *stringSession ID to download artifacts from

gameye_create_token Create API token

Admin tool. Create a Gameye API token and write it to a file; the token value is never returned. outputPath must be an absolute path outside any git working tree; an existing file is refused unless overwrite=true, and symlinks are always refused. The file is created with 0600 permissions. expires_after defaults to 24h. Requested scopes must be a subset of this server's token scopes (webhook:github is the one exception). Needs the token:write scope. Pass dryRun=true to preview the request. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.

ParameterTypeDescription
name *stringToken name
outputPath *stringAbsolute path of the file to write the token to
scopes *arrayScopes for the new token, e.g. ['session:read']
dryRunbooleanCheck outputPath and return the request that would be sent; create nothing
expires_afterstringLifetime such as '1h' or '2h30m' (units m and h). Defaults to 24h
overwritebooleanReplace an existing regular file at outputPath

gameye_update_skills Check and update the Gameye skills

Works without a Gameye account or token. Compare the installed Gameye agent skills with the latest pack on GitHub, and update them. Finds installs made with the skills CLI (user-wide or in this project) and the Claude Code plugin gameye@gameye. Without apply it only checks and changes nothing. With apply=true it runs each outdated install's own updater (npx skills update for the Gameye skills only, or claude plugin update) when the operator set GAMEYE_ENABLE_SKILLS_UPDATE=1; otherwise it lists the commands for the user to run. Ask the user before applying. Also reports the skills pack bundled…

ParameterTypeDescription
applybooleanRun the updates for outdated installs. Omit or false to only check.
installedVersionstringThe `Pack version:` from the gameye skill you have loaded, used when no install is found on disk

gameye_list_skills List the bundled Gameye skills

Works without a Gameye account or token. List the Gameye agent skills bundled with this server: each skill's name, description, version and files, and the bundled pack version. Works offline. Read one with gameye_get_skill. If an installed copy of the Gameye skills is newer, it wins.

gameye_get_skill Read a bundled Gameye skill

Works without a Gameye account or token. Read a Gameye agent skill bundled with this server: its SKILL.md, or one of its reference files. Works offline and serves only the bundled copy (list names and files with gameye_list_skills). If an installed copy of the Gameye skills is newer, it wins.

ParameterTypeDescription
name *stringSkill name, e.g. gameye or gameye-containerize
filestringFile inside the skill, e.g. references/routing.md. Defaults to SKILL.md

gameye_get_template Get an engine's Dockerfile or shutdown-hook template

Works without a Gameye account or token. Get the Dockerfile or the shutdown-hook template for an Unreal, Unity, Godot or web game server, word for word as published in the bundled Gameye engine skill, with the skill and section it came from. Works offline. Read the rest of the skill with gameye_get_skill. If an installed copy of the Gameye skills is newer, it wins.

ParameterTypeDescription
engine *stringGame server engine: unreal, unity, godot or web
kind *stringTemplate: dockerfile or shutdown-hook

gameye_check_dockerfile Check Dockerfile

Works without a Gameye account or token. Check game server Dockerfile text against the gameye-containerize container contract, offline: linux/amd64 base, exposed ports and protocols, exec-form launch without npm/yarn start, no loopback bind, non-root user, and no API token or credential in ENV/ARG. Returns findings with severity, rule code, line, message and fix, plus what the check cannot know. Pass the Dockerfile text itself; this tool reads no files and sends nothing.

ParameterTypeDescription
dockerfile *stringThe full Dockerfile text (not a path)
portsarrayOptional: the ports and protocols the server binds, to check against EXPOSE