Self-Hosted Supabase MCP Server

update_auth_user

Update user details in Supabase authentication, including email, password, role, and metadata. Requires service_role key and direct database connection. Handle passwords with caution due to insecure processing.

Instructions

Updates fields for a user in auth.users. WARNING: Password handling is insecure. Requires service_role key and direct DB connection.

Input Schema

NameRequiredDescriptionDefault
app_metadataNoNew app metadata (will overwrite existing).
emailNoNew email address.
passwordNoNew plain text password (min 6 chars). WARNING: Insecure.
roleNoNew role.
user_idYesThe UUID of the user to update.
user_metadataNoNew user metadata (will overwrite existing).

Input Schema (JSON Schema)

{ "properties": { "app_metadata": { "description": "New app metadata (will overwrite existing).", "type": "object" }, "email": { "description": "New email address.", "format": "email", "type": "string" }, "password": { "description": "New plain text password (min 6 chars). WARNING: Insecure.", "minLength": 6, "type": "string" }, "role": { "description": "New role.", "type": "string" }, "user_id": { "description": "The UUID of the user to update.", "format": "uuid", "type": "string" }, "user_metadata": { "description": "New user metadata (will overwrite existing).", "type": "object" } }, "required": [ "user_id" ], "type": "object" }
ID: kgziynf39e