advanced-pocketbase-mcp-server

advanced-pocketbase-mcp-server

3.5

If you are the rightful owner of advanced-pocketbase-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Advanced PocketBase MCP Server provides sophisticated tools for interacting with PocketBase databases, enabling advanced database operations, schema management, and data manipulation through the Model Context Protocol (MCP).

The Advanced PocketBase MCP Server is a comprehensive solution designed to facilitate complex interactions with PocketBase databases. It offers a wide range of tools for managing collections, performing CRUD operations, handling user authentication, and executing database operations. The server supports advanced querying, batch operations, and real-time event subscriptions, making it ideal for developers who need robust database management capabilities. With features like schema validation, type safety, and role-based access control, the server ensures secure and efficient data handling. It also includes tools for database backup, migration, and index optimization, providing a complete suite for database administration. The server is equipped with TypeScript type definitions for enhanced development experience and supports integration with various platforms through detailed usage examples and scripts.

Features

  • Collection Management: Create and manage collections with custom schemas, migrate schemas, and manage indexes.
  • Record Operations: Perform CRUD operations, advanced querying, batch import/export, and relationship expansion.
  • User Management: Handle user authentication, account management, password management, and role-based access control.
  • Database Operations: Backup and restore databases, perform data migrations, and optimize indexes.
  • Real-time Subscriptions: Subscribe to real-time changes in collections with eventsource support.

Tools

  1. create_collection

    Create a new collection with custom schema

  2. get_collection_schema

    Get schema details for a collection

  3. migrate_collection

    Migrate collection schema with data preservation

  4. manage_indexes

    Create, delete, or list collection indexes

  5. create_record

    Create a new record in a collection

  6. list_records

    List records with optional filters and pagination

  7. update_record

    Update an existing record

  8. delete_record

    Delete a record

  9. query_collection

    Advanced query with filtering, sorting, and aggregation

  10. batch_update_records

    Update multiple records in a single call

  11. batch_delete_records

    Delete multiple records in a single call

  12. subscribe_to_collection

    Subscribe to real-time changes in a collection (requires eventsource package in Node.js environment)

  13. import_data

    Import data into a collection with create/update/upsert modes

  14. authenticate_user

    Authenticate a user and get auth token

  15. create_user

    Create a new user account

  16. list_auth_methods

    List all available authentication methods

  17. authenticate_with_oauth2

    Authenticate a user with OAuth2

  18. authenticate_with_otp

    Authenticate a user with one-time password

  19. auth_refresh

    Refresh authentication token

  20. request_verification

    Request email verification

  21. confirm_verification

    Confirm email verification with token

  22. request_password_reset

    Request password reset

  23. confirm_password_reset

    Confirm password reset with token

  24. request_email_change

    Request email change

  25. confirm_email_change

    Confirm email change with token

  26. impersonate_user

    Impersonate another user (admin only)

  27. backup_database

    Create a backup of the PocketBase database with format options