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

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

authenticate_user

Authenticate a user and get auth token

create_user

Create a new user account

get_collection_schema

Get schema details for a collection

backup_database

Create a backup of the PocketBase database

import_data

Import data into a collection

migrate_collection

Migrate collection schema with data preservation

query_collection

Advanced query with filtering, sorting, and aggregation

manage_indexes

Manage collection indexes