mcp

v2.9.1
@syntica/mcp Checked 9 hours ago Published 3 days ago

MCP server and skills for deploying applications on Syntica from your coding agent (Claude Code, OpenCode, Codex CLI, Gemini CLI, Copilot CLI, Cursor)

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

org_authenticate

Check whether the user is signed in, and as whom. Returns the authenticated user and organisation (use its orgId for tools that take one). Call this first in a session; if it reports the user is not signed in, run the sign-in flow: org_request_otp, then org_verify_otp.

org_logout

Sign the user out of Syntica on this machine. Only when the user asks to sign out or to sign in as someone else. Every Claude session on this machine shares the login, so they are all signed out.

org_refresh_token

Refresh an existing session token, extending its validity for a full new lifetime (7 days by default). Rarely needed: tokens past half of their lifetime are refreshed automatically on any tool call. Use this only to force a refresh explicitly.

org_register

Register a new organisation and its first admin user. The default subscription plan is applied automatically.

ParameterTypeDescription
email *stringEmail address of the admin user
name *stringFull name of the admin user
orgName *stringName of the organisation to create

org_invite_member

Invite a user to the organisation by email with a specified role

ParameterTypeDescription
email *stringEmail address to invite
orgId *stringOrganisation ID
role *stringRole to assign. member: joins the organisation with no app access. org_admin and app_creator apply to the organisation. viewer, developer and env_admin apply to every app. Fine tune access afterwards…

org_accept_invite

Accept an organisation invite using the invite token received by email

ParameterTypeDescription
name *stringFull name of the user accepting the invite
token *stringInvite token from the invitation email

org_request_otp

Send a one-time password to the user's email address to start the login flow. Call org_verify_otp next with the code from the email.

ParameterTypeDescription
email *stringEmail address of the user

org_verify_otp

Verify the one-time password and sign the user in. The MCP server keeps the session itself: there is no token to store or pass to other tools. Returns the signed-in user and organisation. If the response has pendingOrgSelection=true, the user belongs to multiple organisations: ask them which one to use and call org_select with the chosen orgId.

ParameterTypeDescription
code *stringOne-time password code from the email
email *stringEmail address used in org_request_otp

org_select

Choose which organisation to use after login (when org_verify_otp returned pendingOrgSelection), or switch to a different organisation mid-session. The session moves to that organisation; every later call works in it.

ParameterTypeDescription
orgId *stringID of the organisation to switch to (from org_verify_otp orgs or org_list_orgs)

org_list_orgs

List the organisations the current user belongs to, with the one the current token is scoped to. Call this whenever the user mentions another organisation, asks what they have access to, or before creating an application when you have not confirmed which organisation they mean — a session token is scoped to ONE organisation, and working in another needs org_select, not a different orgId argument.

app_list

List all applications for an organisation.

ParameterTypeDescription
orgId *stringOrganisation ID

app_create

Create a new application. Returns the application ID and git clone URL for pushing code. The application is created in the organisation the token is scoped to — if the user belongs to more than one (org_list_orgs), ask which one they mean before creating, and call org_select first if it is not the current one.

ParameterTypeDescription
name *stringApplication name — lowercase letters, numbers and hyphens only
orgId *stringOrganisation ID — must be the organisation this token is scoped to. To act in a different one, call org_select first; passing another org id here does not switch organisation.
cloudAccountstringOptional cloud account (id or name from org_list_cloud_accounts) for the free dev environment: the Syntica account or a connected AWS account of the organisation whose stack is current. Leave it out u…
githubConnectionIdstringOptional: a GitHub-App-backed connection id (org_list_git_connections, appInstallation: true; connect one with org_connect_github). The platform then CREATES the source repository in that GitHub accou…
githubPrivatebooleanWhether the created GitHub repository is private (default true).
githubRepoNamestringRepository name to create on GitHub (with githubConnectionId). Defaults to the application name.
templateIdstringOptional template ID from org_list_templates to scaffold the application

app_delete

Delete an application together with every environment and instance it runs, and its data. The repository is moved to trash and can be restored with app_restore for about 30 days, but the deployed environments and their data are destroyed and cannot be restored. By default the delete happens now. Slots already paid for stay paid until the 1st and can be reused by a new application or environment until then, and the reply lists them. Pass when "period_end" to delete on the 1st instead, or an ISO-8601 time before the 1st. Needs an org admin. Destructive: confirm with the user before calling.

ParameterTypeDescription
applicationId *stringApplication ID to delete
whenstring'now' (default), 'period_end' (the 1st 00:00 UTC) or an ISO-8601 time before the 1st

app_list_deleted

List soft-deleted applications for an organisation (the restore view). Use this to find the applicationId to pass to app_restore, and to see how long is left before each is permanently purged.

ParameterTypeDescription
orgId *stringOrganisation ID

app_restore

Restore a soft-deleted application within its recovery window. Find the applicationId with app_list_deleted first. Fails if the recovery window has elapsed (the app was already permanently purged).

ParameterTypeDescription
applicationId *stringID of the soft-deleted application (from app_list_deleted)

app_rename

Rename an application and its git repository. WARNING: this changes the repo path, so existing git clone/remote URLs (and the cloneUrl) stop working — anyone with a local clone must update their remote to the new cloneUrl returned here. The name must be lowercase letters, numbers and hyphens only, and unique in the org.

ParameterTypeDescription
applicationId *stringApplication ID to rename
name *stringNew application name — lowercase letters, numbers and hyphens only

org_list_members

List all members of an organisation and their roles

ParameterTypeDescription
orgId *stringOrganisation ID

org_list_plans

List the available subscription plans (free and pay-as-you-go) from the Stripe catalog, with each plan's name and base price

org_get_subscription

Get the current subscription plan (free or pay-as-you-go) for an organisation

ParameterTypeDescription
orgId *stringOrganisation ID

org_get_billing

Show the organisation's current bill: the plan, the monthly total Stripe will charge, and a per-line breakdown (node tiers, applications, environments, backups, traffic, add-ons) with quantities and amounts. Read-only — this does not change anything.

ParameterTypeDescription
orgId *stringOrganisation ID

org_setup_git_credentials

Generate a long-lived git credential token for cloning and pushing repositories via HTTPS. Stores the token so git works from any terminal without re-authenticating. If an application deploys from your own repository (see app_set_upstream), these credentials are read-only for it — pushes to the platform-hosted repository are refused, and you should push to your own repository instead. NOT for connecting your own GitHub/GitLab/Bitbucket repository — to store a credential for a host you own repositories on, use org_add_git_connection instead.

ParameterTypeDescription
labelstringLabel to identify this credential, e.g. "laptop" or "work" (default: "default")

org_revoke_git_credentials

Revoke a git credential token by its ID

ParameterTypeDescription
credentialId *stringID of the credential to revoke

org_list_git_credentials

List all git credentials for the authenticated user

app_set_upstream

Point an application at a git repository you host yourself, using a remote repository connection you have already created. Create that connection first with org_add_git_connection, and find its id with org_list_git_connections — the credential lives on the connection, so this call takes only the repository path within its host and the branch. WARNING: this is destructive to the platform-hosted repository. On the next deploy the platform force-fetches your repository over its mirror, so any commit that exists only in the platform-hosted repository is lost. Afterwards pushes to it are refused…

ParameterTypeDescription
applicationId *stringApplication ID
branch *stringBranch to deploy from, e.g. main
connectionId *stringRemote repository connection id, from org_list_git_connections or org_add_git_connection. Supplies the host and the stored credential.
path *stringRepository path within the connection's host, e.g. "acme/api". Must not be a full URL — the host comes from the connection. A leading slash and a trailing ".git" are both optional.

app_clear_upstream

Disconnect an application from its own git repository and return it to a platform-hosted repository. The hosted repository becomes writable again (its history is kept). The stored access token remains in your organisation and can be removed with org_list_git_connections.

ParameterTypeDescription
applicationId *stringApplication ID

org_list_git_connections

List the git connections (stored access tokens for your own repositories) in an organisation. Credential material is never returned — only the provider, host, username, last-used/last-error status, and isDefault for the org's default GitHub account (change it with org_set_default_git_connection).

ParameterTypeDescription
orgId *stringOrganisation ID

org_set_default_git_connection

Set or clear the organisation's default GitHub account (org admins only). New applications created from Claude in the browser or the web app land in the default account, so members without a GitHub account can still create and edit apps. Pass a connectionId from org_list_git_connections to make it the default: it must be a Syntica GitHub App installation (appInstallation: true) on a GitHub Organization, not a personal account. Omit connectionId to clear the default. At most one connection is the default; setting a new one replaces the old.

ParameterTypeDescription
orgId *stringOrganisation ID
connectionIdstringThe connection to make the default (org_list_git_connections). Omit it to clear the default.

org_add_git_connection

Add a remote repository: store a credential for a git host you own repositories on (GitHub, GitLab, Bitbucket, or any HTTPS git server), so applications can deploy from it. This is the paid external-source-repository feature. For GitHub, prefer org_connect_github (the Syntica GitHub App): one click, no token to manage, and included on every plan. NOT for the platform-hosted repository — for a token to clone or push that, use org_setup_git_credentials instead. One connection covers every repository on that host for that username, and applications are bound to it with app_set_upstream. Re-runn…

ParameterTypeDescription
orgId *stringOrganisation ID
url *stringAny HTTPS URL on the host to connect, e.g. https://github.com or https://github.com/acme/api.git. Only the host is stored.
accessTokenstringRead-scoped access token. Omit for a public repository.
labelstringHuman-readable name for this connection. Defaults to the host.
providerstringInferred from the URL's host (github.com, gitlab.com, bitbucket.org) when omitted — pass this explicitly for an enterprise or self-hosted git server.
usernamestringGit username. Omit for a public repository or a token-only credential. Provider-specific: a Bitbucket app password needs the Atlassian username, an Atlassian API token needs the account email address,…

org_connect_github

Connect a GitHub account to the organisation via the Syntica GitHub App — no personal access token needed, and included on every plan. Returns an install URL the USER must open in their browser to approve the installation; once approved, the connection appears in org_list_git_connections with appInstallation: true. With such a connection, app_create can create the source repository in their GitHub account (githubConnectionId) so they can edit code on GitHub and deploy from it, and org_list_github_repos lists their existing repositories to deploy from instead. For a non-GitHub host, or to con…

ParameterTypeDescription
orgId *stringOrganisation ID

org_list_github_repos

List the repositories a GitHub App connection can reach (newest-pushed first, up to 100), so the user picks one instead of typing owner/repo. Use with a connection from org_list_git_connections that has appInstallation: true. To deploy from one of the listed repositories, call app_set_upstream with its fullName as the path and (usually) its defaultBranch — note that binding a pre-existing repository is the paid external-source-repository feature. Creating a NEW repository instead (app_create with githubConnectionId) is included on every plan. If a repository is missing here, the user limited…

ParameterTypeDescription
connectionId *stringA GitHub App connection id (appInstallation: true) from org_list_git_connections
orgId *stringOrganisation ID

app_repo_tree

List the file tree of an application's code, on its deploy branch. No GitHub credential is needed in this session. Call this before reading or saving, to see what exists. Works for every app, Syntica-hosted or GitHub-source. All access is confined to the repository of this application, on its deploy branch.

ParameterTypeDescription
applicationId *stringApplication ID

app_repo_read_file

Read one file of an application's code, on its deploy branch. Read a file before editing it, because a save replaces whole files. Works for every app, Syntica-hosted or GitHub-source. All access is confined to the repository of this application, on its deploy branch.

ParameterTypeDescription
applicationId *stringApplication ID
path *stringRepo-relative file path, e.g. "src/index.html" (from app_repo_tree)

app_repo_commit

Save file changes into an application's code. All changes land together as one new version on the deploy branch. Each file REPLACES the file at its path in full (read it first to edit part of it), and deletes remove paths. On a Syntica-hosted app, saving updates the dev app automatically: the result carries a deployId, and you check progress with org_deploy_status. On a GitHub-source app the save goes to GitHub, and you run org_deploy afterwards to ship it. Saving never touches staging or production, which need org_deploy or org_promote. Repeat the userMessage of the result to the user. Tell t…

ParameterTypeDescription
applicationId *stringApplication ID
message *stringA short description of what changed, shown in the list of versions
deletesarrayRepo-relative paths to delete in the same save
filesarrayFiles to write. Each replaces the full file at its path (or creates it). Up to 100 changes per save.

app_list_versions

List the saved versions of a Syntica-hosted application, newest first, with when each was saved, by whom and what changed. Use it when the user wants to go back to an earlier state, then pass a version id to app_restore_version. A GitHub-source app keeps its versions on GitHub, and this tool says so. Tell the user their change is "saved" and that you are "updating your app", and call earlier states "versions", never say "commit".

ParameterTypeDescription
applicationId *stringApplication ID
limitnumberHow many versions to list (default 20, at most 100)

app_restore_version

Put back the files of an earlier version of a Syntica-hosted application, as a new save. Nothing is lost: the version it replaces stays in the list. Pass a versionId from app_list_versions, or leave it out to undo the last change. Like any save, it updates the dev app automatically: check progress with org_deploy_status and the deployId. Repeat the userMessage of the result to the user. Tell the user their change is "saved" and that you are "updating your app", and call earlier states "versions", never say "commit".

ParameterTypeDescription
applicationId *stringApplication ID
versionIdstringThe version id from app_list_versions. Leave it out to undo the last change.

org_get_action_policy

Check what the organisation allows an AGENT to do in one application environment before proposing destructive work. Returns, per category (data_loss, availability, credentials), whether agents may act freely ("allow"), only with an administrator's token ("admin_only"), or not at all ("block"), and which scope that came from. Deleting production is admin-only by default. Read-only: the policy itself can only be changed by an administrator in the dashboard.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringEnvironment to check

app_list_node_tiers

List the node tiers (instance sizes) available to an organisation, so the user can choose what an application's environment should run on. Returns the org's plan key alongside the tiers. On the Pay-as-you-go plan every tier is billed and the free tier is NOT selectable — always ask the user which tier to use rather than assuming one. On the free plan the free tier is the only option. Pass applicationId and environment (or cloudAccount for a new application) to get the sizes for that environment: one in the organisation's own cloud account runs on its own AWS bill, so every size is offered wh…

ParameterTypeDescription
orgId *stringOrganisation ID
applicationIdstringOptional. Application whose environment the size is for. Use with environment.
cloudAccountstringOptional. Cloud account id or name from org_list_cloud_accounts the environment will be created in. Ignored for an environment that already has a machine, which keeps its account.
environmentstringOptional. Environment the size is for. Use with applicationId.

app_set_node_tier

Set which node tier (instance size) an application's environment runs on. Required before the first deploy of any environment on the Pay-as-you-go plan — org_deploy fails with NODE_TIER_REQUIRED until it is set, and must not be guessed: the tier determines what the customer is billed. Ask the user to choose from app_list_node_tiers first. On an already-provisioned environment the instance must be stopped first (app_stop_instance) — the change is then carried out on the infrastructure by app_reprovision_instance, after which the instance can be started again. Pass when "period_end" to sched…

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringEnvironment to set the tier for
nodeTierId *stringNode tier id from app_list_node_tiers
cloudAccountstringCloud account id or name from org_list_cloud_accounts. Optional, defaults to the Syntica hosted account. Only applies when this sets up the environment's first machine: an existing environment keeps i…
regionIdstringDeprecated, use cloudAccount. A region id is also a valid hosted account id.
whenstring'now' (default), 'period_end' (the 1st 00:00 UTC) or an ISO-8601 time before the 1st

org_list_cloud_accounts

List the cloud accounts an organisation can run environments in: the Syntica hosted account plus any AWS accounts the organisation connected. Returns id, name, provider, region, status, whether it is the default, its namespace (the name its environments get their default address under), updateRequired and placeable. Only an account with placeable true takes new environments. An own account becomes placeable once it is connected and its stack is recent enough. When a newer stack template is available, an account also carries updateUrl, the link that opens the stack update in the AWS console wit…

ParameterTypeDescription
orgId *stringOrganisation ID

app_enable_environment

Enable an environment for an application on the Pay-as-you-go plan. Staging and production are PAID, billed per application per month — calling this without confirm first returns the price so you can tell the user and get an explicit yes; only then call again with confirm: true. Never confirm on the user's behalf. Dev is free and included by default — this tool only needs it to RE-include a dev environment that was previously excluded on the Billing page. After enabling, the environment still needs a machine size before its first deploy: app_list_node_tiers, then app_set_node_tier. Optiona…

ParameterTypeDescription
applicationId *stringApplication ID the environment belongs to
environment *stringEnvironment to enable
orgId *stringOrganisation ID
cloudAccountstringOptional cloud account id or name from org_list_cloud_accounts: the Syntica hosted account or a connected own AWS account whose stack is current.
confirmbooleanRequired true for staging/production, and only after the user explicitly approved the monthly price returned by the unconfirmed call.

app_list_custom_domains

List the custom domains of an application environment with their state (PENDING_DNS while waiting for the DNS records, ACTIVE once serving), the DNS records to add, and lastError when something needs the user's attention. Each row carries `records`: the DNS records the user must add at their DNS provider, with type, name and value. A hosted environment needs two: a CNAME to the platform ingress (an A record for a root domain), purpose "routing", and a TXT record (purpose "validation") that proves the organisation owns the domain. Nothing is issued or served until both are in place, and the TXT…

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringEnvironment the domains belong to

app_add_custom_domain

Add a custom domain (such as app.example.com) to an application environment. Returns the domain with the DNS records the user must add at their DNS provider. Tell the user exactly which records to add. Each row carries `records`: the DNS records the user must add at their DNS provider, with type, name and value. A hosted environment needs two: a CNAME to the platform ingress (an A record for a root domain), purpose "routing", and a TXT record (purpose "validation") that proves the organisation owns the domain. Nothing is issued or served until both are in place, and the TXT must stay. An envir…

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringEnvironment to serve on the domain
hostname *stringThe domain, for example app.example.com or example.com

app_remove_custom_domain

Remove a custom domain by its id (from app_list_custom_domains). The domain stops serving the app and its certificate is removed. Destructive: confirm with the user before calling. The user can then delete the DNS records they added.

ParameterTypeDescription
domainId *stringCustom domain id from app_list_custom_domains

org_list_templates

List all available project templates in the org template registry

org_apply_template

Overwrite an existing application repository with a fresh template scaffold. All existing code in the repository will be replaced.

ParameterTypeDescription
appId *stringApplication ID to apply the template to
templateId *stringID of the template to apply (from org_list_templates)

org_deploy

Trigger a deployment for an application to a specified environment. Pass commitSha to ship a specific commit instead of the branch tip — this is how you roll back to a previous deployment. Returns a build ID to track progress with org_deploy_status.

ParameterTypeDescription
applicationId *stringApplication ID to deploy
environment *stringTarget deployment environment
branchstringBranch to deploy. Defaults to the branch the app's external repository is connected on, else 'main'. Any branch of the repository can be deployed.
commitShastringSpecific commit SHA to deploy (7–40 hex chars). Defaults to the tip of `branch`. Use a sha from an earlier build to roll back.
skipBackupbooleanDeploy without the backup that a change to a database or other stateful service normally takes first. Only after a deploy failed because that backup failed, and only when the user explicitly accepts d…

org_promote

Promote the exact build currently running in one environment to another (e.g. staging → production). Ships the identical commit that succeeded in the source environment instead of re-resolving a branch tip, so the target matches what was tested. Returns a build ID to track with org_deploy_status.

ParameterTypeDescription
applicationId *stringApplication ID
fromEnvironment *stringSource environment to promote from (e.g. staging)
toEnvironment *stringTarget environment to promote to (e.g. production)

org_deploy_status

Check how a deployment is going. Call it about every 10 seconds until stage is "live" or "failed". Stages in order: starting_machine, installing, building, live, failed. Relay each stage change to the user in plain words, using userMessage, and mention etaSeconds as a rough wait. When the stage is live, share the url. When it failed, tell the user the update did not finish, read failureReason, steps and logTail yourself to find the cause, and fix it before trying again. Say "updating your app" to the user.

ParameterTypeDescription
buildId *stringBuild ID returned by org_deploy

org_deploy_cancel

Cancel a deployment that is currently running. Only works while the build is in the deploy phase; the build is marked failed with reason "Deployment cancelled by user".

ParameterTypeDescription
buildId *stringBuild ID returned by org_deploy

quality_get_status

Get the latest SonarQube quality gate result for an application: whether the gate passed, how many findings are in new code, and when it last ran. Use before deploying to production when the app gates on quality, or when the user asks how the code is doing.

ParameterTypeDescription
applicationId *stringThe application UUID

quality_get_findings

Get the findings from the latest SonarQube scan of an application, with file, line, rule and message for each. Use this to fix quality-gate failures: read the findings, change the code locally, then deploy. The analysis runs on the organisation's own SonarQube server.

ParameterTypeDescription
applicationId *stringThe application UUID

quality_trigger_scan

Scan the application's current pushed head on the organisation's SonarQube server. Returns immediately; the scan runs in the background, so poll quality_get_status for the result. Use after pushing fixes for quality findings.

ParameterTypeDescription
applicationId *stringThe application UUID
environmentstringEnvironment to attribute the scan to (default: dev)

app_get_prevalidation_prompts

Retrieve the validation prompts that apply to an application: the platform-standard set, the organisation's org-wide prompts, and the prompts set on this application and its environments. Execute each prompt against the local code before committing. Pass environment to keep only that environment's prompts. An applicationId the caller cannot see is not an error: it returns the platform and org-wide prompts only.

ParameterTypeDescription
applicationId *stringThe application UUID
environmentstringOptional. Keep only this environment's environment-scoped prompts. Omit to include all of them.

validation_get_generic_prompts

Retrieve the validation prompts that apply to every application: the platform-standard set plus the organisation's own org-wide prompts. Run each returned prompt against your staged diff before committing or deploying, and report its findings. Use this when the session is not tied to a specific application; use app_get_prevalidation_prompts when you have an applicationId, to also get that application's own prompts.

validation_list_prompts

List the validation prompts visible to your organisation: the platform-standard set plus your org's own prompts (org / application / environment scope). Use this to see or manage what runs. Returns id, name, scope, and targeting for each.

validation_add_prompt

Add a custom validation prompt owned by your organisation, applied additively on top of the platform-standard prompts. Choose the scope: 'org' (all your apps), 'application' (one app — needs applicationId), or 'environment' (one env of one app — needs applicationId and environment). Write content as an instruction to the reviewing agent: what to look for, report each finding as ERROR or WARNING with file:line.

ParameterTypeDescription
content *stringThe check, written as an instruction for the reviewing agent
name *stringShort prompt name
scope *stringScope this prompt applies at
applicationIdstringRequired for application/environment scope
environmentstringRequired for environment scope

validation_update_prompt

Update the name and/or content of one of your organisation's own validation prompts. Cannot edit platform-standard prompts or another org's prompts.

ParameterTypeDescription
id *stringThe prompt id (from validation_list_prompts)
contentstringNew content (optional)
namestringNew name (optional)

validation_delete_prompt

Delete one of your organisation's own validation prompts by id. Cannot delete platform-standard prompts or another org's prompts.

ParameterTypeDescription
id *stringThe prompt id (from validation_list_prompts)

app_list_config

List all config entries (values and secrets) visible for an application environment, across all scopes. Includes inherited entries from subscription, environment, and application scopes. Secret values are never returned.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringEnvironment to list config for

app_create_config

Create a config entry for an application. kind="value" stores the value as plaintext (visible after creation). kind="secret" encrypts the value at rest — it cannot be retrieved after creation. Scope controls who inherits the entry: app_env (default), application, environment, or subscription. Subscription and environment scopes require org admin role.

ParameterTypeDescription
applicationId *stringApplication ID (used to identify the org for broad scopes)
kind *stringvalue = plaintext; secret = encrypted
name *stringEntry key name (uppercase, underscores only — e.g. DATABASE_URL)
scope *stringapp_env (this app + environment only), application (all envs of this app), environment (all apps in this env), subscription (all apps in the org)
value *stringThe value to store
environmentstringRequired when scope is app_env or environment

app_delete_config

Permanently delete a config entry by its ID.

ParameterTypeDescription
applicationId *stringApplication ID
configId *stringConfig entry UUID to delete

app_describe_connections

Describe the platform connections granted to an application environment — mail, storage, databases, payments, AI and the rest of the connector catalogue. Returns each granted connection's connector, its name ("Stripe · live" for a named profile, with the profile apart in profile), and the environment variable NAMES the platform injects at deploy time. Never returns a credential. Every profile of one integration injects the same variable names, so a different target per environment (sandbox in dev, live in production) is a profile an admin assigns, never a second integration or environment-s…

ParameterTypeDescription
applicationId *stringThe application UUID
environment *stringEnvironment to describe — a grant in production does not imply one in dev

app_request_connection

Ask an organisation admin for a connection on one application environment. Use this when app_describe_connections returns nothing for the system you need — instead of asking the user for a credential or telling them to go and configure one. Names a connector from the catalogue (e.g. "smtp", "stripe", "slack"), or "custom" for an API or TCP service outside the catalogue, with the exact hosts (and host:port for TCP) and what it is for in the note. The admin decides which of their connections satisfies it and is notified in the platform and by email. Repeating a request that is already pending…

ParameterTypeDescription
applicationId *stringThe application UUID
connectorId *stringA connector id as returned by app_describe_connections, e.g. "smtp" or "stripe", or "custom"
environment *stringEnvironment the connection is needed in
notestringOne line on what it is for — the admin reads this when deciding

app_request_resource

Ask an organisation admin for a managed resource outside the boundaries of one environment. Use this after app_create_resource refuses a resource, and only then. It needs an environment in your own cloud account. Admins are notified and decide in the web app. Approval creates exactly this resource and leaves the boundaries unchanged, so ask for what you need. Repeating a request that is already pending returns the open one. A different ask for the same resource is refused until you retract the open one with app_retract_resource_request. Needs the deploy permission on the environment.

ParameterTypeDescription
applicationId *stringThe application UUID
backing *stringWhere the resource runs. Only container for now.
environment *stringEnvironment the resource is needed in
note *stringWhy it is needed. The admin reads this when deciding.
size *stringA size id, e.g. "small", "medium", "large" or "xlarge"
type *stringResource type, e.g. "postgres"
aliasstringNeeded for a second resource of a type. Lowercase letters, digits and hyphens. Its variables get this prefix.

app_retract_resource_request

Take back your open app_request_resource request, so you can ask for something different. Nothing is created.

ParameterTypeDescription
requestId *stringThe request id, as app_request_resource returned it or named it when refusing

app_services_list

List all running services for a deployed application in a given environment, with status, CPU and memory.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_disk_usage

Show how full the disk of a deployed environment is: free space, and how much goes to images, build cache and databases. Use this when a deploy fails on disk space, a database will not start, or the logs say "No space left on device".

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_disk_cleanup

Free up disk space on a deployed environment by removing old images and build cache, then start the services that were down because the disk was full, the database first. Databases and their data are never touched. The next deploy builds a little slower.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_service_start

Start a specific service within a deployed application.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringWhich environment: dev, staging or production
service *stringService name (from docker-compose)

app_service_stop

Stop a specific service within a deployed application.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringWhich environment: dev, staging or production
service *stringService name (from docker-compose)

app_service_restart

Restart a specific service within a deployed application.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringWhich environment: dev, staging or production
service *stringService name (from docker-compose)

app_service_logs

Get the last N log lines from a service. Use this to debug crashes, startup errors, or runtime issues.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringWhich environment: dev, staging or production
service *stringService name (from docker-compose)
tailnumberNumber of log lines to return (default 100)

app_service_tail_logs

Tail logs from a service, returning only lines newer than a previous call. Call repeatedly to follow live output. On the first call omit `since`; each response includes `nextSince` to pass to the next call.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringWhich environment: dev, staging or production
service *stringService name (from docker-compose)
sincenumberUnix timestamp from a previous nextSince. Omit on first call.

app_search_logs

Search an application's RETAINED logs — including logs from containers that have since restarted, and from nodes that are stopped. Use this rather than app_service_logs when investigating something that already happened: "what did it say at 3am", "has this error appeared before", "what changed after the deploy". Matches a substring by default, or a regular expression with regex: true. Returns newest first.

ParameterTypeDescription
applicationId *stringThe application UUID
environment *stringEnvironment to search
limitnumberMaximum lines to return, up to 1000. Defaults to 200.
minutesnumberHow far back to search, in minutes. Defaults to 60.
querystringSubstring to match, or a regular expression when regex is true. Omit to return everything in the window.
regexbooleanTreat query as a regular expression
servicestringLimit to one compose service

app_recent_errors

The most recent error lines from an application environment, across every service, from retained logs. Use this first when a user reports something is broken, when a deploy has just gone out, or before claiming an application is healthy. Matches common error markers (error, exception, fatal, traceback, unhandled) case-insensitively.

ParameterTypeDescription
applicationId *stringThe application UUID
environment *stringEnvironment to inspect
minutesnumberHow far back to look, in minutes. Defaults to 60.

app_health

What the platform's uptime check last saw for each of an application's environments: up, down, asleep or unknown, since when, and the last error. Use before claiming an application is healthy, and when a user says "it is broken" — an environment reported asleep was stopped deliberately to save money and is not an outage.

ParameterTypeDescription
applicationId *stringThe application UUID

app_restart_instance

Restart the EC2 instance for a deployed application. Performs a graceful stop (with automatic force-stop fallback if the instance does not respond) then starts it and brings containers up. Use this to recover from a stalled deployment.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_stop_instance

Stop the EC2 instance for a deployed application environment. The application goes offline until it is started again; its data volume is kept. Required before changing the instance type with app_set_node_tier.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_start_instance

Start the stopped EC2 instance for a deployed application environment and bring its containers up. Fails if the instance still runs a different size than the configured instance type — reprovision it with app_reprovision_instance first, or set the type back with app_set_node_tier.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_reprovision_instance

Carry out a pending instance-type change on the infrastructure: resizes the stopped instance onto the type its node tier asks for, keeping the instance, its data volume, and its private IP. The instance must be stopped, and it is left stopped afterwards — start it with app_start_instance when the resize is done. If the new tier has a larger disk, the data volume grows too, and the filesystem follows when the instance next starts. A smaller tier never shrinks the disk. Use this after app_set_node_tier when starting the instance is refused for a type mismatch.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_replace_instance

DESTRUCTIVE. Destroy an environment's EC2 instance and its volumes, then reset the node so the next deploy builds a fresh one from the current infrastructure template. ALL DATA IN THAT ENVIRONMENT IS LOST — the instance's volumes go with it. Custom domains, the ingress policy, backup records, environment config and the application URL are all preserved. Use this for a node too old to be fixed in place, for example one provisioned before the dedicated data volume existed, whose backups therefore cannot work. Unlike app_reprovision_instance (which only resizes and keeps everything) this replac…

ParameterTypeDescription
applicationId *stringApplication ID
confirm *booleanMust be true. Acknowledges that all data in this environment will be destroyed.
environment *stringTarget environment

app_set_sleep_when_idle

Set sleep when idle for an environment. Only for environments in the customer's own cloud account (AWS). Stops the environment after that many minutes without visitors and wakes it again on the next visit. The saving lands on the customer's own AWS bill. Pass minutes 0 to turn it off.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment
minutes *numberMinutes without visitors before it sleeps. 0 turns it off.

app_move_network

Move an environment's machine into its cloud account's current outgoing network (the fixed address when it is on, an ephemeral one when it is off). Keeps the data volume and redeploys the current release. Takes the environment down for about as long as a first deploy.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_dev_sync

Sync the instance to the latest pushed code and rebuild/restart specific Docker Compose services, skipping infrastructure provisioning. Waits up to 40s; fast syncs return their final result (including the build log) directly. If the sync is still running after that, a build ID is returned — poll org_deploy_status until status is "success" or "failed". Only works on environments where dev sync is enabled (default: enabled on dev, disabled on staging and production). Use for fast development iteration after pushing code changes.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment
services *arrayDocker Compose service names to restart after git pull (e.g. ["api", "worker"])

app_db_query

Run a SQL query against a deployed application's database. Read-only by default. Set allowWrite:true only for intentional mutations (e.g. seeding a first admin account); confirm with the user first. Returns CSV text (capped at 1000 rows). Every query is audit-logged.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment
sql *stringSQL to execute
allowWritebooleanAllow writes (INSERT/UPDATE/DDL). Default false = read-only.
resourcestringInstead of service: the alias of a managed container Postgres. An RDS database is not reachable through this tool yet.
servicestringDatabase service name (from docker-compose, e.g. "db" or "postgres"). For a managed resource, the `service` from app_describe_resources.

app_db_audit

List recent database-query audit entries for a deployed application (who ran what, newest first).

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringWhich environment: dev, staging or production
limitnumberMax entries (default 100, cap 1000)
servicestringOptional: filter to one service

app_describe_resources

List the managed resources of one environment and the boundaries they must stay within: allowed backings, maximum size and count, per resource type. Each resource names its compose `service` (for app_db_query) and the variables the app receives. Only for environments in your own cloud account. On a hosted environment, keep the database in the app's own compose file.

ParameterTypeDescription
applicationId *stringApplication ID
environment *stringTarget environment

app_create_resource

Create a managed Postgres for an environment, inside its boundaries. Outside them the call is refused with the reason and what is allowed. The platform generates the password and injects DATABASE_URL and the PG* variables, prefixed with the alias if set, over any value hard-coded in the app's compose. It needs a deploy to take effect. The rds backing bills to the customer's AWS account and takes about 10 minutes: check app_describe_resources until it is ready, then deploy. Do not add a database to the app's compose file for it.

ParameterTypeDescription
applicationId *stringApplication ID
backing *stringWhere it runs. container runs on the environment's node. rds is a managed Amazon RDS database in the customer's account.
environment *stringTarget environment
size *stringSize
type *stringResource type
aliasstringOnly for a second resource in the environment. Lowercase letters, digits and dashes. Prefixes its variables: reports gives REPORTS_DATABASE_URL.
multiAzbooleanrds only: a standby in a second zone, at about twice the cost. Refused unless the policy allows it.

app_update_resource

Resize a managed resource. Growing inside the boundaries happens directly. Shrinking falls under the availability action policy, so it may need an admin. A container changes at the next deploy. An RDS database changes now and may restart briefly, with no deploy needed.

ParameterTypeDescription
resourceId *stringResource id from app_describe_resources
size *stringNew size

app_switch_resource

Move a managed resource between container and RDS. Ask the user which mode they want, never pick one yourself. migrate copies the data, with the app stopped for the whole copy, which takes longer for a larger database. empty starts the app on an empty database, leaving the data behind. Either way the old database is kept stopped for 7 days, then removed. If a migrate fails, the app comes back on the old database. Falls under the availability action policy. It runs in the background: check app_describe_resources until the status is ready again, then read lastSwitchError, since a failed switch a…

ParameterTypeDescription
backing *stringThe backing to move to
mode *stringWhat happens to the data. Required, ask the user
resourceId *stringResource id from app_describe_resources
multiAzbooleanRDS only: a standby in a second zone, where the policy allows it. Doubles the cost. Not carried over from an earlier RDS database

app_delete_resource

Delete a managed resource and its data. A final backup is always taken first, and the delete stops if it fails. Falls under the data_loss action policy and deletion protection. It runs in the background: check app_describe_resources until it is gone, then deploy so the app stops using it. Confirm with the user first.

ParameterTypeDescription
resourceId *stringResource id from app_describe_resources