Skip to main content
Glama

PocketBase MCP Server

by fadlee
MIT License
5

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POCKETBASE_URLNoURL of your PocketBase serverhttp://127.0.0.1:8090

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create_collection

Create a new collection in PocketBase

delete_collection

Delete a collection from PocketBase

get_collection_schema

Get schema details for a collection

list_collections

List all collections with optional sorting

truncate_collection

Delete all records associated with the specified collection

create_record

Create a new record in a collection

list_records

List records from a collection with optional filters

update_record

Update an existing record

delete_record

Delete a record

authenticate_user

Authenticate a user and get auth token

create_user

Create a new user account

analyze_collection_data

Analyze data patterns and provide insights about a collection

query_collection

Advanced query with filtering, sorting, and aggregation

migrate_collection

Add, remove, or modify fields from a collection

backup_database

Create a backup of the PocketBase database

import_data

Import data into a collection

manage_indexes

Manage collection indexes

generate_pb_schema

Generate a PocketBase schema based on TypeScript interfaces or database diagram

generate_typescript_interfaces

Generate TypeScript interfaces from PocketBase collections

upload_file

Upload a file to a record in PocketBase

download_file

Download a file from a record in PocketBase

upload_file_from_url

Upload a file from URL to a record in PocketBase

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/fadlee/pocketbase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server