MCP.so
ログイン

pocketbase-mcp-server MCP Server

@imiborbas

基本情報

カテゴリ

その他

トランスポート

stdio

作者

imiborbas

pocketbase-mcp-server MCP Server について

Model Context Protocol Server for PocketBase

pocketbase-mcp-server MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "pocketbase-mcp-server": {
      "command": "node",
      "args": [
        "build/index.js",
        "--pb-url=http://localhost:8090",
        "--pb-admin-email=admin@example.com",
        "--pb-admin-password=your-secure-password"
      ]
    }
  }
}

pocketbase-mcp-server MCP Server のツール

1

List all collections from a PocketBase instance

概要

What is pocketbase-mcp-server?

pocketbase-mcp-server is a TypeScript-based Model Context Protocol (MCP) server that provides a tool for listing all collections from a PocketBase instance. It is designed for developers using MCP-compatible hosts like Claude Desktop who need to query PocketBase schemas programmatically.

How to use pocketbase-mcp-server?

Install dependencies with npm install, build with npm run build, then configure the server with your PocketBase instance URL, admin email, and password – either as command-line arguments (--pb-url, --pb-admin-email, --pb-admin-password) or environment variables (PB_URL, PB_ADMIN_EMAIL, PB_ADMIN_PASSWORD). Add the server to your MCP host configuration (e.g., Claude Desktop’s claude_desktop_config.json) or run directly via the command line.

Key features of pocketbase-mcp-server

  • Lists all collections from a PocketBase instance.
  • Returns JSON representation of collections.
  • Configurable via CLI arguments or environment variables.
  • Built with TypeScript for reliable type safety.
  • Compatible with MCP‑capable AI assistants and tools.

Use cases of pocketbase-mcp-server

  • Querying PocketBase schema from an AI assistant like Claude.
  • Automating collection discovery during development.
  • Integrating PocketBase data management into MCP workflows.

よくある質問

1

How do I point the server to my PocketBase instance?

Provide the PocketBase URL, admin email, and admin password either as command-line flags (`--pb-url`, `--pb-admin-email`, `--pb-admin-password`) or by setting environment variables (`PB_URL`, `PB_ADMIN_EMAIL`, `PB_ADMIN_PASSWORD`).

2

What transport does the server use?

It uses stdio transport, the default for MCP servers. Debugging is supported via the [MCP Inspector](https://github.com/modelcontextprotocol/inspector) (run `npm run inspector`).

3

Does the server support any authentication beyond admin credentials?

No; only admin email/password authentication is documented.

4

Can I use this server without a running PocketBase instance?

No, it requires a live PocketBase instance with admin access.

5

What is the output format of the `pocketbase_list_collections` tool?

It returns a JSON representation of all collections from the configured PocketBase instance.

コメント

「その他」の他のコンテンツ