PocketBase MCP Server
13 days ago
- #PocketBase
- #Backend
- #MCP
- PocketBase MCP server provides comprehensive access to PocketBase functionality for AI assistants and MCP clients.
- Features include authentication, session persistence, auto-authentication, collection and record management, user management, custom headers, and HTTP requests.
- Supports query operations with filtering, sorting, and pagination, along with error handling and multi-instance connections.
- Optional TOON output format reduces token usage by 30-60% with LLMs.
- Setup involves cloning the repository, installing dependencies, and configuring environment variables or a config file.
- Server exposes an SSE endpoint and can be integrated into MCP configurations.
- Authentication supports both admin and user levels with session management.
- Collection management includes creating, updating, deleting, and querying collections.
- Record operations support CRUD functionalities with custom headers and query parameters.
- User management tools allow listing, creating, updating, and deleting users.
- Custom HTTP requests can be sent to any PocketBase API endpoint with various authentication methods.
- Error responses are consistent and informative, with specific error codes and suggestions.
- Development commands include running in development mode, testing, and building for production.
- Licensed under MIT License by Abdramane Sakone.