About Pocketbase MCP
Pocketbase MCP is an MCP server published by mrwyndham in the Developer Tools category: mCP server for building PocketBase apps really quickly - Need a front end quick consider FastPocket. Conduid read 24 tools from its source: auth_refresh, authenticate_user, authenticate_with_oauth2, authenticate_with_otp, backup_database, confirm_email_change and 18 more. No package is published for it, so it installs from a source checkout.
The repository has 156 stars and 36 forks, is licensed MIT, and its last commit was on 20 Oct 2026. The latest release is latest. It is the only release Conduid has on record for this repository. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include pocketbase, pocketbase-mcp and pocketbase-sdk.
Install
git clone https://github.com/mrwyndham/pocketbase-mcpTools (24)
auth_refreshRefresh authentication token| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
authenticate_userAuthenticate a user with email and password| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| email * | string | User email |
| isAdmin | boolean | Whether to authenticate as an admin (uses _superusers collection) |
| password * | string | User password |
authenticate_with_oauth2Authenticate a user with OAuth2| Parameter | Type | Description |
|---|---|---|
| code * | string | The authorization code returned from the OAuth2 provider |
| codeVerifier * | string | PKCE code verifier |
| collection | string | Collection name (default: users) |
| provider * | string | OAuth2 provider name (e.g., google, facebook, github) |
| redirectUrl * | string | The redirect URL used in the OAuth2 flow |
authenticate_with_otpAuthenticate a user with one-time password| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| email * | string | User email |
backup_databaseCreate a backup of the PocketBase database| Parameter | Type | Description |
|---|---|---|
| name | string | backup name |
confirm_email_changeConfirm email change with token| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| password * | string | Current password for confirmation |
| token * | string | Email change token |
confirm_password_resetConfirm password reset with token| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| password * | string | New password |
| passwordConfirm * | string | Confirm new password |
| token * | string | Reset token |
confirm_verificationConfirm email verification with token| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| token * | string | Verification token |
create_collectionCreate a new collection in PocketBase note never use created and updated because these are already created| Parameter | Type | Description |
|---|---|---|
| createRule | string | API rule for creating records |
| deleteRule | string | API rule for deleting records |
| fields * | array | List with the collection fields |
| listRule | string | API rule for listing and viewing records |
| name * | string | Unique collection name (used as a table name for the records table) |
| passwordAuth | object | Password authentication options |
| type | string | Type of the collection |
| updateRule | string | API rule for updating records |
| viewQuery | string | SQL query for view collections |
| viewRule | string | API rule for viewing a single record |
create_recordCreate a new record in a collection| Parameter | Type | Description |
|---|---|---|
| collection * | string | Collection name |
| data * | object | Record data |
create_userCreate a new user account| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| email * | string | User email |
| name | string | User name |
| password * | string | User password |
| passwordConfirm * | string | Password confirmation |
delete_collectionDelete a collection from PocketBase (admin only)| Parameter | Type | Description |
|---|---|---|
| collectionIdOrName * | string | ID or name of the collection to delete |
delete_recordDelete a record| Parameter | Type | Description |
|---|---|---|
| collection * | string | Collection name |
| id * | string | Record ID |
get_collectionGet details for a collection| Parameter | Type | Description |
|---|---|---|
| collectionIdOrName * | string | ID or name of the collection to view |
| fields | string | Comma separated string of the fields to return in the JSON response |
impersonate_userImpersonate another user (admin only)| Parameter | Type | Description |
|---|---|---|
| collectionIdOrName | string | Collection name or id (default: users) |
| duration | number | Token expirey time (default: 3600) |
| id * | string | ID of the user to impersonate |
import_dataImport data into a collection| Parameter | Type | Description |
|---|---|---|
| collection * | string | Collection name |
| data * | array | Array of records to import |
| mode | string | Import mode (default: create) |
list_auth_methodsList all available authentication methods| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
list_collectionsList all collections in PocketBase| Parameter | Type | Description |
|---|---|---|
| filter | string | Filter query for collections |
| sort | string | Sort order for collections |
list_recordsList records from a collection with optional filters| Parameter | Type | Description |
|---|---|---|
| collection * | string | Collection name |
| filter | string | Filter query |
| page | number | Page number |
| perPage | number | Items per page |
| sort | string | Sort field and direction |
request_email_changeRequest email change| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| newEmail * | string | New email address |
request_password_resetRequest password reset| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| email * | string | User email |
request_verificationRequest email verification| Parameter | Type | Description |
|---|---|---|
| collection | string | Collection name (default: users) |
| email * | string | User email |
update_collectionUpdate an existing collection in PocketBase (admin only)| Parameter | Type | Description |
|---|---|---|
| collectionIdOrName * | string | ID or name of the collection to update |
| createRule | string | API rule for creating records |
| deleteRule | string | API rule for deleting records |
| fields | array | List with the new collection fields. If not empty, the old schema will be replaced with the new one. |
| listRule | string | API rule for listing and viewing records |
| name | string | New unique collection name |
| passwordAuth | object | Password authentication options |
| type | string | Type of the collection |
| updateRule | string | API rule for updating records |
| viewQuery | string | SQL query for view collections |
| viewRule | string | API rule for viewing a single record |
update_recordUpdate an existing record| Parameter | Type | Description |
|---|---|---|
| collection * | string | Collection name |
| data * | object | Updated record data |
| id * | string | Record ID |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.0K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
- ✓No dynamic code executionScanned 1 source file and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:2
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- pnpm-lock.yaml
Pattern matches on the source text of 1 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README