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 | Maximum number of results to return |
offset | number | no | Number of results to skip |
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 |
|---|---|---|---|
userId | string | yes | User ID |
delete-user
Delete a user by ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
userId | 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 |
|---|---|---|---|
userId | string | yes | User public ID (user_ prefix) |
policyIds | array<string> | yes | List of policy public IDs to attach (replaces existing) |