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 `awesome-oceanbase-mcp` project provides a collection of Model Context Protocol (MCP) servers designed to enable AI assistants to interact directly with OceanBase databases and its ecosystem components.
tiger-cli
Tiger CLI provides a Model Context Protocol (MCP) server that enables AI assistants to interact with Tiger Cloud database services, manage service lifecycles, execute SQL queries, and access documentation via proxied tools.
mcp-server-couchbase
An MCP server enabling LLMs to interact directly with Couchbase clusters for data operations, schema retrieval, and query performance analysis.
metabase-mcp-server
Enables AI assistants to interact with and manage Metabase's analytics platform by providing comprehensive API access through a Model Context Protocol server.