authenticate_user
Verify user identity by authenticating with email and password in PocketBase MCP Server, supporting admin access and custom collection checks.
Instructions
Authenticate a user with email and password
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | No | Collection name (default: users) | users |
Yes | User email | ||
isAdmin | No | Whether to authenticate as an admin (uses _superusers collection) | |
password | Yes | User password |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"default": "users",
"description": "Collection name (default: users)",
"type": "string"
},
"email": {
"description": "User email",
"type": "string"
},
"isAdmin": {
"default": false,
"description": "Whether to authenticate as an admin (uses _superusers collection)",
"type": "boolean"
},
"password": {
"description": "User password",
"type": "string"
}
},
"required": [
"email",
"password"
],
"type": "object"
}