pb_mcp_server
Verified Safeby ssakone
Overview
Provides an MCP interface for AI assistants to interact with PocketBase databases for data management, authentication, and administrative tasks.
Installation
npm run build && node dist/index.jsEnvironment Variables
- POCKETBASE_URL
- POCKETBASE_ADMIN_TOKEN
- POCKETBASE_ADMIN_EMAIL
- POCKETBASE_ADMIN_PASSWORD
- MCP_OUTPUT_FORMAT
- PORT
Security Notes
The server uses environment variables for sensitive configuration (PocketBase URL, admin credentials), which is good practice. It implements session management and explicit authentication checks for privileged operations. A robust testing suite (including property-based tests) significantly enhances reliability and security posture. The 'send_custom_request' tool is very powerful, allowing raw HTTP requests to any PocketBase API endpoint, potentially with admin privileges. While flexible, this tool poses a significant risk if the MCP server itself is exposed publicly or used in an untrusted environment, as a compromised client could perform arbitrary actions on the PocketBase instance. However, in its intended local/trusted MCP client deployment, this is a feature rather than a vulnerability.
Similar Servers
awesome-oceanbase-mcp
The project provides a collection of Model Context Protocol (MCP) servers to enable AI assistants to directly interact with OceanBase databases and its ecosystem components for operations, management, and monitoring.
tiger-cli
Manages Timescale Cloud database services and provides an integrated Model Context Protocol (MCP) server enabling AI assistants to programmatically interact with and query the infrastructure.
metabase-mcp-server
Provides AI assistants with programmatic access to Metabase's analytics platform, enabling data querying, dashboard management, and content organization.
metabase-ai-assistant
An AI-powered assistant for Metabase and PostgreSQL databases, facilitating natural language SQL generation, dashboard creation, and direct DDL operations via Model Context Protocol for Claude Desktop/Code.