Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
POCKETBASE_API_URL | No | The URL of your PocketBase instance (e.g., http://127.0.0.1:8090) | http://127.0.0.1:8090 |
POCKETBASE_ADMIN_TOKEN | Yes | An admin authentication token for your PocketBase instance. You can generate this from your PocketBase admin UI, see API KEYS. |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
fetch_record | Fetch a single record from a PocketBase collection by ID. |
list_records | List records from a PocketBase collection. Supports filtering, sorting, pagination, and expansion. |
create_record | Create a new record in a PocketBase collection. |
update_record | Update an existing record in a PocketBase collection by ID. |
get_collection_schema | Get the schema (fields, rules, etc.) of a PocketBase collection. |
list_collections | List all collections in the PocketBase instance. |
upload_file | Upload a file (provided as content string) to a PocketBase collection record field. |
download_file | Get the URL to download a file from a PocketBase collection record field. |
set_migrations_directory | Set the directory where migration files will be created and read from. |
create_migration | Create a new, empty PocketBase migration file with a timestamped name. |
create_collection_migration | Create a migration file specifically for creating a new PocketBase collection. |
add_field_migration | Create a migration file for adding a field to an existing collection. |
list_migrations | List all migration files found in the PocketBase migrations directory. |
apply_migration | Apply a specific migration file. |
revert_migration | Revert a specific migration file. |
apply_all_migrations | Apply all pending migrations. |
revert_to_migration | Revert migrations up to a specific target. |
list_logs | List API request logs from PocketBase with filtering, sorting, and pagination. |
get_log | Get a single API request log by ID. |
get_logs_stats | Get API request logs statistics with optional filtering. |