Apprua
v1.1.1Publish the apps you build with AI on your own PC or server, from any AI app that supports MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
publish_app Publish a new app
Packs a local folder and publishes it as a NEW app on Apprua, the user's own app server ("publish on Apprua" / "pubblica su Apprua" means this tool; the app gets its own address, https://<name>.<domain> or http://<name>.localhost). BEFORE calling: confirm with the user the app name, a one-line description, and whether the app saves data (persistent=true keeps /data across deploys). Never put secrets (API keys, passwords) in the files: use set_env after publishing. Supported: a Dockerfile, a Node/Python/... project, or a static folder with index.html. If the app needs to know who is using it (s…
| Parameter | Type | Description |
|---|---|---|
description * | string | What the app does, one sentence |
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
path * | string | Absolute path of the local folder to publish (on this PC). If the user says "this project", use the root folder of the project you are working on |
persistent | boolean | true if the app stores data (files/SQLite) in /data that must survive restarts and new versions |
port | integer | Port the app listens on, if not obvious (static sites: omit) |
update_app Publish a new version
Publishes a new version of an EXISTING app of the user from a local folder. If the app was changed in the meantime from another copy, it refuses instead of overwriting: then use clone_app to get the latest version, apply the changes there and retry.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path of the local folder (on this PC); for "this project" use the root of the current project |
name | string | App name (optional if the folder was published or cloned before) |
port | integer |
list_my_apps My apps
Lists the user's apps on Apprua with status and URL.
app_status App status
Status, URL, limits, last deploy and recent versions of one of the user's apps.
| Parameter | Type | Description |
|---|---|---|
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
app_logs App logs
Last log lines of an app: type "runtime" (the running app) or "build" (last deploy). Use it to diagnose errors and propose fixes.
| Parameter | Type | Description |
|---|---|---|
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
lines | integer | |
type | string |
restart_app Restart app
Restart app (only apps owned by the user).
| Parameter | Type | Description |
|---|---|---|
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
start_app Start app
Start app (only apps owned by the user).
| Parameter | Type | Description |
|---|---|---|
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
stop_app Stop app
Stop app (only apps owned by the user). The app stays offline until start_app. Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
set_env Set an environment variable or secret
Sets an environment variable / secret of the app (e.g. an API key or a database password) and restarts it. The value is stored on the server, never in the code, and is never shown back. Ask the user for the value; do not write it in any file.
| Parameter | Type | Description |
|---|---|---|
key * | string | UPPER_CASE name, e.g. OPENAI_API_KEY |
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
value * | string | |
restart | boolean |
unset_env Remove an environment variable or secret
Removes an environment variable / secret from the app and restarts it. app_status lists the names that are set (never the values).
| Parameter | Type | Description |
|---|---|---|
key * | string | |
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
restart | boolean |
restore_version Go back to an earlier version
Puts an earlier version of the app online again: it becomes the newest version (nothing is lost, the history is kept) and is published. app_status lists the versions (commit, date, message). Use it when the latest version broke something. Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
commit * | string | commit of the version, from app_status |
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
set_visibility Choose who can open the app
Who can open the app when Apprua is on the local network or the internet: "private" (only the owner and the administrators), "team" (anyone with an Apprua account, the default) or "public" (anyone, no sign-in: only for apps meant for everybody). Applies at once. Ask the user before making an app public.
| Parameter | Type | Description |
|---|---|---|
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
visibility * | string |
archive_app Archive app
Stops and archives an app of the user: code and data are kept and an administrator can restore it. Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
clone_app Download the code of an app
Downloads the latest code of one of the user's apps into a new local folder, to change it and publish it again with update_app.
| Parameter | Type | Description |
|---|---|---|
name * | string | App name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes) |
path * | string | Absolute path of the destination folder (must not exist) |