PocketBase MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| POCKETBASE_URL | Yes | URL of your PocketBase instance (e.g., http://127.0.0.1:8090) | http://127.0.0.1:8090 |
| POCKETBASE_TOKEN | No | PocketBase admin token (obtained via the admin interface) | |
| POCKETBASE_ADMIN_TOKEN | No | Alternative to POCKETBASE_TOKEN | |
| POCKETBASE_MIGRATIONS_DIR | Yes | Absolute path to the migrations directory | ./pb_migrations |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pocketbase-create-collection-migrationC | Génère un fichier de migration PocketBase au format correct avec les champs spécifiés |
| pocketbase-list-migrationsB | Liste tous les fichiers de migration dans le répertoire pb_migrations |
| pocketbase-view-migrationC | Affiche le contenu d'un fichier de migration PocketBase |
| pocketbase-execute-migrationC | Applique une migration via l'API REST de PocketBase |
| pocketbase-list-collectionsA | Liste toutes les collections existantes dans PocketBase |
| pocketbase-view-collectionB | Affiche les détails d'une collection PocketBase (champs, règles, etc.) |
| pocketbase-update-collectionB | Génère une migration pour modifier les propriétés d'une collection existante (règles, nom, etc.) |
| pocketbase-delete-collectionB | Génère une migration pour supprimer une collection existante de PocketBase |
| pocketbase-update-collection-fieldsB | Génère une migration pour ajouter, modifier ou supprimer des champs d'une collection PocketBase |
| pocketbase-execute-any-migrationC | Exécute une migration PocketBase de création, modification ou suppression via API REST |
| pocketbase-add-field-migrationB | Génère une migration pour ajouter un seul champ à une collection existante |
| pocketbase-remove-field-migrationC | Génère une migration pour supprimer un seul champ d'une collection existante |
| pocketbase-revert-migrationC | Génère une migration pour revenir en arrière sur une migration précédente |
| pocketbase-fetch-recordC | Récupère un record spécifique d'une collection PocketBase |
| pocketbase-list-recordsC | Liste tous les records d'une collection PocketBase avec pagination |
| pocketbase-create-recordC | Crée un nouveau record dans une collection PocketBase |
| pocketbase-update-recordC | Met à jour un record existant dans une collection PocketBase |
| pocketbase-get-collection-schemaB | Obtient le schéma (champs et types) d'une collection PocketBase |
| pocketbase-upload-fileC | Upload un fichier vers une collection PocketBase |
| pocketbase-download-fileC | Télécharge un fichier depuis une collection PocketBase |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| status | État du serveur MCP pour PocketBase |
TDQS
Scored across 20 tools
Several tools overlap heavily: pocketbase-execute-migration vs pocketbase-execute-any-migration, pocketbase-update-collection-fields vs the dedicated add-field-migration/remove-field-migration, and pocketbase-view-collection vs pocketbase-get-collection-schema all appear to serve near-identical purposes. An agent would struggle to pick the right migration tool for a given change.
All tools follow a consistent pocketbase-<verb>-<noun> kebab-case pattern with a shared prefix. Minor deviation in verb choice for read operations (fetch vs get vs view vs list), but the overall convention is predictable.
At 20 tools this sits at the heavy end of the scale, and much of the bulk comes from fine-grained migration variants that could be consolidated. The record and file tools are reasonable, but the migration surface feels over-split.
Collections (create/update/delete/list/view/schema), records (fetch/list/create/update), and files (upload/download) are covered, but there is no delete-record tool, leaving record lifecycle incomplete. Collection deletion and field changes are also only reachable via migration generation, not direct operations.