Supabase MCP Server for Cloudflare Workers
Test Supabase tools directly in your browser. Select a tool and provide inputs to see the results.
Create a free account to test Supabase tools interactively. No credit card required.
supabase_empty_bucketRemove all objects from a storage bucket. Args: - bucketId: The bucket ID/name Returns: Confirmation of operation.
supabase_list_usersList auth users from Supabase (requires service role key). Args: - limit: Number of users to return (default: 20) - offset: Number of users to skip Returns: Paginated list of users with their metadata.
supabase_get_userGet a single auth user by ID (requires service role key). Args: - userId: The user's UUID Returns: The user record with all metadata.
supabase_create_userCreate a new auth user (requires service role key). Args: - email: User's email address - password: User's password (optional for passwordless) - phone: User's phone number - emailConfirm: Auto-confirm email (default: false) - phoneConfirm: Auto-confirm phone (default: false) - userMetadata: Custom user metadata - appMetadata: App-specific metadata Returns: The created user record.
supabase_update_userUpdate an existing auth user (requires service role key). Args: - userId: The user's UUID - email: New email address - password: New password - phone: New phone number - emailConfirm: Confirm email - phoneConfirm: Confirm phone - userMetadata: Updated user metadata - appMetadata: Updated app metadata - banDuration: Ban duration (e.g., "24h", "7d", "none" to unban) Returns: The updated user record.
supabase_delete_userDelete an auth user (requires service role key). Args: - userId: The user's UUID Returns: Confirmation of deletion.
supabase_selectSelect data from a Supabase table using PostgREST. Args: - table: The table name to query - select: Columns to select (e.g., "id,name,email" or "*") - filter: PostgREST filter string (e.g., "id=eq.1,status=eq.active") - order: Order by clause (e.g., "created_at.desc") - limit: Maximum number of rows to return - offset: Number of rows to skip Filter operators: - eq: Equal (e.g., "status=eq.active") - neq: Not equal - gt, gte, lt, lte: Greater/less than - like, ilike: Pattern matching (e.g., "name=like.*john*") - in: In list (e.g., "id=in.(1,2,3)") - is: Is null/not null (e.g., "deleted_at=is.null") Returns: Array of matching rows with optional count.
supabase_insertInsert data into a Supabase table. Args: - table: The table name - data: Object or array of objects to insert Returns: The inserted row(s).
supabase_updateUpdate data in a Supabase table. Args: - table: The table name - data: Object with fields to update - filter: PostgREST filter to identify rows (e.g., "id=eq.1") Returns: The updated row(s).
supabase_deleteDelete data from a Supabase table. Args: - table: The table name - filter: PostgREST filter to identify rows (e.g., "id=eq.1") Returns: The deleted row(s).
supabase_upsertUpsert (insert or update) data in a Supabase table. Args: - table: The table name - data: Object or array of objects to upsert - onConflict: Column(s) to check for conflicts (e.g., "id" or "email,org_id") Returns: The upserted row(s).
supabase_rpcCall a Postgres function (RPC) in Supabase. Args: - functionName: Name of the function to call - params: Object with function parameters Returns: The function result.
supabase_invoke_functionInvoke a Supabase Edge Function. Args: - functionName: Name of the edge function to invoke - body: Request body (will be JSON stringified) - method: HTTP method (default: POST) - headers: Additional headers to send Returns: The function response.
supabase_list_bucketsList all storage buckets. Returns: Array of bucket objects with their configuration.
supabase_get_bucketGet details of a specific storage bucket. Args: - bucketId: The bucket ID/name Returns: Bucket configuration details.
supabase_create_bucketCreate a new storage bucket. Args: - id: Unique bucket ID/name - public: Whether the bucket is publicly accessible (default: false) - fileSizeLimit: Maximum file size in bytes - allowedMimeTypes: Array of allowed MIME types Returns: The created bucket.
supabase_update_bucketUpdate a storage bucket's configuration. Args: - bucketId: The bucket ID/name - public: Whether the bucket is publicly accessible - fileSizeLimit: Maximum file size in bytes - allowedMimeTypes: Array of allowed MIME types Returns: The updated bucket.
supabase_delete_bucketDelete a storage bucket (must be empty). Args: - bucketId: The bucket ID/name Returns: Confirmation of deletion.
supabase_list_objectsList objects in a storage bucket. Args: - bucket: The bucket ID/name - path: Folder path prefix (default: root) - limit: Maximum number of objects - offset: Objects to skip - search: Search string Returns: Array of storage objects.
supabase_upload_objectUpload a file to storage (base64 encoded content). Args: - bucket: The bucket ID/name - path: File path within the bucket - content: Base64 encoded file content - contentType: MIME type of the file - upsert: Overwrite if exists (default: false) Returns: The upload path.
supabase_move_objectMove an object within storage. Args: - bucket: The bucket ID/name - fromPath: Current file path - toPath: New file path Returns: Confirmation of move.
supabase_copy_objectCopy an object within storage. Args: - bucket: The bucket ID/name - fromPath: Source file path - toPath: Destination file path Returns: The new file path.
supabase_delete_objectsDelete one or more objects from storage. Args: - bucket: The bucket ID/name - paths: Array of file paths to delete Returns: List of deleted files.
supabase_create_signed_urlCreate a signed URL for temporary access to a private file. Args: - bucket: The bucket ID/name - path: File path - expiresIn: Expiration time in seconds (e.g., 3600 for 1 hour) Returns: The signed URL.
supabase_create_signed_upload_urlCreate a signed URL for uploading a file. Args: - bucket: The bucket ID/name - path: File path where the file will be uploaded Returns: The signed upload URL and token.
supabase_get_public_urlGet the public URL for a file in a public bucket. Args: - bucket: The bucket ID/name (must be public) - path: File path Returns: The public URL.
supabase_empty_bucket{
"bucketId": "example_bucketId"
}supabase_list_users{
"limit": true,
"format": "example_format",
"offset": true
}supabase_get_user{
"format": "example_format",
"userId": "example_userId"
}