Skip to content

env_set

Set Secrets: NAME=value ..., or one NAME alone to read its value from stdin. The App gets them the next time it starts: basemodo restart.

The tool of basemodo env set, on the local MCP and the remote one. It changes things, so an agent's client may ask you before it runs.

All are set or none. Names are letters, digits and , not starting with a digit; PORT and BASEMODO* are Basemodo's, and PATH, LD_* and DYLD_* are the image's.

Arguments

  • pairs (list of text, required): The Secrets, each as NAME=value (everything after the first = is the value). In a terminal, one NAME alone reads its value from stdin.
  • app (text): The App whose Secrets to change. Default: the one named after the current folder.

On the remote MCP

  • app is required on the remote MCP, which has no folder of yours to find the App from.

Answer

It answers {"secrets": [{"name", "updated_by", "updated_at"}], "changes": [{"name", "action", "by", "at"}], "warnings": [...]}, never a value. A warning names a Secret set before its name was refused, to rename.