Users
MCP tools for the Users module. See the Users module docs for permissions and data model.
get-current-user
Get the current authenticated user
Arguments
This tool takes no arguments.
list-users
List all users
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
limit | number | no | Results per page. Above the maximum it is clamped; below 1 or not an integer it is 400 VALIDATION_FAILED. |
cursor | string | no | The previous page's next_cursor; omit it for the first page. Send it with the same filters as the request that returned it: a malformed cursor, or one sent with other filters, is 400 INVALID_CURSOR. |
create-user
Create a user
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
username | string | yes | — |
password | string | yes | — |
role | string | no | — |
get-user
Get a user by ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | User ID |
delete-user
Delete a user by ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | User ID |
bootstrap-user
Create the first admin user
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
username | string | yes | — |
password | string | yes | — |
login-user
Login user
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
username | string | yes | — |
password | string | yes | — |
attach-user-policies
Attach policies to a user
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | User public ID (user_ prefix) |
policy_ids | array<string> | yes | List of policy public IDs to attach (replaces existing) |