Skip to main content
Glama

PocketBase MCP Server

impersonate_user

Enable admins to temporarily assume the identity of another user for testing or troubleshooting by generating an impersonation token with customizable duration.

Instructions

Impersonate another user (admin only)

Input Schema

NameRequiredDescriptionDefault
collectionIdOrNameNoCollection name or id (default: users)users
durationNoToken expirey time (default: 3600)
idYesID of the user to impersonate

Input Schema (JSON Schema)

{ "properties": { "collectionIdOrName": { "default": "users", "description": "Collection name or id (default: users)", "type": "string" }, "duration": { "default": 3600, "description": "Token expirey time (default: 3600)", "type": "number" }, "id": { "description": "ID of the user to impersonate", "type": "string" } }, "required": [ "id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrwyndham/pocketbase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server