users
List users or grant/revoke superuser admin access. Changes default to a dry run and require confirm=true to execute.
Instructions
Admin users. action: list (users with superuser flag — or use the
read-only list_users tool) | set_superuser (user_id + grant=true/false,
confirm required — this grants/revokes FULL admin+MCP access).
Unannotated (mixed read/write): list no longer trips a host's
destructive-action prompt, set_superuser is still confirm-gated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grant | No | true = grant superuser, false = revoke. | |
| limit | No | list: maximum users to return. | |
| action | No | Operation to run: list | set_superuser. The tool description lists what each action needs. | list |
| confirm | No | false (default) = dry run, nothing changes; true = execute. | |
| user_id | No | set_superuser: the user to change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |