Model Context Protocol Server for PocketBase
更新时间:2025-03-12 10:58:09
What is pocketbase-mcp-server MCP Server: The pocketbase-mcp-server is a Model Context Protocol (MCP) server designed for PocketBase, enabling users to list all collections from a PocketBase instance and manage the configuration of their server. This tool leverages TypeScript for development.
How to use pocketbase-mcp-server MCP Server: 1. Install dependencies with `npm install`. 2. Build the server using `npm run build`. 3. For development with auto-rebuild, use `npm run watch`. 4. To configure, update the server configuration on Claude Desktop for MacOS or Windows. 5. Ensure to provide PocketBase URL, admin email, and password either via command-line arguments or environment variables to access collections.
- **Q: What is required to list collections using this server?** A: You need to start the server with PocketBase configuration and provide the appropriate PocketBase instance URL and admin credentials. - **Q: Can I use environment variables to configure the MCP server?** A: Yes, you can configure the server using environment variables like `PB_URL`, `PB_ADMIN_EMAIL`, and `PB_ADMIN_PASSWORD`. - **Q: How do I enable debugging for the MCP server?** A: Use the `npm run inspector` command to launch the MCP Inspector, which provides a debugging interface in the browser.