edgescaleai-cube-mcp
v0.3.68MCP server for EdgescaleAI Cube operations
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_environments
List Apollo environments with their IDs and RIDs. Optionally filter by name substring.
| Parameter | Type | Description |
|---|---|---|
search | string | Optional name substring to filter by (case-insensitive). Example: "pep". |
install_entity
Install a Helm chart entity on an Apollo environment. Refused when an entity of the same name is managed by a module, unless force=true.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | Helm chart name (e.g. mosquitto). |
environment * | string | Target environment name or RID. |
product_id * | string | Product maven coordinate "groupId:artifactId". |
config_overrides | string | Optional JSON config overrides. |
force | boolean | BREAK-GLASS ONLY. Default false. Required to write config on an entity managed by a module (entity_health shows 'Managed by module'); without it the call is refused and nothing is written. Change a mo… |
k8s_namespace | string | Kubernetes namespace. Defaults to default. |
version | string | Version for the config override block (e.g. '4.11.3'). If omitted, uses '0.0.0' (new installs have no reported version yet). |
entity_health
Get health and activity status of entities in an Apollo environment. For every entity whose health is not HEALTHY (and every entity matched by entity_id), also lists the health checks behind that status: failing checks with their message, and containers that are not live or ready. Those messages are written by the app itself; relay them as the app's report, not as a diagnosis.
| Parameter | Type | Description |
|---|---|---|
environment * | string | Environment name or RID. |
entity_id | string | Optional entity display name to filter by. Health checks are then listed for every match, healthy or not. |
plan_details
Get detailed plan information for an entity, including tasks, events, and error logs.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | Entity display name (substring match). |
environment * | string | Environment name or RID. |
plan_index | integer | Which plan to show (0 = most recent). Defaults to 0. |
cancel_active_plan
Cancel (interrupt) the currently active plan for an entity. Finds the entity's running plan, identifies the agent executing it, and interrupts the plan. The agent re-registers automatically on next heartbeat. Use plan_details first to confirm there is an active plan before cancelling.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | Entity display name (substring match). |
environment * | string | Environment name or RID. |
acr_get_token
Get an OAuth2 access token from Apollo Container Registry.
build_image_prepare
Begin a remote (Docker-daemonless) image build. Returns a job_id, a presigned S3 upload_url to PUT the build-context tarball to, and the s3_key. Follow with build_image_start, then poll build_image_status.
| Parameter | Type | Description |
|---|---|---|
image_name * | string | Bare image name (no registry/repo prefix, no tag), e.g. 'my-app'. |
tag * | string | Image tag, e.g. the app version '1.2.3'. |
build_image_start
Launch the remote kaniko build for a prepared job (after the context tarball has been uploaded to the presigned URL). The ACR push token is minted server-side. Returns a task_arn; poll build_image_status until the state is SUCCEEDED or FAILED.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | job_id from build_image_prepare. |
build_args | object | Optional build-time args as {name: value}. |
dockerfile | string | Dockerfile path relative to the context root. Defaults to 'Dockerfile'. |
platform | string | Target platform. Defaults to 'linux/amd64' (the cube architecture). |
target | string | Optional build stage to target in a multi-stage Dockerfile. |
build_image_status
Poll a remote build job. Returns state (PENDING|RUNNING|SUCCEEDED|FAILED); on SUCCEEDED includes image_uri, on FAILED includes stopped_reason, and on terminal states includes a logs_tail.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | job_id from build_image_prepare. |
uninstall_entity
Uninstall an entity from an Apollo environment. Removes the specified entity (Helm chart) via a change request. Use entity_health to find entity names and plan_details to monitor uninstall progress.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | Entity display name or entity name (substring match, e.g. "mosquitto"). |
environment * | string | Environment name or RID (e.g. "pep-onlogicmc610-4"). |
update_entity_config
Update configuration overrides for an entity in an Apollo environment. REPLACES the entity's whole config overrides (Helm value overrides) with the object given. Use entity_health to see the current overrides and whether the entity is managed by a module before updating. A module-managed entity is refused: change it with update_module_variables on its module. force=true overrides that for break-glass situations only, because the entity-level config then takes precedence over the module and later module changes silently stop applying.
| Parameter | Type | Description |
|---|---|---|
config_overrides * | string | JSON object of config overrides (e.g. '{"replicaCount": 2}'). Replaces the existing overrides entirely, so include every value to keep. Values entity_health shows as <hidden, N chars> must be supplied… |
entity_name * | string | Entity display name or entity name (substring match). |
environment * | string | Environment name or RID (e.g. "pep-onlogicmc610-4"). |
force | boolean | BREAK-GLASS ONLY. Default false. Required to write config on an entity managed by a module (entity_health shows 'Managed by module'); without it the call is refused and nothing is written. Change a mo… |
version | string | Version for the config override block (e.g. '4.11.3'). If omitted, uses the entity's current reported version. |
enforce_entity_config
Force config re-enforcement on an entity. Re-submits current config overrides, triggering Apollo to create a new enforce config plan. Useful when config has drifted or a previous enforcement failed.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | Entity display name or entity name (substring match). |
environment * | string | Environment name or RID (e.g. "pep-onlogicmc610-4"). |
list_modules
List modules installed on an Apollo environment. Shows display names, maven coordinates, state, variables, and RIDs. Use this before updating variables or unlinking a module. NOTE: values of secret-looking variables (authToken, password, secret, key, ...) are shown as '<hidden, N chars>' and CANNOT be read back — never copy that placeholder into a write; it is refused. For a non-admin profile this tool does not show the Teleport multi-app module's `apps` list either: use list_exposed for the apps on a cube.
| Parameter | Type | Description |
|---|---|---|
environment * | string | Environment name or RID (e.g. "pep-onlogicmc610-4"). |
search | string | Optional substring to filter modules by name or coordinate (case-insensitive). |
install_module
Install a module on an Apollo environment. Modules are collections of related entities managed together. If already installed, use update_module_variables to change variables. The Teleport Multi-App Service module (the one behind exposed apps) is managed only through expose, unexpose and list_exposed for non-admin profiles, and this tool refuses it.
| Parameter | Type | Description |
|---|---|---|
environment * | string | Target environment name or RID (e.g. "pep-onlogicmc610-4"). |
maven_coordinate * | string | Module maven coordinate (e.g. "module:builtin-control-plane-minimal:0.0.40"). |
display_name | string | Optional display name for the module installation. |
ignore_secret_requirements | boolean | If true, allows installation even if required secrets are not set. |
variables | string | Optional JSON object of module variables as {"varName": "value", ...}. |
uninstall_module
Unlink a module from an Apollo environment. This does NOT remove the apps/pods the module installed — they keep running as standalone deployments. The tool returns the list of those apps/pods plus cleanup guidance: ask the user to confirm before removing any, refer to them as apps/pods (not "entities") when talking to the user, and remove confirmed ones with the uninstall_entity tool. The Teleport Multi-App Service module (the one behind exposed apps) is managed only through expose, unexpose and list_exposed for non-admin profiles, and this tool refuses it.
| Parameter | Type | Description |
|---|---|---|
environment * | string | Environment name or RID (e.g. "pep-onlogicmc610-4"). |
module_name * | string | Module display name or maven coordinate substring (e.g. "control-plane"). |
update_module_variables
Update variables on an installed module. MERGE semantics: the variables you pass are merged onto the installation's existing variables — only the keys you include change; every other variable is left at its current value. Pass every variable you intend to change in a single call (an omitted variable is preserved, not reset; this tool cannot unset a variable). Apollo's underlying update is a full-installation replace, so the tool reads the current variables and resends the complete set with your changes applied. The change is submitted as a change request that may require approval before it t…
| Parameter | Type | Description |
|---|---|---|
environment * | string | Environment name or RID (e.g. "pep-onlogicmc610-4"). |
module_name * | string | Module display name or maven coordinate substring. |
variables * | string | JSON object of variables to update as {"varName": "newValue", ...}. |
expose
Publish a running in-cluster service at a public URL, scoped by company label. Mints a fresh short-lived App Service join token from the cube-mcp bot identity (no human Teleport account needed) and adds/updates this app on the environment's shared Teleport multi-app-service module (one shared module per environment — re-running expose for the same app updates it in place, it never duplicates). Returns the app's URL, https://<app_name>-<cube>.<cube-mcp apex>: open it in a browser and sign in with the same login as cube-mcp. Hand out THAT url — never Teleport's own address, which needs a Tel…
| Parameter | Type | Description |
|---|---|---|
app_name * | string | Base app name (e.g. "trino"). Auto-suffixed with the environment name for uniqueness across cubes ("trino-<env>"); that qualified name becomes the leftmost label of the public URL, and is what you pas… |
app_uri * | string | Internal service URI, e.g. "http://svc.namespace.svc.cluster.local:8080". Use the REAL service + targetPort — a wrong port surfaces as Teleport "context deadline exceeded". |
environment * | string | Apollo environment / cube to expose the app on (e.g. "pep-onlogicmc610-4"). |
company | string | The app company to expose this app TO — who can see it. Omit for the profile's home company. If the user's profile holds more than one app company, ASK the user which company should see this app bef… |
labels | string | JSON OBJECT of extra Teleport labels for this app, e.g. '{"app-type": "console"}'. Merged under the resolved company, which this cannot set. Omit to leave existing extra labels untouched. Mainly for m… |
public_addr | string | Rarely needed. Overrides the app's TELEPORT public address — a Teleport-registration detail, NOT the URL this tool publishes (that is always the browser-proxy host, derived from app_name). Keep it c… |
rewrite_headers | string | JSON ARRAY of headers the app service rewrites on requests it forwards to your service, each as "Name: value" — e.g. '["Host: app.internal"]'. Two uses: (1) selecting an nginx-ingress vhost — the… |
unexpose
Take a company off a previously-exposed app (or off every app it is on, with all=true) on the environment's shared Teleport multi-app-service module. An app stays exposed while any other company remains on it and is deleted once none does. Mints a fresh join token and updates the module in place; once no apps remain, the module is automatically unlinked and its underlying entity uninstalled — no separate confirmation step, since calling this tool already is the confirmation. Use the same app_name/public_addr you passed to expose. An app name that doesn't exist and one you don't have permissi…
| Parameter | Type | Description |
|---|---|---|
environment * | string | Apollo environment / cube the app was exposed on (e.g. "pep-onlogicmc610-4"). |
all | boolean | Take the company off every exposed app it is on in one call, tearing the module down once nothing remains, instead of minting a fresh token per app. Mutually exclusive with app_name/public_addr. |
app_name | string | Base app name as originally passed to expose (auto-qualified the same way; pass the same value, NOT the qualified name from list_exposed). Mutually exclusive with all. |
company | string | The app company to remove. Omit to remove the profile's home company. Naming any other company takes the app away from that company's users: only do it when the user explicitly asks for that company t… |
public_addr | string | Must match the public_addr originally passed to expose, if any (disables auto-qualification the same way). |
list_exposed
List apps currently exposed on an environment's shared Teleport multi-app-service module (the apps expose/unexpose manage) — name, who it is visible to, and for apps you can reach, internal URI and public URL. The URL per app is the one to hand out: browser-reachable with the same login as cube-mcp. Use this before expose/unexpose to see what's already there. Apps you cannot reach are either omitted or listed by name and audience only, depending on the stack.
| Parameter | Type | Description |
|---|---|---|
environment * | string | Apollo environment / cube to list exposed apps on (e.g. "pep-onlogicmc610-4"). |
create_secret
Create a secret for an entity in an Apollo environment. Provide secret_value for a single value (stored as a key matching the secret name), or secret_keys as a JSON object for multiple key-value pairs.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | Entity display name or entity name (substring match). |
environment * | string | Environment name or RID (e.g. "pep-onlogicmc610-4"). |
secret_name * | string | Name for the secret (e.g. "mqtt-credentials"). |
description | string | Optional description for the secret. |
secret_keys | string | JSON object of key-value pairs (e.g. '{"username": "admin", "password": "secret"}'). |
secret_value | string | Value for a single-value secret (stored as key=secret_name). Mutually exclusive with secret_keys. |
update_secret
Update an existing secret for an entity. Provide secret_key and secret_key_value to set a specific key, or secret_value to set the key matching the secret name.
| Parameter | Type | Description |
|---|---|---|
entity_name * | string | Entity display name or entity name (substring match). |
environment * | string | Environment name or RID (e.g. "pep-onlogicmc610-4"). |
secret_name * | string | Name of the existing secret to update. |
description | string | New description for the secret. |
secret_key | string | Key name to set/update in the secret. |
secret_key_value | string | Value for the key specified by secret_key. |
secret_value | string | New value (sets the key matching secret_name). |
list_products
List available products in Apollo. Products represent deployable software (Helm charts, assets). Use this to discover product IDs for install_entity.
| Parameter | Type | Description |
|---|---|---|
page_size | integer | Number of products to return (default 50, max 200). |
search | string | Optional substring to filter products by name or ID (case-insensitive). |
compare_product_versions
Compare what version of a product is installed across multiple environments. Shows installed version, rollout status, health, and release channel.
| Parameter | Type | Description |
|---|---|---|
environments * | string | Comma-separated environment names (e.g. "pep-onlogicmc610-4, joel-cube"). |
product_id * | string | Product maven coordinate "groupId:artifactId" (e.g. "com.edgescaleai-cube:esai-platform-z"). |
list_release_channels
List available Apollo release channels. By default only shows ordinary (non-environment-specific) channels.
| Parameter | Type | Description |
|---|---|---|
include_env_specific | boolean | If true, also show environment-specific channels. |
search | string | Optional substring to filter channels by name (case-insensitive). |
get_product_releases
Get release history for a product, showing versions and their release channels.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | Product maven coordinate "groupId:artifactId" (e.g. "com.edgescaleai-cube:esai-platform-z"). |
page_size | integer | Number of releases to return (default 10, max 50). |
cube_status
Get the status of a Cube node (server-side kubectl via tbot). Works for physical and virtual cubes; a virtual cube is marked as such.
| Parameter | Type | Description |
|---|---|---|
cluster * | string | Cube cluster name (from cube_list). An Apollo namespace or cube serial of a cube you can see also works. |
cube_list
List available Cube clusters accessible via server-side tbot.
kubectl_exec
Execute a kubectl command server-side. Destructive commands (delete, apply, create, etc.) are blocked.
| Parameter | Type | Description |
|---|---|---|
cluster * | string | Target Cube cluster name (from cube_list). |
command * | string | kubectl command without the "kubectl" prefix. Example: "get pods -n default". |
app_list
List exposed apps across the Teleport tenant (server-side via tbot), with each app's public URL — browser-reachable with the same login as cube-mcp. Use list_exposed for one cube's apps and their company labels.
| Parameter | Type | Description |
|---|---|---|
company | string | Optional filter by company label (e.g. "edgescaleai", "lear"). |
list_services
List Kubernetes Services running in a cube's cluster, with a ready-made internal app_uri suggestion per port. Use this to find what's available before calling expose — picking the wrong port surfaces as Teleport "context deadline exceeded".
| Parameter | Type | Description |
|---|---|---|
environment * | string | Apollo environment / cube to list services on (e.g. "pep-onlogicmc610-4"). |
namespace | string | Optional Kubernetes namespace to filter to. Omit to list across all namespaces, which hides known infra/system namespaces (kube-system, openshift*, groundcover, teleport, etc.) by default — pass one… |
groundcover_list_clusters
List the cubes you are authorized to read that are reporting to Groundcover. Authorization is scoped to the cubes your account can see in Apollo (admins see all). Start here to find a valid 'cube'.
groundcover_list_workloads
List Kubernetes workloads (deployments/pods) and their health (cpu, memory, rps, error rate, pod count, readiness, issues) for one cube. Scoped to your cube.
| Parameter | Type | Description |
|---|---|---|
cube * | string | Cube/cluster name you are authorized for (see groundcover_list_clusters). |
limit | integer | Max workloads (1-1000). Defaults to 100. |
namespace | string | Optional k8s namespace filter. |
groundcover_query_metrics
Query Groundcover metrics for one cube. The PromQL is built server-side and always pinned to your cube (cluster label) — you cannot read another cube. Omit start/end for an instant query; provide both for a range query.
| Parameter | Type | Description |
|---|---|---|
cube * | string | Cube/cluster name you are authorized for. |
metric * | string | Metric name, e.g. "groundcover_host_cpu_usage_percent" (whole-host CPU) or "groundcover_pvc_usage_percent" (volume fill). NOTE names are host-/node-/pvc-prefixed: a bare "groundcover_cpu_usage_percent… |
aggregation | string | Optional. Range fns need a window: rate, irate, increase, delta, idelta, deriv. Instant aggregations: sum, avg, min, max, count, stddev, stdvar. |
end | string | RFC3339 end time (range query). |
match | object | Optional extra label matchers as {label: value} (exact). The "cluster" label is reserved and pinned to your cube. |
start | string | RFC3339 start time (range query). |
step | string | Range step, e.g. "1m". Defaults to 1m. |
window | string | Range window for rate-style aggregations, e.g. "5m". |
groundcover_list_metrics
Discover metrics for one cube. Groundcover metric names are NOT standard Prometheus/k8s names (e.g. PVC fill is groundcover_pvc_usage_percent, not kube_persistentvolumeclaim_*). Call WITHOUT filter to get a families/vocabulary map (prefix + count + examples); call WITH filter (a prefix or word like 'pvc'/'disk'/'cpu') to get matching metric names to pass to groundcover_query_metrics. Scoped to your cube.
| Parameter | Type | Description |
|---|---|---|
cube * | string | Cube/cluster name you are authorized for. |
end | string | RFC3339 end. Defaults to now. |
filter | string | Optional substring to match metric names server-side (e.g. 'pvc', 'disk', 'fs', 'cpu'). Omit to see the families map. |
limit | integer | Max names to scan (1-5000). Defaults to 1000. |
start | string | RFC3339 start. Defaults to 1h ago. |
groundcover_search_logs
Search logs for one cube. Always pinned to your cube. `query` uses Groundcover's log search syntax (e.g. 'level:error | limit 10').
| Parameter | Type | Description |
|---|---|---|
cube * | string | Cube/cluster name you are authorized for. |
end | string | RFC3339 end. Defaults to now. |
limit | integer | Max rows (1-1000). Defaults to 100. |
query | string | Optional Groundcover log search query (e.g. 'level:error'). A '| limit N' is appended automatically if absent. |
start | string | RFC3339 start. Defaults to 1h ago. |
groundcover_search_traces
Search distributed traces for one cube. Always pinned to your cube.
| Parameter | Type | Description |
|---|---|---|
cube * | string | Cube/cluster name you are authorized for. |
end | string | RFC3339 end. Defaults to now. |
limit | integer | Max rows (1-1000). Defaults to 100. |
query | string | Optional Groundcover trace search query. A '| limit N' is appended automatically if absent. |
start | string | RFC3339 start. Defaults to 1h ago. |
groundcover_k8s_events
Search Kubernetes events (e.g. crashes, OOMKills, scheduling) for one cube. Pinned to your cube.
| Parameter | Type | Description |
|---|---|---|
cube * | string | Cube/cluster name you are authorized for. |
end | string | RFC3339 end. Defaults to now. |
start | string | RFC3339 start. Defaults to 1h ago. |
send_feedback
Send feedback about the Cube or Edgeport to the EdgescaleAI team. ALWAYS ASK THE USER WHICH KIND THIS IS BEFORE CALLING, unless they have already made it obvious: is something broken ('support') — or do they have an idea for something new ('feature')? The answer decides which tracker it lands in, and it is not something to guess. DO NOT promise the user a reply, a response time, or that someone will follow up: feedback is recorded and read, and there is no support rotation behind it. Say it has been recorded, and give them the reference number the tool returns. The submitter is identified fr…
| Parameter | Type | Description |
|---|---|---|
details * | string | The feedback itself. For a bug, include what happened, what was expected, and steps to reproduce. |
feedback_type * | string | support = something is broken or not behaving as expected; filed as a bug report. feature = the user wants a capability that does not exist yet; recorded on the product backlog. Ask the user rather th… |
summary * | string | One-line title for the ticket. |
business_impact | string | Why this matters — who is blocked and what it costs. REQUIRED for 'feature'. Optional for 'support': it is a reasonable thing to ask of a roadmap request and pure friction in front of a question. |
contact_email | string | Fallback contact address, used ONLY when the calling key has no address on file (a bot or CLI key). For a normal browser login the address is resolved server-side and anything passed here is ignored. |
cube | string | Optional cube the feedback is about, recorded as context. |
submitter_name | string | Reporter's name. Defaults to the local part of their email. |
submitter_role | string | Reporter's role, e.g. 'Deployment Strategist'. Defaults to 'Cube MCP user'. |
build_and_publish_to_apollo
Build and publish an app to Apollo Container Registry. Builds the Docker image (locally via buildx, or remotely via cube-cloud/kaniko when no local Docker daemon is present), packages the Helm chart (pure Python, honoring the chart's .helmignore), pushes to the OCI registry, and publishes the manifest via cube-cloud.
| Parameter | Type | Description |
|---|---|---|
app_version | string | Chart appVersion, i.e. the image tag the chart deploys. When an image is built, defaults to the chart version and is the tag pushed. When no image is built (skip_docker, or no Dockerfile), appVersion… |
build_args | object | Build-time variables passed to Docker as --build-arg key=value (e.g., {"NPM_TOKEN": "abc123"}). |
build_mode | string | Where to build the image. 'auto' (default) uses local docker buildx if a daemon is present, otherwise builds remotely via cube-cloud/kaniko. 'local' forces buildx; 'remote' forces the server-side buil… |
bump | string | Version bump type: "patch" (default), "minor", or "major". |
chart_path | string | Path to chart directory or Chart.yaml (auto-detected if not specified). |
dockerfile | string | Path to the Dockerfile, if not the default in the chart directory or its parent (e.g. Dockerfile.prod). |
dry_run | boolean | Show what would be done without actually doing it. |
platform | string | Target image platform. Defaults to 'linux/amd64' (the cube architecture). |
show_build_log | boolean | For remote builds, include the kaniko build-log tail in the result on success, so build output (e.g. build-arg effects) is visible without CloudWatch access. Defaults to false to keep successful build… |
skip_docker | boolean | Skip Docker build/push even if Dockerfile exists. The chart's appVersion is then kept unless app_version is given. |
target | string | Build stage to target in a multi-stage Dockerfile. |
version | string | Exact version to use (e.g., "1.0.0"). If not specified, bumps current version. |
app_proxy
Port-forward an ALREADY-EXPOSED app to a local TCP port, via cube-cloud's WebSocket relay. No tsh needed locally. Works for ANY exposed app, HTTP or tcp://, and is the only way into a tcp:// one (the app's public URL serves HTTP/WebSocket only). Use it whenever a local port is what you want — psql, an MQTT client, scripting, port-restricted tooling. Independent of the app's public URL: both work at once and neither affects the other. Requires expose to have been run — it cannot reach a service that was never exposed.
| Parameter | Type | Description |
|---|---|---|
app * | string | Qualified app name, as shown by list_exposed / app_list. |
port | integer | Local port to listen on (auto-assigned if not specified). |
app_proxy_stop
Stop a running app proxy tunnel.
| Parameter | Type | Description |
|---|---|---|
app | string | App name to stop. If not specified, stops all proxies. |
app_proxy_status
Show status of running app proxy tunnels.
agent_login_browser
Authenticate via browser login (opens sign-in page, auto-provisions API key).
agent_logout
Remove stored cube-agent API key.
agent_status
Check cube-agent authentication and connectivity status.