Pocketbase MCP

1–2 minutes

170 words

We’re excited to announce the initial release of the PocketBase MCP Server, a Model Context Protocol server that provides seamless integration with PocketBase databases. Features Core Record Operations: Advanced Listing Capabilities: Collection Management: File Operations: Requirements Configuration The server requires the following environment variables: Dependencies This release provides a solid foundation for interacting with PocketBase…

We’re excited to announce the initial release of the PocketBase MCP Server, a Model Context Protocol server that provides seamless integration with PocketBase databases.

Features

Core Record Operations:

  • Fetch individual records by ID
  • Create new records in collections
  • Update existing records with new data

Advanced Listing Capabilities:

  • List records with pagination support
  • Filter records based on field values
  • Sort results by specific fields
  • Expand relations in list results

Collection Management:

  • List all collections in the PocketBase instance
  • Retrieve detailed schema information for specific collections

File Operations:

  • Upload files to PocketBase collection records
  • Download files from collection records

Requirements

  • PocketBase instance (accessible via URL)
  • Admin token for authentication

Configuration

The server requires the following environment variables:

  • POCKETBASE_API_URL: URL of your PocketBase instance (defaults to http://127.0.0.1:8090/)
  • POCKETBASE_ADMIN_TOKEN: Admin token for authentication (required)

Dependencies

  • @modelcontextprotocol/sdk
  • axios
  • pocketbase
  • typescript

This release provides a solid foundation for interacting with PocketBase databases through the Model Context Protocol. Future releases will expand functionality with collection management tools, enhanced file handling, user management, and more advanced database operations.

admin Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *