Set Config
set_configUpdates app configuration by setting one or more environment variables on a Dokku app, with optional restart control. Requires explicit confirmation and read-write mode.
Instructions
Set one or more config vars on a Dokku app.
Side effects: updates environment variables; restarts the app unless no_restart=True. Requires DOKKU_MCP_MODE=read-write and confirm=True. Values are never echoed back in the response — only keys are returned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app": "<app>",
"pairs": "<pairs>"
},
"name": "set_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| pairs | Yes | ||
| confirm | No | ||
| no_restart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||