Let your AI assistant build on PocketBase, safely.
Connect Claude, ChatGPT, Cursor or VS Code. Your assistant manages projects, PocketBase instances, deploys, domains and data. It is told to try schema and hook changes on a preview first, and every file change it makes can be undone.
https://mcp.pocketbasecloud.com/mcpPaste it exactly: the address ends in /mcp.
- OAuth sign-in
- ·Read-only mode
- ·Scope to one project
One URL, every assistant.
The server speaks MCP over HTTP with OAuth sign-in. Pick your assistant and follow its steps, then sign in when it asks.
- 01Open Customize → Connectors and click Add custom connector.
- 02Paste the server URL. If Claude asks how it should identify itself, choose Register automatically.
- 03Click Add, then Connect next to the new connector. Sign in and choose the access and the project.
- 01Open Plugins, click + and choose Add custom MCP server.
- 02Give it a name, enter the server URL under Connection, and choose OAuth authentication.
- 03Confirm with I understand and want to continue, then Create as a plugin. In a new chat, type @ and pick it.
- 01Run this once in your terminal, then run /mcp in Claude Code and choose pocketbasecloud to sign in.
claude mcp add --transport http pocketbasecloud https://mcp.pocketbasecloud.com/mcpNarrow or widen what it can touch.
Add options to the server URL. read_only and project_ref only narrow what you approved when signing in. features chooses the tool groups, and adding an opt-in group gives the assistant more tools.
- Read-only
?read_only=trueExpose only the tools that read.
- One project
?project_ref=<project id>Limit every tool to a single project.
- Tool groups
?features=account,resources,deploy,domains,database,docs,envChoose which groups of tools the assistant sees. This example adds env, so environment variable values pass through the conversation.
Preview, revision, undo.
The PocketBase Cloud MCP server gives Claude, ChatGPT, Cursor and VS Code the same safe path you use: preview, revision, undo.
Connect your assistant
Add one URL to Claude, ChatGPT, Cursor or VS Code and sign in. Choose read-only, or limit it to one project.
Connect your assistant# server URLhttps://mcp.pocketbasecloud.com/mcp✓ signed in · project "shop"✓ access: read and writeIt works on a preview
Ask for a change. Schema and code changes go to a preview first: a copy of your project with its own URL, so live keeps running.
It works on a preview# you: add a reviews collectioncreate_preview shop → shop-reviewsapply_collections reviews (4 fields)✓ preview ready, with its own URLShip it, or undo it
Ship the preview when it looks right. Every file change is a revision, so you can restore any of them from History.
Ship it, or undo itship_preview shop-reviews → shop✓ live · revision #42# changed your mind?restore_revision #41
What can your assistant do?
54 tools in 8 groups. Environment variables and database admin are opt-in: add them to features to turn them on.
Account & projects
accountlist_projectsget_projectcreate_projectget_planlist_regionsget_overview
Resources
resourceslist_resourcesget_resourcecreate_pocketbaseupdate_pocketbase_configset_continuous_backupmove_resourcedelete_previous_copy
Deploys & logs
deployget_logslist_deploymentsget_deploymentget_deploy_commandlist_hooksdeploy_hooksdeploy_publicdiagnose_resource
Custom domains
domainsadd_domainverify_domaincheck_domainremove_domain
Database (inside an instance)
databaselist_collectionsget_collectionlist_recordsget_request_logslist_backupslist_cronscount_recordsget_recordcheck_securitygenerate_typespreview_collectionscheck_performanceapply_collectionsupdate_api_rulescreate_recordcreate_recordsupdate_recordcreate_backuprun_crondelete_record
Docs
docssearch_docs
Environment variables
Opt-inenvlist_env_varsset_env_varsdelete_env_vars
Database admin
Opt-indatabase_admintruncate_collectiondelete_collectionremove_fieldsrestore_backupdelete_backup
You stay in control.
Approval for destructive tools
Tools that delete or restore ask for your approval first.
System data is off limits
Database tools reach your instance through PocketBase Cloud. System collections and instance settings are never touched.
Disconnect any time
Signing in stores the connection you approved, with your PocketBase Cloud session encrypted inside it. Remove the connector in your assistant to stop using it. The server deletes the connection after 30 days without use, or sooner if you email [email protected].
Nothing kept from your instances
The server never stores records, files or logs. It passes them to your assistant and forgets them. For reliability each tool call is recorded with the tool, its target, the outcome, a shortened error message and a pseudonymous account ID, and deleted after 90 days.