Apprua

v1.1.1
io.github.apprua/apprua Checked 2 hours ago Published 9 days ago

Publish 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…

ParameterTypeDescription
description *stringWhat the app does, one sentence
name *stringApp name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes)
path *stringAbsolute 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
persistentbooleantrue if the app stores data (files/SQLite) in /data that must survive restarts and new versions
portintegerPort 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.

ParameterTypeDescription
path *stringAbsolute path of the local folder (on this PC); for "this project" use the root of the current project
namestringApp name (optional if the folder was published or cloned before)
portinteger

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.

ParameterTypeDescription
name *stringApp 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.

ParameterTypeDescription
name *stringApp name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes)
linesinteger
typestring

restart_app Restart app

Restart app (only apps owned by the user).

ParameterTypeDescription
name *stringApp name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes)

start_app Start app

Start app (only apps owned by the user).

ParameterTypeDescription
name *stringApp 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.

ParameterTypeDescription
name *stringApp 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.

ParameterTypeDescription
key *stringUPPER_CASE name, e.g. OPENAI_API_KEY
name *stringApp name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes)
value *string
restartboolean

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).

ParameterTypeDescription
key *string
name *stringApp name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes)
restartboolean

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.

ParameterTypeDescription
commit *stringcommit of the version, from app_status
name *stringApp 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.

ParameterTypeDescription
name *stringApp 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.

ParameterTypeDescription
name *stringApp 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.

ParameterTypeDescription
name *stringApp name = sub-domain, e.g. "my-notes" (lowercase letters, digits, dashes)
path *stringAbsolute path of the destination folder (must not exist)