Skip to main content

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

ArgumentTypeRequiredDescription
limitnumbernoMaximum number of results to return
offsetnumbernoNumber of results to skip

create-user

Create a user

Arguments

ArgumentTypeRequiredDescription
usernamestringyes
passwordstringyes
rolestringno

get-user

Get a user by ID

Arguments

ArgumentTypeRequiredDescription
userIdstringyesUser ID

delete-user

Delete a user by ID

Arguments

ArgumentTypeRequiredDescription
userIdstringyesUser ID

bootstrap-user

Create the first admin user

Arguments

ArgumentTypeRequiredDescription
usernamestringyes
passwordstringyes

login-user

Login user

Arguments

ArgumentTypeRequiredDescription
usernamestringyes
passwordstringyes

attach-user-policies

Attach policies to a user

Arguments

ArgumentTypeRequiredDescription
userIdstringyesUser public ID (user_ prefix)
policyIdsarray<string>yesList of policy public IDs to attach (replaces existing)