logout
Clear the current authentication session.
How to use it
logout is exposed by the Pb MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the logout tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL PB MCP SERVER LISTINGOther tools in Pb MCP Server (30)
string
Authenticate as a PocketBase admin with full access to all operations.
Authenticate as a regular user with permissions based on collection rules.
string
object
Check if there's an active authentication session.
string
Create a new collection with schema definition.
Create a new record in a collection.
Create a new user account.
Delete a collection and all its records.
Delete a record from a collection.
Delete a user account.
string
string
Get detailed information about a specific collection.
Get a single record by ID.
Get a single user by ID.
object
Get all collections with their metadata.
Query records with filtering, sorting, and pagination.
List users from an auth collection with filtering.
string
string
object
boolean
Send raw HTTP requests to any PocketBase API endpoint. Supports all authentication types (admin, user, or public) and maintains session state across requests.
Update an existing collection's schema or rules.
Update an existing record.
Update an existing user.