April 8, 2025
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 […]
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 tohttp://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.