1. Conduid
  2. Healthcare
  3. AppCrane
MCP server · Healthcare

AppCrane

Deploy and manage apps on your own AppCrane instance, the self-hosted PaaS for AI-built apps.

Unclaimed healthcare
44Fair

Scored 22 hours ago · breakdown

About AppCrane

AppCrane is an MCP server published by gitayg in the Healthcare category: deploy and manage apps on your own AppCrane instance, the self-hosted PaaS for AI-built apps. Conduid read 70 tools from its source: appcrane_adopt_app, appcrane_append_app_context, appcrane_approve_access_request, appcrane_cat, appcrane_check_resource_limits, appcrane_cp and 64 more. No package is published for it, so it installs from a source checkout.

The repository has 8 stars and 2 forks, and its last commit was on 3 Dec 2026. Conduid has no tagged release on record for it. Its topics include healthcare.

Install

From source
git clone https://github.com/gitayg/appCrane

Tools (70)

appcrane_adopt_appAdopt an app built with Lovable, Bolt, v0, Replit, Figma Make or any GitHub repo / zip onto this AppCrane: behind its SSO, scanned, deployed to the SANDBOX only. Two steps. (1) action="analyze" with github_url (public, or private with github_token) or zip_url (an https link to a zip). Nothing from the project is executed: AppCrane reads the files, detects the framework, build/start commands and port, the env vars the code reads, Supabase/Firebase/Clerk/Auth0 usage and hardcoded secrets, and returns an adoption report plus an adoption_id. A Lovable/Bolt/v0/Replit project URL is not importable directly; the error says which export step to use. (2) action="adopt" with adoption_id, name, slug and env_vars=[{key,value}] creates a Crane-hosted managed app, commits the code plus any missing Dockerfile/deployhub.json/health endpoint, stores the env vars encrypted for the sandbox, starts the first sandbox deploy, records the intake (purpose, data_classification, intake_answers) and with open_requests=true opens one request per needed change for the coder. stage must be "sandbox"; production is refused. A report with critical risks (e.g. a Supabase service-role key in client code) needs acknowledge_risks=true. Follow the deploy with appcrane_wait_deploy.
ParameterTypeDescription
acknowledge_risksbooleanadopt: required when the report has critical risks.
action *stringanalyze a source, or adopt a previous analysis.
adoption_idstringadopt: the id returned by analyze.
descriptionstringadopt: optional app description.
env_varsarrayadopt: sandbox env vars to set (stored encrypted). Values found in an uploaded .env are used for keys you leave out.
github_tokenstringanalyze: a token that can read a private repository. Used once, never stored.
github_urlstringanalyze: GitHub repository URL (optionally .../tree/<branch>).
intakeobjectadopt: intake record for the new app.
namestringadopt: display name.
open_requestsbooleanadopt: open a request per change the report asks for.
refstringanalyze: branch, tag or commit. Defaults to the default branch.
slugstringadopt: URL slug, lowercase letters, digits and dashes.
stagestringadopt: must be "sandbox". Production is refused.
zip_urlstringanalyze: https URL of a project zip (private addresses and redirects are refused).
appcrane_append_app_contextAppend a note to an app's agent context, so the AppCrane coder knows what you just learned. This is the tool to reach for by default: it cannot destroy what someone else wrote, which appcrane_set_app_context can. The note is added under a timestamped heading. Write what would be expensive for the next agent to rediscover — a constraint, a gotcha, why something is the way it is — not a transcript of what you did. App admin or owner required.
ParameterTypeDescription
headingstringOptional short title for this note, e.g. "Deploy gotcha". Defaults to a timestamp alone.
note *stringMarkdown to append. Written under a heading naming who added it and when.
slug *stringApp slug.
appcrane_approve_access_requestApprove a pending access request: grants the requester access to the app at `role` (default "user") and marks the enhancement_request as done. Verifies the request is actually an access request before acting. App-admin / owner / platform admin required; only an owner or platform admin can approve at the owner role.
ParameterTypeDescription
request_id *integerenhancement_requests.id from appcrane_list_access_requests
rolestring
appcrane_catPrint the contents of a file inside a running app container. Read-only; bound to safe roots (/app and /data only). Refuses files larger than 256KB; truncate by reading the first N bytes via path tricks if you need a tail. env="production" needs the app owner or a platform admin and a person's recent confirmation, like appcrane_reveal_secret: a call refused with STEP_UP_REQUIRED names a link for the user to open and confirm.
ParameterTypeDescription
envstring
path *stringAbsolute path inside the container, must start with /app or /data
slug *string
appcrane_check_resource_limitsWhich containers are NOT running with the CPU/RAM limits AppCrane has configured for them? Compares every app row against the limits actually in force on its container and reports only the mismatches. `--memory` and `--cpus` are `docker run` flags, so changing a limit rewrites the database and nothing else until the container is RECREATED — a container created before the limit was set keeps running without it, and every other AppCrane surface reports the CONFIGURED number, so the two are indistinguishable without this. `memory state=not_applied` means NO limit at all: that container can take the whole host, and on a host with no swap that ends as a global OOM kill of whatever the kernel judges largest. Answers `applied: null` (unknown) rather than guessing when Docker cannot be read. ADMIN ONLY.
ParameterTypeDescription
include_okbooleanAlso list containers whose limits ARE applied. Default false — the point is the exceptions.
slugstringCheck one app instead of the whole fleet.
appcrane_cpCopy/upload a file straight into the app's persistent /data volume on the host (aliases: appcrane_upload, appcrane_set_data_blob) — single hop, no container round-trip, no GitHub round-trip, no inline size ceiling. The bytes land at /data/apps/<slug>/<env>/shared/data/<path>, which is the SAME path the running container sees mounted as /data/<path>. Right tool for multi-MB datasets, large fixtures, or anything where appcrane_push_to_managed_app's tool-arg ceiling would force chunking. Returns the SHA-256 + byte count of what was stored so the caller can verify integrity. App-admin or owner of the app required. NEVER returns secrets in the response. Path must be repo-relative, no `..`, no leading slash.
ParameterTypeDescription
content *stringThe data to write. utf-8 string or base64-encoded bytes depending on encoding.
encodingstringDefaults to utf-8. Use base64 for binary blobs.
envstringWhich env's /data volume to write to.
path *stringPath within /data, e.g. "datasets/threats.json" or "cache/build.tar.gz". No leading slash, no "..".
slug *stringApp slug.
appcrane_create_app`POST /api/apps`
ParameterTypeDescription
branchstringBranch to track. Default: main
container_portintegerPort the image listens on inside the container. Omit only if the image really listens on 3000 (what an AppCrane-built image does); a third-party image usually does not — odoo is 8069, nginx is 80. Getting this wrong makes the app unreachable, not slow.
descriptionstring
domainstringOptional custom domain. If omitted, the app lives under CRANE_DOMAIN/<slug>/.
github_tokenstringGitHub PAT for private repos. Stored encrypted; only used to clone.
github_urlstringGitHub repo URL, e.g. https://github.com/me/mysite. Required unless source_type is 'image'.
health_pathstringHTTP path AppCrane health-checks. Omit only if the image serves /api/health (the AppCrane-built default). A stock image will not, and a health check against a 404 marks a working app unhealthy.
image_refstringPrebuilt container image to run instead of building from source, e.g. "odoo:19" or "ghcr.io/owner/app@sha256:<64 hex>". Sets source_type='image'. The reference MUST name a version: a bare name ("odoo") and an explicit ":latest" are both REFUSED, because AppCrane records the resolved digest as the deployment's identity and against an unpinned tag that record is wrong as soon as upstream moves. A digest is the real pin; a version tag ("odoo:19") is accepted and is how you pick up a patch release on redeploy. Credentials never go in the reference — a private registry authenticates through the Docker daemon's own credential store, set up out of band.
intakeobjectApp intake. data_classification decides whether production waits for a platform admin's security approval (by default confidential and restricted do; sandbox never waits). Omitted: internal.
max_cpu_percentnumberPer-container CPU cap. Default: 50.
max_ram_mbnumberPer-container memory cap. Default: 512.
name *stringDisplay name (shown in dashboard)
slug *stringURL-safe identifier — lowercase letters, digits, dashes; must start with a letter or digit. Lives at /<slug>/.
source_typestring'github' (default) clones and builds a repo; 'image' runs a prebuilt image and never builds. Implied when image_ref is passed.
appcrane_create_app_roleDefine a new role for an app to enforce itself — the vocabulary side of app-defined roles. This does NOT grant AppCrane privileges of any kind, and it does NOT give anyone the role: use appcrane_set_user_app_roles for that. To change who may deploy / read env / delete, you want appcrane_grant_app_access, not this tool. key is what the app's code compares against and is immutable once created; it must match /^[a-z][a-z0-9_-]{0,31}$/ and may not be one of the AppCrane-reserved words (${RESERVED_KEYS.join(', ')}).label is the human name shown in the dashboard. An app may define at most ${MAX_ROLES_PER_APP} roles. Owner or admin of the app required.
ParameterTypeDescription
descriptionstringOptional. What the app lets this role do.
key *stringMachine key the app matches on, e.g. "approver". Lowercase, immutable.
label *stringHuman-readable name, e.g. "Budget approver"
slug *string
appcrane_create_managed_appCreate a new managed app — AppCrane creates and owns its git repository, and the agent works against it through appcrane_push_to_managed_app / appcrane_managed_* tools without the end user ever needing a GitHub account or PAT. New managed apps are hosted on this AppCrane server: there is no GitHub repo and no web URL, so github_* tools cannot reach it (managed apps created before this keep their GitHub repo and work as before). Use this when the user does not have a GitHub account or does not want to deal with GitHub at all. Returns the same shape as appcrane_create_app, plus the repo metadata. IDEMPOTENT RECOVERY: if the slug already exists as a managed app but its AMC_ repo was never created (a half-created app from an earlier failure — push then returns REPO_NOT_FOUND), calling this again re-provisions the missing repo where that app's repo belongs and returns { repaired: true } instead of erroring. So if a create attempt half-failed, just call it again with the same slug. Owner-or-admin to repair an existing one. TEMPLATE: pass template (node-react, python-fastapi or static-site) to commit a golden-path starter as the repo's first commit: identity middleware that verifies AppCrane's signed X-AppCrane-* headers and refuses unsigned ones, a role check, managed Postgres with a migration (not static-site), /api/health, tests, env.example, README and CLAUDE.md. The response's template field reports the commit; no deploy is started.
ParameterTypeDescription
branchstringDefault branch for the new repo. Defaults to "main".
descriptionstringOptional. Used as both app description and repo description.
domainstringOptional custom domain.
intakeobjectApp intake. data_classification decides whether production waits for a platform admin's security approval (by default confidential and restricted do; sandbox never waits). Omitted: internal.
max_cpu_percentnumberPer-container CPU cap. Default: 50.
max_ram_mbnumberPer-container memory cap. Default: 512.
name *stringDisplay name (human-readable)
slug *stringURL slug, lowercase-alphanumeric-with-dashes. Becomes the repo name.
templatestringOptional. Seed the new repo with this starter template (slug and name filled in). node-react: Express + React (Vite); python-fastapi: FastAPI with its own Dockerfile; static-site: public/ served by a dependency-free Node server. Omit for an empty repo.
appcrane_delete_appPermanently delete an app from AppCrane. IRREVERSIBLE. Stops and removes its sandbox and production containers, images and Docker volume records, drops its managed databases, and deletes its rows (deployments, env vars, health, webhooks, backups records, roles, sessions); Caddy routes are removed. Pass confirm_slug equal to slug, typed out: a call without it, or with any other value, is refused and changes nothing. Ask the user before calling this. A key or agent also needs the user's recent confirmation: a call refused with STEP_UP_REQUIRED names a link for the user to open and confirm, then retry within the minutes it states. Only the app's owner or a platform admin may delete, and only when the role matrix also grants app.delete (the same gate as the dashboard's Delete button). Read-only keys, the coder's connection, and keys whose MCP scope excludes the app are refused. Moved to the trash (DATA_DIR/trash, kept 30 days, never purged automatically; a platform admin can purge it from the Reconcile page): the app's data directory and, for a Crane-hosted (local git) managed app, its bare repository, so the slug can be reused. Kept: the audit trail; a GitHub repository is never touched.
ParameterTypeDescription
confirm_slug *stringMust equal slug exactly. A safeguard against deleting the wrong app.
slug *stringSlug of the app to delete.
appcrane_deny_access_requestDeny a pending access request: marks the enhancement_request as done WITHOUT granting access. Optionally appends a reason to the original message so the requester (and the audit trail) sees why. App-admin / owner / platform admin required.
ParameterTypeDescription
reasonstringOptional. Appended to the request message.
request_id *integer
appcrane_deploy`POST /api/apps/:slug/deploy/:env`
ParameterTypeDescription
acknowledge_data_lossbooleanConfirms that the state at the paths named in this tool's DATA_LOSS_NOT_ACKNOWLEDGED error may be destroyed. Only set it after the error has told you which paths those are AND the user has agreed to lose them. Ignored when nothing is at risk.
envstring
labelstringOptional release label shown in the release log and usable as a filter there, e.g. "rules=v3". 1-40 of letters, digits and . _ = -
slug *stringApp slug to deploy
appcrane_deploy_artifactDeploy a release from an uploaded BUNDLE instead of from git. For an app with no GitHub repo, and the fallback when the repo path is unavailable — an expired service-account PAT blocks every managed-repo write, and this route does not touch GitHub at all. Two steps: (1) upload the bundle with `curl -F file=@dist.zip -H "X-API-Key: <your dhk_mcp_ key>" https://<host>/api/files/staged` — your MCP key IS allowed on that endpoint; it returns { token, sha256, size_bytes }. (2) Call this tool with that token. Accepts .zip, .tar.gz, .tgz, up to the staged-file limit. The release is identified by a SHA-256 AppCrane computes over the bytes, recorded as commit_hash "sha256:<digest>"; the tool re-hashes the staged bytes and refuses if they no longer match what was staged. Returns that digest — compare it against the one you computed locally. Deploys to sandbox unless env=production. DATA LOSS: like appcrane_deploy, this replaces the container. If the app persists paths AppCrane is not mounting, the tool refuses and names them; retry with acknowledge_data_loss=true only after the user has agreed to lose exactly those paths.
ParameterTypeDescription
acknowledge_data_lossbooleanConfirms that the state at the paths named in this tool's DATA_LOSS_NOT_ACKNOWLEDGED error may be destroyed. Set it only after the error has named those paths and the user has agreed.
commit_messagestringOptional release note, shown in the deploy history
commit_shastringOptional git SHA from the machine that BUILT the bundle. Recorded as context only — it is not verified and does not become the release identity.
envstring
slug *stringTarget app slug
token *stringToken returned by POST /api/files/staged
appcrane_get_app`GET /api/apps`, `GET /api/apps/:slug`
ParameterTypeDescription
slug *stringApp slug, e.g. "mysite"
appcrane_get_app_contextRead an app's agent context — the operator notes at DATA_DIR/apps/<slug>/agent-context.md that are injected into every AppCrane coder dispatch for that app. Use this before writing, so an append or a replace is an informed one. Returns an empty string when no context has been written yet. App admin or owner (or platform admin) required, because these notes routinely contain internal detail about how an app is built and operated.
ParameterTypeDescription
slug *stringApp slug.
appcrane_get_app_ingressRead HOW an app is reachable. ingress_type is `http` (default — every request goes through Caddy: TLS, AppCrane SSO/forward_auth, X-AppCrane-* identity headers, security headers, access logs), `tcp` (the container port is published DIRECTLY on the host at public_port, with Caddy not in the path at all — for apps that do not speak HTTP, e.g. a forward/CONNECT proxy handing back a raw tunnel), or `dual` (v2.45.0 — BOTH at once: an ordinary HTTP control plane still served through Caddy on container port
ParameterTypeDescription
slug *stringApp slug.
appcrane_get_app_scanThe latest recorded dependency scan of ONE app, per stage (production and sandbox): each stage's `status`, the manifest it read, and its findings, each with `name`, `version`, `ecosystem`, advisory `ids` and `fixed` (the version that resolves them, or null when no fix is published yet — null never means harmless). Use it before changing a manifest or lockfile to see what is actually flagged on the live release, and after a release to check a finding is gone. READ `status` FIRST: `ok` and `findings` are scan results; `skipped`, `error` or no scan row mean the stage was NOT scanned, which is not a clean result. Coverage is per manifest: a manifest not named in `manifests_scanned` was never read. Report-only: findings never block a deploy. Any member of the app; the same findings the scan-opened requests carry.
ParameterTypeDescription
slug *stringApp slug, e.g. "mysite"
appcrane_get_auditRead an app's audit trail: who deployed, who changed env vars or secrets, who was granted access, every MCP tool call against it, newest first. Needs the app.audit.view permission on that app (default: the app owner, app admins and platform admins; plain members are refused unless the role matrix grants it). Paginate with before: pass the next_before value from the previous page to get older rows; next_before is null on the last page. limit defaults to 50, max 200. action filters by a substring of the action name, e.g. "deploy", "env", "mcp.appcrane_set_secret". Credential-bearing fields in detail are shown as [redacted]. source "app" reads instead the audit events the app itself wrote (POST /api/service/audit/events with its service token): action is then an exact action or a prefix ending in "." (e.g. "invoice."), and each event carries actor, targets, context and metadata; actor.verified is false when the actor is only what the app reported.
ParameterTypeDescription
actionstringOnly rows whose action contains this text (source "app": exact action, or a prefix ending in ".").
beforenumberReturn rows with an id lower than this (the next_before of the previous page).
limitnumberRows per page. Default ${AUDIT_DEFAULT_LIMIT}, max ${AUDIT_MAX_LIMIT}.
slug *stringApp slug.
sourcestringplatform (default): what AppCrane recorded about the app. app: the audit events the app wrote itself.
appcrane_get_backup_status`POST /api/apps/:slug/backup/:env`, `GET /api/apps/:slug/backups`
appcrane_get_deploy_log`GET /api/apps/:slug/deployments/:env`, `…/:id/log`
ParameterTypeDescription
deployment_idintegerSpecific deployment id. Preferred — unambiguous.
envstringRequired when deployment_id is not given.
slugstringApp slug. Required when deployment_id is not given.
tailintegerReturn only the last N lines. Defaults to 500; full log can be many KB on a long build.
appcrane_get_guideFetch the latest AppCrane playbook on a given topic. Use this at the START of any non-trivial workflow so you operate on the current authoritative guidance, not on whatever you remember from a past session. Topics: "onboarding" = the full new-app onboarding playbook (paths a/b/c/d, health-endpoint contract, common pitfalls). "operations" = the comprehensive agent operations guide (deploy, env, logs, rollback, every appcrane_* tool). "email" = how a hosted app sends email through AppCrane (the /api/service/email endpoint, env vars, recipient rules). Topic defaults to "onboarding" if omitted. Returns markdown.
ParameterTypeDescription
topicstringWhich guide to fetch. Default: onboarding.
appcrane_get_health`GET` / `PUT /api/apps/:slug/health/:env`
ParameterTypeDescription
envstring
slug *stringApp slug, e.g. "mysite"
appcrane_get_logs`GET /api/:slug/logs/:env`
ParameterTypeDescription
envstring
linesnumber
searchstringFilter to lines containing this substring (case-insensitive)
slug *string
appcrane_get_secretList an app's secrets (encrypted env vars) with their values MASKED — safe to show in chat. For each key you get: is_set, length, a short preview (last 3 chars, rest masked; fully masked for short values), a keyed `fingerprint` (compare two envs or detect a changed value without seeing it; it cannot be checked against guesses), and updated_at. For a PRODUCTION value you may not reveal (anyone but the app owner or a platform admin), length and fingerprint are left out and the preview is fully masked. This is what you want for "is X set?", "did the key change?", "which vars exist?". Does NOT return plaintext — a secret never lands in the transcript. To read one actual value, use appcrane_reveal_secret with a specific key. A var that is a Secrets Manager reference also has source="secrets_manager" and value set to the reference text (secretsmanager:<NAME>[#field]); the value in AWS is never fetched. Defaults to sandbox; pass env="production" only when the user explicitly says production. App-admin or AppCrane admin only.
ParameterTypeDescription
envstring
slug *stringApp slug, e.g. "mysite"
appcrane_grant_app_access`PUT /api/apps/:slug/users`
ParameterTypeDescription
rolestring
slug *string
user *stringUser id (numeric string), email, or username
appcrane_list_access_requestsList pending access requests — enhancement_requests rows whose message starts with "Access request for app …" (the portal's Request-access button posts these). With slug, scopes to one app; without, returns access requests across every app the caller can administer. App-admin / owner / platform admin required.
ParameterTypeDescription
slugstringOptional. Limit to one app.
appcrane_list_app_membersList every user who has access to an app, with their per-app role (owner / admin / user / viewer / none). Use this before granting or revoking to see who is already in. Returns email + name + role for each member. App-admin or owner of the app required (or platform admin).
ParameterTypeDescription
slug *string
appcrane_list_app_releases`GET /api/apps/:slug/releases?env=&label=&format=csv`
ParameterTypeDescription
envstringOmit for both environments.
labelstringOnly releases with exactly this label.
limitintegerMax rows (default 50).
slug *string
appcrane_list_app_rolesList the roles an app defines FOR ITSELF (approver, auditor, reviewer — whatever that app invented). Any member sees the roles and how many hold each; an owner or admin also gets `members`, the roster of who holds what. These are NOT AppCrane permissions: they grant nothing on the platform and are only handed to the app, in the X-AppCrane-App-Roles request header and in /api/me's app_roles array, for the app's own code to enforce. For AppCrane's own per-app tier — owner/admin/user/viewer, i.e. who may deploy, read env vars, or delete the app — use appcrane_list_app_members instead. Call this before creating a role (to avoid duplicating one) or before setting a user's roles (to see the valid keys). Requires being assigned to the app.
ParameterTypeDescription
slug *string
appcrane_list_apps`GET /api/apps`, `GET /api/apps/:slug`
appcrane_list_capability_requestsSee capability approvals. With slug: that app's policy per capability, its active grants (including grandfathered, unreviewed ones) and open requests; any member of the app. Without slug: platform admins get the platform-wide queue (status pending by default; unreviewed, active, flagged, denied or all), others get the open requests of the apps they own or administer.
ParameterTypeDescription
slugstringApp slug (optional).
statusstring
appcrane_list_cronList the scheduled jobs of an app: those declared in its deployhub.json `cron` array (origin "manifest", kind "exec": a docker exec) and those AppCrane created from the `crons` of its vercel.json (origin "vercel", kind "http": GET http_path on the app's own container, with Authorization: Bearer CRON_SECRET when the app sets CRON_SECRET), as of the most recent deploy. Each entry includes the cron schedule (UTC), the command, when it last ran, the exit code (0 = success; for an http job, a 2xx answer), last_http_status for an http job, and the tail of the last run's output. Use to verify a job was registered, debug a missing run, or read the recent log. App-admin or owner.
ParameterTypeDescription
envstringOptional — omit to list both envs.
slug *string
appcrane_list_databasesWhat managed databases an app already has: engine, database name, login name and when it was created. Call it before appcrane_provision_database so you do not ask for something that exists, and when debugging a database-related failure to settle which fault you are looking at — "this app has no database" and "this app has a database it cannot reach" are different problems with different fixes, and they look identical from the app's error message. AN EMPTY LIST IS AN ANSWER, NOT AN ERROR: it means no managed database has been provisioned, which is the correct and expected state for an app that brings its own database or needs none. Do not read it as a failure. NEVER returns a password, a connection URL, a host or a port — no AppCrane surface hands the credential out, because the deployer injects it into the container environment and nothing asks a human or an agent to hold it. What is here is identity, not access. It reports what AppCrane has on file; it does not connect to the engine, so it cannot tell you whether the server is up or whether the app's own connection is working. Each database carries env: "production" for the app's own database (which sandbox shares by default) or "sandbox" for the sandbox's own database under the Separate sandbox database setting; by_env says which database each environment's next deploy or restart uses. ACCESS: requires access to the app.
ParameterTypeDescription
slug *stringApp slug, e.g. "bookstack".
appcrane_list_releases`GET /api/apps/:slug/deployments/:env`, `…/:id/log`
ParameterTypeDescription
envstring
limitintegerMax rows (default 10).
slug *string
appcrane_list_requestsList enhancement requests filed against an app via the AppCrane intake form. Use this when the user asks "what should I work on?", "what's queued for X?", or wants to pick up tickets. Returns id, message, app_slug, submitter, and bucket. Buckets: triage (unclaimed), in_progress (someone is working on it), shipped (merged + deployed), validated (requester confirmed). Filter by bucket="triage" to find work to pick up.
ParameterTypeDescription
bucketstringFilter to one bucket. Most useful: "triage" for unclaimed work.
limitnumber
slugstringFilter by app slug. Omit to see across all accessible apps.
appcrane_lsList files inside a running app container at a specific path. Use to verify what actually got built / what files made it into the deployed image. Read-only; bound to safe roots (/app and /data only). Returns the directory listing as text.
ParameterTypeDescription
envstring
pathstringAbsolute path inside the container, must start with /app or /data
slug *string
appcrane_managed_assembleFinish a chunked upload started with appcrane_managed_push_chunk: concatenate all parts of a `session` in order, verify the whole, and commit the assembled file to the managed app's AMC_<slug> repo as a single commit. Fails if any part is missing. If you pass `sha256` (hex SHA-256 of the ENTIRE original file's bytes), the server verifies the reassembled bytes against it and refuses to commit on mismatch — always pass it for large or binary files. On success the staged parts are deleted. Returns the commit sha plus the committed file's sha256 and byte length.
ParameterTypeDescription
branchstringTarget branch. Defaults to the app's branch / repo default.
messagestringCommit message. Defaults to "chore: update <path>".
path *stringThe destination path; must match what the parts were staged with.
session *stringThe upload id you used for appcrane_managed_push_chunk.
sha256stringOptional hex SHA-256 of the whole original file. If given, the reassembled bytes are verified against it before committing.
slug *stringManaged app slug (repo AMC_<slug>).
appcrane_managed_patchEdit an existing text file in a managed app's AMC_<slug> repo by applying a unified diff, entirely over MCP — you emit only the changed hunks, not the whole file. Ideal for small edits to a large file (avoids re-emitting the whole thing, which is where inline truncation comes from). The server fetches the current file, applies your `unified_diff`, and commits the result as a single commit. The diff must be a standard unified diff (as from `git diff` / `diff -u`): `@@ -old,len +new,len @@` hunk headers, lines prefixed with " " (context), "-" (remove), "+" (add). Include a few context lines around each change. Hunks are matched by CONTENT (not just line numbers), so small line drift is tolerated — but if a hunk's context does not match the current file, the whole patch is rejected and nothing is committed (re-read the file and regenerate the diff). Only single-file diffs are supported; the target is `path`, not the diff's ---/+++ headers.
ParameterTypeDescription
branchstringTarget branch. Defaults to the app's branch / repo default.
messagestringCommit message. Defaults to "chore: patch <path>".
path *stringRepo-relative path of the file to patch (no leading slash, no "..").
slug *stringManaged app slug (repo AMC_<slug>).
unified_diff *stringA standard unified diff to apply to the current contents of `path`.
appcrane_managed_push_chunkStage ONE part of a large file for a managed app, entirely over MCP (no HTTP upload). Use this + appcrane_managed_assemble when a file is too large to emit reliably inline via appcrane_push_to_managed_app (roughly >64 KB of code). Workflow: pick an opaque `session` id (any unique string, e.g. "app.tsx-1"), split the file into N parts, and call this once per part with part=1..N and of=N. The parts are held server-side keyed by (session, part); appcrane_managed_assemble then concatenates them in order, verifies the whole, and commits. Split on any boundary you like (byte or line) — assemble concatenates the decoded bytes verbatim, so the split points do not need to be newlines. Keep each part small (≤ ~48 KB of content) so inline emission stays reliable. encoding defaults to "utf-8"; use "base64" for binary. If you provide `sha256` (hex SHA-256 of THIS part's decoded bytes), the server verifies it on arrival and rejects a corrupted part immediately. Re-sending the same (session, part) overwrites it, so a failed part is safe to retry.
ParameterTypeDescription
content *stringThis part's bytes, encoded per `encoding`.
encodingstringDefaults to utf-8. Use base64 for binary files.
of *integerTotal number of parts. Must be identical across every part of a session.
part *integer1-based part number.
path *stringRepo-relative destination path (no leading slash, no ".."). Must be identical across every part of a session.
session *stringOpaque upload id grouping the parts. Any unique string; reuse the same value for every part of one file.
sha256stringOptional hex SHA-256 of this part's decoded bytes. If given, the server verifies it and rejects a mismatch.
slug *stringManaged app slug (repo AMC_<slug>).
appcrane_memory_budgetDoes the sum of every app's CONFIGURED memory ceiling fit in this host's RAM? Adds up the per-container `--memory` limits AppCrane has on file and compares the total against total host memory. THESE ARE CONFIGURED CEILINGS, NOT MEASURED USAGE: a report of "25 GB committed on a 7.6 GB host" does NOT mean the host is using 25 GB, and must never be relayed as one — it means the limits promise more than the host can deliver if the containers ever ask for it at once. Nothing here reads a running container; for what is actually in force on the containers use appcrane_check_resource_limits, and for live consumption read the host. Over-commitment is normal and is not by itself a fault (containers idle far below their ceilings) — it matters because it means there is no headroom guarantee, so a correlated event such as a post-reboot cold start, when every container loads at once, is resolved by the kernel's global OOM killer. Counts both stages of every app, which is exactly what a cold start brings up. ADMIN ONLY.
appcrane_platform_policyRead or set the two platform-wide policy levers, and list the apps currently in violation. `ban_public_apps` refuses visibility=public on every write path; `mandate_security_scans` reports every app without a completed scan in the last 48h. Both default OFF, so an upgrade enforces nothing until an admin turns one on. Call with no arguments to read the current policy plus violations; pass either boolean to change it. POLICY IS NOT RETROACTIVE: turning a lever on refuses the NEXT write and REPORTS what is already in violation — it does not reach into the database and change existing apps, and the violations it lists keep working exactly as they did. That is deliberate: silently making live public apps private would break their URLs with no warning to their owners and no record of what changed, so the list exists for an admin to work through deliberately. Never describe enabling a lever as having fixed the apps it reports; nothing about them has changed. PLATFORM ADMIN ONLY.
ParameterTypeDescription
ban_public_appsbooleanRefuse visibility=public everywhere. Existing public apps keep serving and are reported as violations.
mandate_security_scansbooleanReport every app with no completed dependency scan in the last 48h (two missed daily runs).
appcrane_promote`POST /api/apps/:slug/promote`
ParameterTypeDescription
slug *string
appcrane_provision_databaseCreate a real managed database for an app: one dedicated database plus its own login inside the platform's shared Postgres or MariaDB server. Reach for this when an app 503s, restarts in a loop, or logs a connection error against a database nobody ever created — most catalogue apps (BookStack, Ghost, Akaunting, Gitea and ~50 more) ship no database of their own and cannot boot without one. THIS CREATES REAL INFRASTRUCTURE: it starts the shared engine container if it is not already running, then creates a database and a login role that exist until somebody deletes them. Idempotent per app+engine — a second call returns the existing database rather than making another, and never rotates the password out from under a running container — so retrying after a timeout is safe. IT DOES NOT RETURN THE PASSWORD, and no AppCrane tool does. The credential is generated server-side, stored encrypted, and injected into the container's environment AT DEPLOY TIME under the variable names that app's own image reads. Do not ask for it, do not try to reconstruct it, and do not tell the user to paste it anywhere — no supported workflow needs a human or an agent to hold it. WHAT THIS DOES NOT DO: it does not restart or redeploy the app, so a container that is already running sees nothing change — call appcrane_deploy afterwards or the app will keep failing in exactly the same way. It does not create or migrate a schema; the app does that on its first successful boot. It does not delete anything, and deprovisioning is deliberately absent from the MCP surface — dropping a database is unrecoverable data loss and belongs to a human in the dashboard, not to an agent recovering from a 503. You must name the engine: pass the one the image documents (BookStack and most linuxserver.io images want mariadb; Postgres-native apps want postgres). Guessing wrong is not destructive but does not help either — it leaves an unused empty database and the app keeps 503ing. An app may hold one of each. A CUSTOM (non-catalogue) APP can instead declare "database": { "engine": "postgres" } in its deployhub.json: the next deploy provisions the database if it does not exist and injects DATABASE_URL (MONGODB_URI for mongo, REDIS_URL for redis; url_env and env rename or add variables), so no call to this tool is needed. A catalogue app keeps using its catalogue entry's variable names. ACCESS: requires an app-user assignment on that app, the same tier as env vars and backups. Being a platform admin is NOT enough on its own — assign yourself with appcrane_grant_app_access first, which is the audited step the dashboard also requires.
ParameterTypeDescription
engine *stringWhich shared engine to create the database in. Required — an app may hold one of each, and this is not guessed for you.
slug *stringApp slug the database belongs to, e.g. "bookstack".
appcrane_push_staged_fileMove a previously-staged file into a running container at a path under /app or /data. THE WAY TO GET LARGE BINARIES (DMGs, datasets, bundles) into a container when they're too big to inline through appcrane_cp. Two steps: (1) upload the bytes with a plain multipart POST to `curl -F file=@local.dmg -H "X-API-Key: <your dhk_mcp_ key>" https://<host>/api/files/staged` — your MCP key IS allowed on this endpoint (v2.10.6+); it returns { token, sha256, size_bytes }. (2) Call this tool with that token and a dest path. The container must be running. Path is validated (no "..", must start with /app or /data). The staged blob is deleted on success. For files too big for one request: POST /api/files/staged/chunked {slug, filename} returns a handle; then PUT the bytes with Content-Type: application/octet-stream to /api/files/staged/<handle>?offset=N (N = bytes sent so far; a 409 says where to resume); then POST /api/files/staged/<handle>/finalize {sha256}. The token it returns works here.
ParameterTypeDescription
dest *stringAbsolute container path under /app or /data — destination file or directory
envstring
slug *stringTarget app slug
token *stringToken returned by POST /api/files/staged
appcrane_push_to_managed_appPush a batch of files to a managed app's AMC_<slug> repo, authenticated server-side via AppCrane's service-account credential. Use this — NOT github_push_files — for managed apps, because github_* tools authenticate with the caller's personal PAT, which has zero access to the service account's repos. Multiple files become a single commit. files: [{ path, content, encoding? }] where encoding defaults to "utf-8" (use "base64" for binaries like icons). Requires the app to already exist via appcrane_create_managed_app. v2.7.22: response now includes per-file `sha256` (hex) and decoded `bytes` length so you can verify integrity — compute the SHA-256 of the bytes you sent, compare to the server's echo, and fail loudly if they differ. Essential for binary files where inline-string truncation or trailing-byte issues would otherwise produce a silently-broken commit. v2.10.7: for a large CODE file, do NOT inline it — upload the bytes over HTTP and commit by token. (1) `curl -F file=@big.js -H "X-API-Key: <your dhk_mcp_ key>" https://<host>/api/files/staged` returns { token, sha256, size_bytes }. (2) Pass that file as { path, staged_token } instead of { path, content }. The server reads the staged bytes and commits them verbatim, so 100+ KB sources push reliably without the model having to emit the content (which is where inline truncation comes from). Per file, provide exactly one of content or staged_token. Staged tokens are owner-scoped and expiring. DELETIONS: pass `deletions: ["old/path.js", ...]` to remove files in the SAME commit as the writes. Crane-hosted apps only (a GitHub-backed managed app is refused — GitHub's contents API cannot express a deletion). For a pure deletion send files: []. Every deleted path must already exist on the branch (a typo is refused by name, never a silent no-op), no path may appear in both files and deletions, and a push that would leave the repository with no files at all is refused. The response echoes what was removed as `deleted`.
ParameterTypeDescription
branchstringTarget branch. Defaults to the repo's default branch (usually "main").
deletionsarrayPaths to remove in this same commit. Crane-hosted (repo_backend=local) apps only. Combine with files, or send files: [] for a pure deletion.
files *array
messagestringCommit message. Defaults to "chore: scaffolding for <slug>".
slug *stringManaged app slug. Repo name resolved as AMC_<slug>.
appcrane_rename_appRename an app's slug. The slug is its URL, its container name and its data directory, so this changes all three — but it is NOT destructive: deploy history, env vars, ports, per-app roles and grants are keyed on the app id, not the slug, and survive untouched. The old slug is kept as a redirect unless redirect=false. The app's owner or a platform admin; only a platform admin may pass redirect=false, and an owner may rename an app at most 3 times in 24 hours. Use this instead of recreating an app under a new name, which is what loses the history. To free a slug held by an app you no longer want, rename THAT app out of the way with redirect=false rather than deleting it — deleting clears the database rows but leaves data/apps/<slug> on disk, and the rename then refuses because the directory is still there.
ParameterTypeDescription
new_slug *stringNew slug: lowercase letters, digits and dashes, starting with a letter or digit.
redirectbooleanKeep the old slug redirecting to the new one. Pass false when you are freeing the old slug for another app to take.
slug *stringCurrent app slug.
appcrane_request_capabilityAsk a platform admin to approve a sensitive capability for an app: a managed database, sign-in bypass paths, headless mode, public visibility, a raw TCP/UDP host port, a custom domain without AppCrane sign-in, outbound e-mail, an external secret store connection, the LLM gateway, outbound internet hosts (egress) or a platform API connection (connection:<name>). Owner or app admin of the app. Give a reason and the narrowest scope that works; the admin may narrow it further and set an expiry. One open request per app and capability: asking again returns the open one. This only files the request: a platform admin decides it in the dashboard, and an agent can never approve one. Scope by capability (examples): ${scopeHelp}.
ParameterTypeDescription
capability *stringOne of ${CAPABILITY_IDS.join(', ')}, or connection:<name> for a platform connection (scope { methods, path_prefixes }).
reason *stringWhy the app needs it (required, up to 1000 characters).
scopeobjectWhat exactly is needed, in the shape shown for the capability.
slug *stringApp slug.
appcrane_reveal_secretReveal the PLAINTEXT of ONE secret by key. Use ONLY when the user explicitly needs the actual value — it will appear in this conversation transcript, so treat the transcript as sensitive afterward (and consider rotating the secret if the transcript may be stored/shared). For checking whether a var is set, comparing values, or seeing what exists, use appcrane_get_secret (masked) instead — do NOT reveal just to inspect config. Single key only — it never dumps the whole env. Every reveal is audit-logged. For a Secrets Manager reference this returns the reference text with source="secrets_manager" and never fetches the value from AWS. Defaults to sandbox; env="production" only when the user explicitly asks. App admins can reveal sandbox values; a PRODUCTION value needs the app owner or a platform admin, and a person's recent confirmation: a call refused with STEP_UP_REQUIRED names a link for the user to open and confirm, then retry within the minutes it states.
ParameterTypeDescription
envstring
key *stringExact env var name to reveal (e.g. "RESEND_API_KEY"). One key per call.
slug *stringApp slug, e.g. "mysite"
appcrane_revoke_app_accessRemove a user's access from an app entirely. Idempotent: returns ok even if the user had no access. App-admin or owner of the app required (or platform admin); only an owner or platform admin can remove an owner. Refuses to remove the only remaining owner.
ParameterTypeDescription
slug *string
user *stringUser id, email, or username
appcrane_rollback`POST /api/apps/:slug/rollback/:env`
ParameterTypeDescription
deployment_idintegerTarget release id. Omit to roll back to the previous release.
envstring
slug *string
appcrane_run_backup_now`POST /api/apps/:slug/backup/:env`, `GET /api/apps/:slug/backups`
appcrane_run_cron_nowTrigger a scheduled cron job RIGHT NOW, regardless of its schedule. Useful for "I want to test my daily rebuild without waiting until midnight" or "rerun yesterday's failed job." Runs the same `docker exec` the tick loop would against the app's container, or for a job from vercel.json the same GET of its path; updates last_run_at / last_exit_code / last_log just like a scheduled run. Returns the exit code and last-log tail. App-admin or owner. Idempotent: if the job is already running (mutex held), reports it and skips rather than overlapping.
ParameterTypeDescription
envstring
name *stringJob name from deployhub.json `cron[].name`, or the vercel:<path> name appcrane_list_cron shows for a vercel.json cron.
slug *string
appcrane_scan_appScan one app's dependencies against OSV right now and record the result, instead of waiting for its next deploy or the nightly run. Use it after fixing a lockfile to confirm a finding is gone, or on an app whose last result was `skipped` or `error` to find out what it actually contains. REPORT ONLY — it records a row and feeds the daily digest; it never blocks, fails or rolls back anything, and running it cannot disturb the app. It does not throw on a failed scan either: an unreachable OSV or a missing lockfile comes back as `ok: false` with status `error` or `skipped`, meaning the app was NOT scanned and is NOT known to be clean. `ok: true` with status `findings` is the opposite case — the scan worked and found something. Reads the LIVE release through the same `current` symlink the running container was built from. Defaults to the PRODUCTION stage: most AppCrane tools default to sandbox, but the code an advisory applies to is the code that is serving. ADMIN ONLY.
ParameterTypeDescription
envstringStage to scan. Defaults to production — that is the deployed code an advisory applies to.
slug *stringApp to scan.
appcrane_scan_reportWhich hosted apps have known-vulnerable dependencies? Reports the recorded CVE scan state for the whole fleet, or for one app with `slug`. REPORT ONLY: this scan has never blocked a deploy and cannot — the apps belong to other teams who did not choose the control, so findings are recorded and mailed and the deploy proceeds either way. Never relay a finding as a deploy failure. READ `status` BEFORE READING COUNTS. It is four-valued: `ok` (scanned, nothing found) and `findings` (scanned, something found) are results; `skipped` (no lockfile AppCrane can read) and `error` (OSV unreachable, unparseable lockfile) mean the app was NOT SCANNED, as does having no scan row at all. Those two carry no findings for the same reason an unopened box is empty, and an agent that reports such an app as clean has stated the opposite of what is known — "no vulnerabilities found" is only ever true of an app whose status is `ok`. READ `coverage` BEFORE THE FINDINGS AND BEFORE `assurance`. It is the explicit arithmetic — `{ rows, covered, not_covered, skipped, errored, never_scanned, percent }` — where `percent` is covered/rows floored, and it is the only field that says how much of the fleet these numbers describe. `assurance` is still none / partial / complete and still means exactly that, but `partial` spans 1% to 99%: 30 covered rows out of 99 is `partial` and so is 98 out of 99, so NEVER relay `partial` as "mostly covered" or relay it without the counts beside it (`assurance_note` states this too). `skip_reasons` and `error_reasons` name WHY rows are uncovered, counted and most-common first, from the reason each row recorded — quote them instead of reporting a bare "67 skipped". `unscanned_count` and `unscanned_by_status` are unchanged. EVERY FINDING CARRIES `ecosystem` AND `fixed` beside `name`, `version` and `ids`. `fixed` is the version that resolves those advisories, or null when OSV PUBLISHED NO FIXED VERSION — a null means there is nothing to upgrade to yet, NEVER that no fix is needed and never that AppCrane did not look, so a null-`fixed` finding is not a harmless one. `manifests_scanned` says WHICH manifests were actually read, because coverage is per manifest and not per app: one scan row reads ONE manifest — the ecosystem named on it — so an app whose Go service was never read appears here beside its scanned npm frontend with an empty findings list, and that emptiness is evidence about the frontend only. Scans run at deploy AND daily, and the daily run is the one that matters, because it catches an advisory published against code that was already deployed and has not changed since. ADMIN ONLY.
ParameterTypeDescription
slugstringReport one app (both stages) instead of the whole fleet.
appcrane_set_app_contextREPLACE an app's entire agent context. Destructive: whatever a human or another agent wrote is gone. Prefer appcrane_append_app_context unless you are deliberately rewriting the whole document — and read it first with appcrane_get_app_context so you know what you are discarding. Pass an empty string to clear it. App admin or owner required.
ParameterTypeDescription
content *stringThe full new content. Replaces everything. Empty string clears the context.
slug *stringApp slug.
appcrane_set_app_iconSet the tile icon for an app (shown on the Dashboard, the Launcher cards, the Manage table, and the frame topbar). Accepts a base64-encoded image in PNG / SVG / WEBP / JPEG / GIF. For repo-tracked icons prefer committing public/icon.png to the repo — AppCrane picks it up automatically on each deploy. Use this MCP tool when the icon needs to change without a redeploy, or when the source isn't in the repo. Replaces any existing icon. App-admin or owner required (or platform admin).
ParameterTypeDescription
base64 *stringBase64-encoded image payload. May or may not include the data URL prefix (data:image/png;base64,…) — both work. Max 500 KB decoded.
format *stringImage format. Determines the on-disk file extension (icon.<format>).
slug *stringApp slug.
appcrane_set_app_ingressSwitch an app between HTTP ingress, raw TCP ingress and dual (both), and choose its public host port. PLATFORM ADMIN ONLY — this is not an owner self-service field like auth_mode. ingress_type=`tcp` publishes 0.0.0.0:<public_port> -> the container in ADDITION to the loopback publish every app has, so clients connect straight to the host and Caddy never sees the traffic: no forward_auth/SSO, no identity headers, no per-request audit, no rate limiting, no security headers, no TLS from AppCrane. Every control AppCrane has assumes Caddy is the only door; this adds a second one the platform does not control, and the app then owns authentication completely. Do NOT reach for this to make an app reachable without login — that is auth_mode=`headless`, which still goes through Caddy and keeps TLS, security headers and logging. Use `tcp` ONLY when the app does not speak HTTP at all (a forward/CONNECT proxy tunnels raw bytes; no reverse proxy can express that). ingress_type=`dual` (v2.45.0) is for an app that is BOTH: its HTTP control plane keeps being served through Caddy on container port
ParameterTypeDescription
data_plane_portanyCONTAINER port the raw publish targets, ${PUBLIC_PORT_MIN}-${PUBLIC_PORT_MAX}. REQUIRED with ingress_type='dual'. On any other type the only accepted value is null, which DROPS a data plane the app still has pinned — required to flip a dual app to 'tcp', since that publishes container port ${CONTROL_PLANE_PORT} instead. Must NOT be ${CONTROL_PLANE_PORT}: that is the app's HTTP control plane, the port Caddy proxies to, and publishing it raw would expose the ordinary HTTP origin with no TLS, no forward_auth, no identity headers and no request audit. Give the data plane its own listener on another port inside the container. Unlike public_port this is not globally unique — container network namespaces are separate, so two apps may each use the same container-side port.
data_plane_protocolstringTransport of the raw data plane. Only valid with ingress_type='dual' (a pure-tcp app's published port is its HTTP port, which the health probe reaches over TCP). Default tcp. Use udp for UDP-only protocols — e.g. a WireGuard relay, whose clients speak nothing else. Omit to keep the current value.
ingress_type *stringhttp = through Caddy (default). tcp = the container port is published on the host, with no AppCrane authentication in front of it. dual = both — the HTTP control plane stays behind Caddy on container port ${CONTROL_PLANE_PORT}, and a separate data_plane_port in the same container is published raw alongside it.
public_portintegerHOST port to publish. Only valid with ingress_type='tcp' or 'dual'. Omit to keep the port the app already holds, or to have one allocated from ${AUTO_PORT_MIN}-${AUTO_PORT_MAX}; name one explicitly and it may be anything in ${PUBLIC_PORT_MIN}-${PUBLIC_PORT_MAX}, which is what makes a client fleet already pinned to e.g. 8080 expressible. A port is stored, never derived from the app's slot, so it survives redeploys and renames — clients pinned to it keep working. Two apps cannot hold the same host port.
sandbox_public_portanyHOST port to publish for the SANDBOX container, so a raw data plane can be exercised before it goes live. Opt-in and independent of public_port — omit it and sandbox publishes nothing, exactly as before. Pass null to drop it. Must not equal any port any other app holds in EITHER environment; the registry enforces that. Only valid with ingress_type='tcp' or 'dual'. SECURITY: this is a SECOND unauthenticated door, on the container running your least-reviewed code — it has no forward_auth, no identity headers, no audit and no TLS from AppCrane, and behind SDP it is reachable by everything inside the perimeter.
slug *stringApp slug.
appcrane_set_app_metaSet an app's category, visibility, auth_mode, and/or auth_bypass_paths — the owner self-service fields (same controls the dashboard Launcher exposes to owners). Owner of the app (or platform admin) required. visibility is one of public / private / hidden. auth_mode is `authenticated` (default — all routes go through AppCrane SSO) or `headless` (the app bypasses forward_auth ENTIRELY and is reachable without identity — right tool for telemetry ingest, public webhooks, status pages; the app's own server is responsible for any payload-level authn). A headless app is still served BY CADDY over HTTP — TLS, security headers and access logging all still apply; it is not a raw port. An app that does not speak HTTP at all needs ingress_type='tcp', and an app that speaks HTTP AND needs a second raw port for non-HTTP clients needs ingress_type='dual' (both via appcrane_set_app_ingress, platform admin only) — different and far more exposed things. auth_bypass_paths (v2.7.27+) is an array of path prefixes (e.g. ["/ws/local-runner"]) that bypass SSO on this app only — narrower than headless mode; the app authenticates those paths itself (e.g. token in query string). The platform strips incoming X-AppCrane-* headers on bypass paths (forgery defense intact) and suppresses access logging for them (token-in-query never sits in log storage). Owners may only assign an EXISTING category; creating a brand-new category is reserved for platform admins. For powerful fields (github_url, branch, token, source_type, resource limits) use appcrane_update_app (admin only).
ParameterTypeDescription
auth_bypass_pathsarrayv2.7.27: array of path prefixes (e.g. ["/ws/local-runner"]) that bypass SSO forward_auth on this app. Requests under these prefixes reach the container with NO X-AppCrane-* identity headers — the app authenticates them itself. Caddy access-logs these paths with the query string redacted, so a query-string token never reaches log storage. Pass [] or null to clear.
auth_modestringauthenticated = AppCrane SSO + per-app role checks; headless = NO auth at the proxy (the entire app is reachable by anyone on the internet).
categorystringCategory/tag. Owners must pick one already in use; pass empty string to clear.
custom_domain_authbooleantrue = put the app's normal AppCrane sign-in in front of its custom domain too (visitors are signed in by a one-time handoff from the platform host; production roles apply). false (default) = the custom domain has no AppCrane sign-in and the app does its own auth. Same permission as domain.
domainstringv2.10.0: custom domain (e.g. "app.example.com") that serves this app at the ROOT of that domain with NO AppCrane SSO and NO topbar — the app does its own auth (unless custom_domain_auth is on). Maps to production. Requires the domain's DNS to point at this host (Caddy auto-provisions TLS). Pass "" or null to remove. The /<slug> path under the platform domain stays.
slug *stringApp slug.
visibilitystringpublic = anyone; private = assigned users; hidden = not discoverable.
appcrane_set_backup_configConfigure the scheduled off-site (S3 / S3-compatible, e.g. Cloudflare R2) backup. Every field is optional — only what you pass is changed. Enabling is REFUSED unless bucket, access_key_id and a stored secret are all present, because an enabled-but-unconfigured backup fails silently every night while every status surface reads "enabled", which is worse than being plainly off. SECURITY: `secret_access_key` is write-only — AppCrane encrypts it and never returns it — but passing it here means the plaintext value travels through this conversation and whatever logs it. Prefer Settings → Backup in the dashboard for the secret itself, and use this tool for the rest. PLATFORM ADMIN ONLY: this names the destination a copy of every secret on the platform is written to, so pointing it at the wrong bucket is an exfiltration path, not a misconfiguration.
ParameterTypeDescription
access_key_idstringAccess key id. Not a secret on its own; stored in the clear.
bucketstringDestination bucket name.
enabledbooleanTurn the nightly schedule on or off. Refused with enabled=true unless bucket, access_key_id and a stored secret all exist.
endpointstringCustom S3 endpoint for a non-AWS provider (Cloudflare R2, MinIO). Leave empty for AWS.
hourintegerHour of day (server local time) to run. Default 3.
prefixstringKey prefix inside the bucket, e.g. "appcrane/". Optional.
regionstringRegion, e.g. us-east-1. Defaults to us-east-1.
secret_access_keystringSecret access key. Write-only: encrypted at rest, never returned by any read surface. NOTE: passing it here puts the plaintext in this conversation — the dashboard is the better place for it.
appcrane_set_request_statusMove a request through the lifecycle: triage → in_progress → shipped → validated. Use this when the user says "I'll take #42" (set to in_progress), after merging a PR (set to shipped), or after confirming a fix works (set to validated). Validated requests are considered closed. Requires app-admin or AppCrane admin role.
ParameterTypeDescription
bucket *stringTarget bucket.
id *numberRequest id (the # column).
notestringOptional, used with bucket=shipped. A short plain-language summary, for the person who filed the request, of what you changed and how it affects them. It is emailed to them and shown in their My Requests list. No code, diffs, file paths, credentials or other secrets. Max 2000 characters.
appcrane_set_secretSet or update a secret (an encrypted environment variable injected into the app). Encrypted at rest; only the running app process can read the plaintext. With store="secrets_manager" (needs a secrets provider on this AppCrane) the value goes to AWS Secrets Manager under this app and env's own path, and AppCrane keeps only the reference secretsmanager:<KEY>; do not call it more than once every 10 minutes per key. You can also set a reference directly as the value: secretsmanager:<NAME> or secretsmanager:<NAME>#<jsonField>, where NAME holds only letters, digits, _ and - and always resolves under this app and env, never an ARN or a path. A reference is resolved at every deploy and restart, and one that cannot be read fails that deploy or restart. Removing the env var, or the app, does not delete the AWS secret. Defaults to sandbox; require explicit stage="production" only when the user asks. App-admin or AppCrane admin only. Respects the caller's mcp_app_scope.
ParameterTypeDescription
envstring
key *stringEnv var name. Letters, digits, underscores; must not start with a digit.
slug *string
storestringKeep the value in AWS Secrets Manager instead of AppCrane's database. Omit for an ordinary encrypted env var.
value *stringThe value to store (will be encrypted server-side).
appcrane_set_user_app_rolesSet which app-defined roles a user holds on one app. Replaces their whole set: keys omitted from the list are removed, and keys: [] clears every role they hold. This changes only what the app itself enforces — it does NOT change the user's AppCrane per-app tier, so it can neither grant nor remove deploy / env / delete power. Use appcrane_grant_app_access for that. Every key must already be defined on this app (appcrane_create_app_role) and the user must already have access to the app (appcrane_grant_app_access) — a role on a non-member is unenforceable, since the app never sees them. The result is what the app receives in X-AppCrane-App-Roles on the user's next request. Owner or admin of the app required.
ParameterTypeDescription
keys *arrayThe COMPLETE set of app-defined role keys this user should hold. [] removes all of them.
slug *string
user *stringUser id (numeric string), email, or username
appcrane_stage_assembleJoin the parts pushed with appcrane_stage_chunk into one staged file and return its token. Hand that token to appcrane_deploy_artifact to deploy it — that pair is a complete, MCP-native deploy for an app with no repo, and it does not touch GitHub. Pass sha256 of the WHOLE original file to have the reassembled bytes verified before the token is issued; without it you are trusting that every part arrived intact.
ParameterTypeDescription
filename *stringName for the assembled file. For a deploy it must end in .zip, .tar.gz or .tgz.
session *stringThe session id used for the parts.
sha256stringOptional hex SHA-256 of the whole original file, verified before the token is issued.
appcrane_stage_chunkUpload one part of a SMALL file to AppCrane over MCP. For anything bigger than a few KB use appcrane_stage_from_url instead — the bytes here are emitted by the model, so they cost output tokens per character and fail on a single typo. Capped at 8 parts for that reason. Split the file into parts small enough for a tool call (~256KB of base64 each is comfortable), send each with the same `session` and `of`, then call appcrane_stage_assemble. Parts may be sent in any order and re-sent to replace a corrupted one; the reply lists which parts are still missing. Use encoding="base64" for anything binary. Pass sha256 of THIS part to have it verified on arrival.
ParameterTypeDescription
content *stringThis part's bytes, encoded per `encoding`.
encodingstringDefaults to utf-8. Use base64 for binary.
of *integerTotal number of parts. Identical across every part of a session.
part *integer1-based part number.
session *stringOpaque id grouping the parts of one file. Any unique string; reuse it for every part.
sha256stringOptional hex SHA-256 of this part, verified on arrival.
appcrane_stage_from_urlStage a file by having AppCrane DOWNLOAD it, and return its token. THE CHEAPEST WAY to get a large artifact in: the bytes go host-to-host and never pass through your context, so a 600KB bundle costs the same handful of tokens as a 6KB one. Prefer this over appcrane_stage_chunk for anything bigger than a small text file. Give it a URL your build already produces — a GitHub release asset, an S3/R2 presigned URL, any https link the server can reach. Pass sha256 to have the downloaded bytes verified before a token is issued. Then deploy with appcrane_deploy_artifact. https only; redirects are not followed; private and link-local addresses are refused.
ParameterTypeDescription
filenamestringName to stage it under. For a deploy it must end in .zip, .tar.gz or .tgz. Defaults to the last path segment.
sha256stringOptional hex SHA-256 of the file, verified before the token is issued.
url *stringDirect https URL to the file. Must not redirect — give the final URL.
appcrane_submit_feedbackSend feedback (a bug, an idea, anything else) about an app or about AppCrane itself, when the user asks you to report something, for example "send AppCrane feedback that the deploy error did not name the missing env var". Put the user's point in message in plain words; attach what you know in context (the appcrane_* tool you were using, what the user asked for, the deploy id, the error text, your client name and version) without asking the user for it. With slug set, it goes to that app's request queue (you need access to the app); with slug omitted, it goes to the AppCrane platform admins. Secrets and e-mail addresses are removed before it is stored. Limit 20 an hour per user. Returns { id, target, where }: tell the user where to see it.
ParameterTypeDescription
contextobjectWhat you know about the situation. Only these fields are accepted.
envstringThe environment it happened in, if any.
kindstringbug, feature or other.
message *stringThe feedback in plain language, in the user's words.
slugstringThe app the feedback is about. Omit (or "appcrane") for feedback about AppCrane itself.
appcrane_top_appsTop apps by distinct active users in a lookback window. Useful for "which apps are getting the most use this week" or "what should I deprecate" type questions. Sourced from app_visits which is recorded on every Caddy forward_auth (one row per user/app/day). Returns rows ordered by user count descending. Admin only.
ParameterTypeDescription
daysintegerLookback window. Default 7, max 90.
topintegerHow many rows. Default 10, max 50.
appcrane_top_usersTop users by distinct apps opened in a lookback window. Surfaces who the heaviest cross-app users are — handy for finding power users to interview, or spotting churn risk (a user who used 10 apps last month and 0 this week). Sourced from app_visits. Active users only. Admin only.
ParameterTypeDescription
daysintegerLookback window. Default 7, max 90.
topintegerHow many rows. Default 10, max 50.
appcrane_update_appPatch fields on an existing app. Use this to fix a missing github_url after the fact, change branch, rotate the github_token, retag with category/visibility, point an image app at a new image_ref, or adjust resource limits — anything you would otherwise need direct DB access for. Only includes fields you pass; omitted fields are left alone. To clear a string field pass an empty string. Returns the same shape as appcrane_get_app.
ParameterTypeDescription
auth_bypass_pathsarrayv2.7.27: array of path prefixes (e.g. ["/ws/local-runner"]) that bypass SSO forward_auth on this app. Requests under these prefixes reach the container with NO X-AppCrane-* identity headers — the app authenticates them itself (e.g. token in query string). Caddy access-logs these paths with the query string redacted, so a query-string token never reaches log storage. Pass [] or null to clear.
branchstring
categorystring
container_portintegerPort the image listens on inside the container. Omit only if the image really listens on 3000 (what an AppCrane-built image does); a third-party image usually does not — odoo is 8069, nginx is 80. Getting this wrong makes the app unreachable, not slow.
descriptionstring
domainstring
frame_ancestorsstring
github_tokenstringPAT for private clones. Stored encrypted (AES-256-GCM). Omit to leave the existing token alone; pass empty string to clear it; pass a value to rotate.
github_urlstringgithub.com URL of the source repo. Pass empty string to clear.
health_pathstring
image_refstring
image_retentionintegerHow many PREVIOUS per-commit images to keep per environment, on top of the running one. Default 1: the previous release's image stays on disk, so rolling back to it restarts instead of rebuilding. Raise it to make older rollback targets fast too (each extra image costs roughly the app's own layers, tens of kB when only source changed between deploys, tens of MB when dependencies did). 0 keeps only the running image and makes every rollback rebuild.
max_cpu_percentnumberPer-container CPU cap (0-100).
max_ram_mbnumberPer-container memory cap.
namestring
public_accessinteger
separate_sandbox_dbbooleanCatalogue apps only (a database declared in deployhub.json is always separate per stage): give the sandbox its own managed database instead of sharing production's (default false). true: the next sandbox deploy or restart provisions a new EMPTY database with its own login for each engine the app uses and injects it under the same variable names; production's database is unchanged. false: sandbox goes back to the shared database on its next deploy or restart, and the sandbox database is NOT deleted (drop it from the dashboard). App owner, app admin or platform admin.
show_sandboxbooleanOffer the Sandbox deployment to members and viewers on the launch surfaces (default true). false hides it from them; owners, app admins and platform admins still see it, and the sandbox URL keeps working. App owner or platform admin only.
slug *stringApp slug to update.
source_typestring
visibilitystring
appcrane_wait_deployBlock until a deployment reaches a terminal state (live / failed / rolled_back), then return its final status. Use after appcrane_deploy instead of polling appcrane_get_logs in a loop. Returns immediately if the deployment is already terminal. Defaults to 180s timeout, hard-capped at 600s. On timeout, returns { status: "pending", timed_out: true } so the caller can decide whether to keep waiting.
ParameterTypeDescription
deployment_id *numberDeployment id from appcrane_deploy
timeout_secnumberHow long to wait. Default 180s, max 600s.

Security checks

6 checks have not been run yet.

Questions

About AppCrane

How do I install AppCrane?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is AppCrane safe to use with an AI agent?

Its trust score is 44 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is AppCrane still maintained?

Yes — the last commit was 2 hours ago. The repository has 8 stars and 2 forks.

What tools does AppCrane provide?

Conduid read 70 tools from the source: appcrane_adopt_app, appcrane_append_app_context, appcrane_approve_access_request, appcrane_cat, appcrane_check_resource_limits, appcrane_cp, appcrane_create_app, appcrane_create_app_role and 62 more. 66 of them publish their parameters, listed under Tools above.