Skip to main content
Glama

PocketBase MCP Server

by fadlee

manage_indexes

Create, delete, or list database indexes for PocketBase collections to optimize query performance and data retrieval.

Instructions

Manage collection indexes

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform
collectionYesCollection name
indexNoIndex configuration (for create)

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "Action to perform", "enum": [ "create", "delete", "list" ], "type": "string" }, "collection": { "description": "Collection name", "type": "string" }, "index": { "description": "Index configuration (for create)", "properties": { "fields": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "unique": { "type": "boolean" } }, "type": "object" } }, "required": [ "collection", "action" ], "type": "object" }

Latest Blog Posts

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