List running deployments
edgegap_list_deploymentsList active deployments with optional filters and sorting to find servers left running from earlier sessions and avoid paying for orphaned instances before starting new ones.
Instructions
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"]).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "edgegap_list_deployments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 1-100. Default 50. | |
| filters | No | Omit for all deployments. | |
| order_by | No | e.g. [{field:"created_at",order:"asc"}] for oldest first. | |
| only_agent_deployments | No | Only deployments started through this server: tagged "edgegap-mcp", or "mcp" by versions up to 0.3.3. Cannot be combined with a tags filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| showing | No | ||
| next_step | No | ||
| truncated | No | ||
| deployments | No |