drio
Open app

PocketBase MCP Server

Source

MCP server for building PocketBase apps really quickly - Need a front end quick consider FastPocket

Catalog onlyCatalog onlySTDIO

Overview

PocketBase MCP Server is a tool designed for building PocketBase applications quickly, providing sophisticated tools for interacting with PocketBase databases through the Model Context Protocol (MCP).

To use the MCP server, configure it in your cline_mcp_settings.json file, specifying the server's settings, and then start the server using Node.js.

  • Collection management with custom schemas - CRUD operations for records - User authentication and management - Database backup capabilities
  1. Creating and managing collections for data storage
  2. Performing CRUD operations on records
  3. Managing user accounts and authentication
  4. Backing up PocketBase databases

Add to your AI client

Use these steps to connect PocketBase MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "pocketbase-mcp-mrwyndham": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-mrwyndham"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "pocketbase-mcp-mrwyndham": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-mrwyndham"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "pocketbase-mcp-mrwyndham": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-mrwyndham"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "pocketbase-mcp-mrwyndham": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-mrwyndham"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "pocketbase-mcp-mrwyndham": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-mrwyndham"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "pocketbase-mcp-mrwyndham": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-mrwyndham"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP server?

The MCP server facilitates advanced database operations and schema management for PocketBase applications.

How do I configure the MCP server?

You need to edit the `cline_mcp_settings.json` file to set up the server configuration.

Is there support for user management?

Yes, the MCP server includes features for user authentication and account management.