Manage users
List, create, update, block and unblock the people who sign in to your app through MCP.
User tools work with your app's end users: the people who sign in to the app you built. They are separate from the records in your collections.
List users#
list_users returns one page of users.
searchmatches email or name.rolefilters by role id.activefilters by whether the user is active or blocked.sortis one ofcreated_at,last_login_at,email,full_nameorrole. Put-in front for descending order.limitgoes up to 200.
get_user returns a single user by id.
Create a user#
create_user needs an email. Everything else is optional.
emailstringrequiredThe user's email.
full_namestringphonestringroleintegerThe role id. The default is 1.
passwordstringAt least 8 characters.
extraobjectExtra fields defined by your app's User collection.
Update a user#
update_user is a partial update. It can change full_name, phone, role, avatar_url and extra. Fields in extra are merged into the existing ones.
Email and password can't be changed with this tool.
Block or unblock a user#
set_user_active with active set to false blocks a user. With true it unblocks them.
Users are never deleted. Blocking is how you remove someone's access.