Back to Home
ssakone icon

pb_mcp_server

Verified Safe

by ssakone

Overview

Provides an MCP interface for AI assistants to interact with PocketBase databases for data management, authentication, and administrative tasks.

Installation

Run Command
npm run build && node dist/index.js

Environment 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

Stats

Interest Score47
Security Score8
Cost ClassMedium
Avg Tokens150
Stars38
Forks1
Last Update2025-11-29

Tags

PocketBaseMCPAI AgentDatabaseAPI