Skip to main content
Glama

PocketBase MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POCKETBASE_URLYesURL of your PocketBase instance (e.g., "http://127.0.0.1:8090")
POCKETBASE_DATA_DIRNoCustom data directory path
POCKETBASE_ADMIN_EMAILNoAdmin email for certain operations
POCKETBASE_ADMIN_PASSWORDNoAdmin password

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create_collection

Create a new collection in PocketBase note never use created and updated because these are already created

update_collection

Update an existing collection in PocketBase (admin only)

create_record

Create a new record in a collection

list_records

List records from a collection with optional filters

update_record

Update an existing record

delete_record

Delete a record

list_auth_methods

List all available authentication methods

authenticate_user

Authenticate a user with email and password

authenticate_with_oauth2

Authenticate a user with OAuth2

authenticate_with_otp

Authenticate a user with one-time password

auth_refresh

Refresh authentication token

request_verification

Request email verification

confirm_verification

Confirm email verification with token

request_password_reset

Request password reset

confirm_password_reset

Confirm password reset with token

request_email_change

Request email change

confirm_email_change

Confirm email change with token

impersonate_user

Impersonate another user (admin only)

create_user

Create a new user account

get_collection

Get details for a collection

backup_database

Create a backup of the PocketBase database

import_data

Import data into a collection

list_collections

List all collections in PocketBase

delete_collection

Delete a collection from PocketBase (admin only)

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