Manage API Keys
apikey_manageCreate, update, assign or remove roles, and delete Unraid API keys with explicit confirmation; the key value is shown once at creation.
Instructions
⚠ Credential management: create, update, add_role, remove_role, or delete Unraid API keys. This is the model managing the very credentials that control server access — the key VALUE is disclosed exactly once, at creation. Deleting the key this MCP server uses locks it out. Requires confirm: true AND acknowledge_risk: true. Use apikey_list (read-only) for ids and to inspect keys.
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": {
"action": "<action>"
},
"name": "apikey_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Key id from apikey_list. Required for `update`, `add_role` and `remove_role`. | |
| ids | No | Ids of the keys to delete, from apikey_list. Required for `delete`; unused otherwise. | |
| name | No | Key name. Required for `create`; optional new name for `update`. | |
| roles | No | ADMIN = full access, VIEWER = read-only, GUEST = own profile only, CONNECT = Unraid Connect internal. Exactly one for add_role/remove_role. | |
| action | Yes | `create` a key, `update` whichever of name/description/roles are given, `add_role`/`remove_role` one role on a key, or `delete` keys. | |
| confirm | No | Set `true` only after the user approves this specific change; otherwise the tool refuses or prompts them. | |
| description | No | Free-text note stored with the key; used by `create` and `update`. | |
| acknowledge_risk | No | Set `true` only after the user accepts changing the credentials that control server access; needed for every action. |