MCP.so
登录

PocketBase MCP Server

@mabeldata

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

mabeldata

关于 PocketBase MCP Server

This is an MCP server that interacts with a PocketBase instance. It allows you to fetch, list, create, update, and manage records and files in your PocketBase collections.

PocketBase MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "pocketbase-mcp-mabeldata": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@mabeldata/pocketbase-mcp",
        "--client",
        "claude"
      ]
    }
  }
}

PocketBase MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is PocketBase MCP Server?

PocketBase MCP Server is an MCP server that interacts with a PocketBase instance, enabling AI agents to fetch, list, create, update, and manage records and files in PocketBase collections. It provides tools for record management, collection schema inspection, log management, cron job execution, and migration directory configuration.

How to use PocketBase MCP Server?

Install via Smithery using npx -y @smithery/cli install @mabeldata/pocketbase-mcp --client claude, or clone the repository, install dependencies (npm install), and build (npm run build). Configure the environment variables POCKETBASE_API_URL (default http://127.0.0.1:8090) and POCKETBASE_ADMIN_TOKEN (required). Then add the server to an MCP client (e.g., Claude Desktop) to use its tools.

Key features of PocketBase MCP Server

  • Fetch, list, create, and update records in collections.
  • Upload files and obtain download URLs for stored files.
  • List all collections and retrieve collection schemas.
  • Manage API request logs with filtering and pagination.
  • Trigger and list cron jobs.
  • Set a custom directory for migration files.

Use cases of PocketBase MCP Server

  • Automate data entry and record updates in PocketBase from an AI agent.
  • Manage file uploads and retrieval across collections.
  • Monitor API request logs for debugging or analytics.
  • Schedule and trigger cron jobs programmatically.
  • Streamline migration file management through MCP tools.

常见问题

1

What is PocketBase MCP Server?

It is an MCP server that acts as a bridge between AI agents (via the Model Context Protocol) and a PocketBase backend, allowing CRUD operations on records, files, collections, logs, cron jobs, and migrations.

2

How do I configure the server?

Set the `POCKETBASE_API_URL` environment variable to your PocketBase instance URL (defaults to `http://127.0.0.1:8090`) and `POCKETBASE_ADMIN_TOKEN` to an admin authentication token generated from the PocketBase admin UI.

3

What tools does the server provide?

Tools are grouped into Record Management (fetch_record, list_records, create_record, update_record, upload_file, download_file, list_collections, get_collection_schema), Log Management (list_logs, get_log, get_logs_stats), Cron Job Management (list_cron_jobs, run_cron_job), and Migration Management (set_migrations_directory).

4

Does the server require authentication?

Yes, the `POCKETBASE_ADMIN_TOKEN` is required. Log and Cron Job tools additionally require admin authentication and may not be available in all PocketBase configurations.

5

How is file download handled?

The `download_file` tool returns the file URL; the actual download must be performed separately by the client using that URL.

评论

其他 分类下的更多 MCP 服务器