Skip to main content
Glama
imiborbas

PocketBase MCP Server

by imiborbas

pocketbase-mcp-server MCP サーバー

PocketBase 用モデルコンテキストプロトコルサーバー

これは、以下を提供する TypeScript ベースの MCP サーバーです。

  • PocketBaseコレクションをリストするためのツール

特徴

ツール

  • pocketbase_list_collections - PocketBaseインスタンスからすべてのコレクションを一覧表示します

    • PocketBase 構成でサーバーを起動する必要があります

    • すべてのコレクションのJSON表現を返します

Related MCP server: MCP Deep Web Research Server

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json 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 の設定

PocketBase コレクション ツールを有効にするには、コマンド ライン引数または環境変数として次の構成を指定する必要があります。

  • --pb-url=<url>またはPB_URL - PocketBaseインスタンスのURL(例: http://localhost:8090

  • --pb-admin-email=<email>またはPB_ADMIN_EMAIL - 認証用の管理者メールアドレス

  • --pb-admin-password=<password>またはPB_ADMIN_PASSWORD - 認証用の管理者パスワード

環境変数を使用する場合は、次のように設定できます。

export PB_URL=http://localhost:8090
export PB_ADMIN_EMAIL=admin@example.com
export PB_ADMIN_PASSWORD=your-secure-password

コマンドライン引数を使用する例:

node build/index.js --pb-url=http://localhost:8090 --pb-admin-email=admin@example.com --pb-admin-password=your-secure-password

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

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

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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