What is PocketBase MCP Server?
An MCP server that provides tools for interacting with PocketBase databases, enabling advanced database operations, schema management, and data manipulation through the Model Context Protocol. It is designed for developers using AI assistants (like Cursor or Claude) to manage a PocketBase instance.
How to use PocketBase MCP Server?
Set up the server by configuring your MCP settings file (cline_mcp_settings.json or .vscode/mcp.json) with a command (e.g., node or docker), args pointing to build/index.js, and environment variables POCKETBASE_URL (required), POCKETBASE_ADMIN_EMAIL, and POCKETBASE_ADMIN_PASSWORD (optional). Optionally use Docker with docker run or Docker Compose. Tools can be auto‑approved via autoApprove (e.g., create_record, list_collections).
Key features of PocketBase MCP Server
- Collection creation and schema management
- CRUD operations for records
- User authentication and account creation
- Database backup with format options
- Pagination and cursor‑based navigation
- Relationship expansion support
Use cases of PocketBase MCP Server
- Creating and managing PocketBase collections via natural language commands
- Performing record CRUD operations with filters and pagination
- Authenticating users and managing user accounts
- Creating database backups for administration
评论