Provides tools for listing collections from a PocketBase instance, allowing access to the database structure and schema information.
Implemented as a TypeScript-based MCP server, offering type-safe interactions with the underlying PocketBase collections and data.
pocketbase-mcp-server MCP Server
Model Context Protocol Server for PocketBase
This is a TypeScript-based MCP server that provides:
- Tools for listing PocketBase collections
Features
Tools
pocketbase_list_collections
- List all collections from a PocketBase instance- Requires server to be started with PocketBase configuration
- Returns JSON representation of all collections
Development
Install dependencies:
Build the server:
For development with auto-rebuild:
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
PocketBase Configuration
To enable the PocketBase collections tool, you must provide the following configuration either as command line arguments or environment variables:
--pb-url=<url>
orPB_URL
- The URL of your PocketBase instance (e.g., http://localhost:8090)--pb-admin-email=<email>
orPB_ADMIN_EMAIL
- Admin email for authentication--pb-admin-password=<password>
orPB_ADMIN_PASSWORD
- Admin password for authentication
If using environment variables, you can set them like this:
Example using command line arguments:
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
The Inspector will provide a URL to access debugging tools in your browser.
This server cannot be installed
A Model Context Protocol server that enables Claude AI to interact with PocketBase databases by listing and accessing collections through natural language.
Related MCP Servers
- -securityFlicense-qualityA comprehensive suite of Model Context Protocol servers designed to extend AI agent Claude's capabilities with integrations for knowledge management, reasoning, advanced search, news access, and workspace tools.Last updated -5TypeScript
- -securityFlicense-qualityA Model Context Protocol server utilizing Claude AI for generating intelligent queries and offering documentation assistance based on API documentation analysis.Last updated -33TypeScript
- -securityAlicense-qualityA Model Context Protocol server that enables Claude to perform advanced web research with intelligent search queuing, enhanced content extraction, and deep research capabilities.Last updated -111TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables Claude to interact directly with Contentful CMS, allowing the AI to fetch content types and entries from a Contentful space.Last updated -2TypeScriptMIT License