
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that exposes PocketBase database management functionality as tools for MCP-compatible clients.
PocketBase MCP Server is cataloged as an MCP server attributed to brynnjocelyn. A Model Context Protocol server that exposes PocketBase database management functionality as tools for MCP-compatible clients. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: ISC. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for PocketBase MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
README.md · a8a903acaa1c · 采集于 2026-11-13 12:49:51 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A comprehensive Model Context Protocol (MCP) server that provides tools for managing PocketBase instances. This server enables LLMs to interact with PocketBase databases through a standardized protocol.
This MCP server exposes PocketBase functionality as tools that can be used by any MCP-compatible client (like Claude Desktop, Cursor, or other LLM applications). It provides comprehensive access to PocketBase features with 60+ tools covering all major operations.
getFullList for retrieving all records without paginationgetFirstListItem for finding the first matching recordnpm install
npm run build
The server can be configured to connect to different PocketBase instances using (in order of precedence):
Local config file (.pocketbase-mcp.json in your project directory):
{
"url": "http://localhost:8091"
}
Environment variable:
POCKETBASE_URL: URL of your PocketBase instanceDefault: http://127.0.0.1:8090
Each project can have its own MCP configuration:
# In project directory
claude mcp add-json pocketbase '{"command": "node", "args": ["/path/to/pocketbase-mcp-server/dist/mcp-server.js"], "env": {"POCKETBASE_URL": "http://localhost:8091"}}' --scope project
Create a .pocketbase-mcp.json in your project root:
{
"url": "https://api.myproject.com"
}
Add different PocketBase instances globally:
claude mcp add-json pb-local '{"command": "node", "args": ["/path/to/pocketbase-mcp-server/dist/mcp-server.js"], "env": {"POCKETBASE_URL": "http://localhost:8090"}}'
claude mcp add-json pb-prod '{"command": "node", "args": ["/path/to/pocketbase-mcp-server/dist/mcp-server.js"], "env": {"POCKETBASE_URL": "https://api.myapp.com"}}'
Add this configuration to your Claude Desktop MCP settings:
{
"mcpServers": {
"pocketbase": {
"command": "node",
"args": ["/path/to/pocketbase-mcp-server/dist/mcp-server.js"],
"env": {
"POCKETBASE_URL": "http://localhost:8090"
}
}
}
}
list_collections - List all collections with pagination and filteringget_collection - Get a specific collection by ID or namecreate_collection - Create a new collection with schemaupdate_collection - Update collection settings and schemadelete_collection - Delete a collectionimport_collections - Import multiple collections at oncelist_records - List records with pagination, filtering, sorting, and field selectionget_full_list - Get all records without pagination (batch processing)get_first_list_item - Get the first record matching a filterget_record - Get a specific record by IDcreate_record - Create a new recordupdate_record - Update an existing recorddelete_record - Delete a recordbatch_create - Create multiple records in a single transactionbatch_update - Update multiple records in a single transactionbatch_delete - Delete multiple records in a single transactionbatch_upsert - Upsert multiple records in a single transactionlist_auth_methods - Get available authentication methodsauth_with_password - Authenticate with email/username and passwordauth_with_oauth2 - Get OAuth2 authentication URLauth_refresh - Refresh authentication tokenrequest_otp - Request OTP for email authenticationauth_with_otp - Authenticate with OTPrequest_password_reset - Send password reset emailconfirm_password_reset - Confirm password reset with tokenrequest_verification - Send verification emailconfirm_verification - Confirm email verificationrequest_email_change - Request email changeconfirm_email_change - Confirm email changeget_file_url - Generate URL for accessing files with optionsget_file_token - Get private file access tokenlist_logs - List system logs with filteringget_log - Get a specific log entryget_log_stats - Get log statisticslist_cron_jobs - List all cron jobsrun_cron_job - Manually run a cron jobget_health - Check PocketBase health statusget_settings - Get PocketBase settings (requires admin auth)update_settings - Update PocketBase settings (requires admin auth)create_backup - Create a backuplist_backups - List available backupsdownload_backup - Get download URL for a backupdelete_backup - Delete a backuprestore_backup - Restore from a backuplist_hooks - List JavaScript hook files in the pb_hooks directoryread_hook - Read the contents of a hook filecreate_hook - Create or update a JavaScript hook filedelete_hook - Delete a hook filecreate_hook_template - Generate hook templates for common patterns:
record-validation: Field validation for recordsrecord-auth: Custom authentication logiccustom-route: API endpoint creationfile-upload: File upload validationscheduled-task: Cron job setup{
"tool": "list_records",
"arguments": {
"collection": "posts",
"filter": "published = true && created >= '2024-01-01'",
"sort": "-created",
"expand": "author",
"fields": "id,title,content,author",
"skipTotal": true
}
}
{
"tool": "get_full_list",
"arguments": {
"collection": "categories",
"sort": "name",
"batch": 1000
}
}
{
"tool": "batch_create",
"arguments": {
"requests": [
{
"collection": "posts",
"data": {
"title": "First Post",
"content": "Content 1"
}
},
{
"collection": "posts",
"data": {
"title": "Second Post",
"content": "Content 2"
}
}
]
}
}
{
"tool": "auth_with_oauth2",
"arguments": {
"collection": "users",
"provider": "google",
"redirectURL": "https://myapp.com/auth/callback"
}
}
// Step 1: Request OTP
{
"tool": "request_otp",
"arguments": {
"collection": "users",
"email": "user@example.com"
}
}
// Step 2: Authenticate with OTP
{
"tool": "auth_with_otp",
"arguments": {
"collection": "users",
"otpId": "otp_id_from_step_1",
"password": "123456"
}
}
{
"tool": "get_file_url",
"arguments": {
"collection": "products",
"recordId": "abc123",
"filename": "photo.jpg",
"thumb": "300x200"
}
}
{
"tool": "create_hook_template",
"arguments": {
"type": "record-validation",
"collection": "posts"
}
}
The MCP server supports PocketBase's full query syntax:
title = "example" - Exact matchcreated >= "2024-01-01" - Date comparisontitle ~ "search" - Contains texttags ?~ "important" - Any array element containsuser.name = "John" - Nested field accesscreated - Ascending by created-created - Descending by createdname,-created - Multiple sort fieldsauthor - Expand single relationauthor,tags - Expand multiple relationsauthor.profile - Nested expansionid,title,content - Select specific fields*,expand.author.name - Include expanded fieldsskipTotal: true when you don't need the total countfields parameter to limit data transferget_full_list with appropriate batch sizes for large datasetsnpm run dev
npm run build
The MCP server follows the Model Context Protocol specification:
All tools include comprehensive error handling and return descriptive error messages. Common errors include:
Contributions are welcome! Please ensure that any new tools:
ISC
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for PocketBase MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/pocketbase_mcp_server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.