mcpField
P
pocketbase-mcp-server MCP Server

pocketbase-mcp-server MCP Server

Local
github.com/imiborbasDatabases1Updated 86w ago

About pocketbase-mcp-server MCP Server

A TypeScript MCP server that connects to PocketBase and provides a tool for listing its collections. It is configured with a PocketBase URL and administrator credentials.

Key features

  1. 01List PocketBase collections
  2. 02Return collections as JSON
  3. 03Configure through arguments or environment variables

Use cases

  1. 01Inspecting collections in a PocketBase instance
  2. 02Providing collection data to an MCP client

MCP support

Exposes the `pocketbase_list_collections` tool to MCP clients, returning the configured PocketBase instance's collections as JSON.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

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

{
  "mcpServers": {
    "pocketbase-mcp-server": {
      "command": "/path/to/pocketbase-mcp-server/build/index.js --pb-url=http://localhost:8090 [email protected] --pb-admin-password=your-secure-password"
    }
  }
}
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> or PB_URL - The URL of your PocketBase instance (e.g., http://localhost:8090)
  • --pb-admin-email=<email> or PB_ADMIN_EMAIL - Admin email for authentication
  • --pb-admin-password=<password> or PB_ADMIN_PASSWORD - Admin password for authentication

If using environment variables, you can set them like this:

export PB_URL=http://localhost:8090
export [email protected]
export PB_ADMIN_PASSWORD=your-secure-password

Example using command line arguments:

node build/index.js --pb-url=http://localhost:8090 [email protected] --pb-admin-password=your-secure-password
Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.