DynamicEndpoints_advanced-pocketbase-mcp-server
The Advanced PocketBase MCP Server is a robust server designed for sophisticated database management and operations using the Model Context Protocol. It offers advanced tools for schema management, user authentication, and data manipulation, supported by comprehensive TypeScript type definitions and extensive error handling.
Advanced PocketBase MCP Server
A comprehensive MCP server that provides sophisticated tools for interacting with PocketBase databases. This server enables advanced database operations, schema management, and data manipulation through the Model Context Protocol (MCP).
Features
Collection Management
- Create and manage collections with custom schemas
- Migrate collection schemas with data preservation
- Advanced index management
Record Operations
- CRUD operations for records
- Advanced querying with filtering, sorting, and aggregation
User Management
- User authentication and token management
- Role-based access control
Database Operations
- Database backup and restore
- Data migration tools
Configuration
The server requires environment variables like POCKETBASE_URL
for setup. Optional variables include admin credentials for certain operations.
Error Handling
Comprehensive error handling with detailed error messages for invalid requests and database operations.
Type Safety
TypeScript definitions ensure type safety with validated input schemas.
Best Practices
- Use proper error handling
- Validate data before operations
- Regularly backup your database