Skip to main content
Glama

PocketBase MCP Server

by imiborbas

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 --pb-admin-email=admin@example.com --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 PB_ADMIN_EMAIL=admin@example.com export PB_ADMIN_PASSWORD=your-secure-password

Example using command line arguments:

node build/index.js --pb-url=http://localhost:8090 --pb-admin-email=admin@example.com --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.

-
security - not tested
F
license - not found
-
quality - not tested

Claude AI が自然言語を通じてコレクションを一覧表示し、アクセスすることで PocketBase データベースと対話できるようにするモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. ツール
  2. 発達
    1. インストール
      1. PocketBase の設定
      2. デバッグ

    Related MCP Servers

    • -
      security
      F
      license
      -
      quality
      A 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 -
      5
      TypeScript
      • Apple
    • A
      security
      A
      license
      A
      quality
      A 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 -
      3
      7
      1
      TypeScript
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      A 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 -
      2
      TypeScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      A modular, extensible Model Context Protocol server framework designed for Claude Desktop that uses convention-based automatic module discovery to easily extend AI application functionality without modifying core code.
      Last updated -
      3
      Python

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/imiborbas/pocketbase-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server