drio
Open app

pocketbase-mcp-server MCP Server

Source

Model Context Protocol Server for PocketBase

Catalog onlyCatalog onlySTDIO

Overview

The pocketbase-mcp-server is a Model Context Protocol (MCP) server designed for PocketBase, built using TypeScript. It facilitates the management and listing of PocketBase collections.

To use the pocketbase-mcp-server, you need to install the dependencies, build the server, and configure it with your PocketBase instance details. You can run it using command line arguments or environment variables for configuration.

  • Tool to list all collections from a PocketBase instance. - Requires specific configuration for authentication and connection to PocketBase. - Supports debugging through the MCP Inspector tool.
  1. Managing and listing collections in a PocketBase application.
  2. Integrating with Claude Desktop for enhanced functionality.
  3. Debugging MCP server communications using the MCP Inspector.

Add to your AI client

Use these steps to connect pocketbase-mcp-server 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-server-imiborbas": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-server-imiborbas"
      ]
    }
  }
}

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-server-imiborbas": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-server-imiborbas"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

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-server-imiborbas": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pocketbase-mcp-server-imiborbas"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What is required to run the pocketbase-mcp-server?

You need to have Node.js installed and a running PocketBase instance.

How do I configure the server?

You can configure it using command line arguments or by setting environment variables for the PocketBase URL and admin credentials.

Is there a debugging tool available?

Yes, you can use the MCP Inspector for debugging communications.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2284,"uuid":"3c45bb56-f1bd-4977-b743-6a8060fd27f4","name":"pocketbase-mcp-server","title":"pocketbase-mcp-server MCP Server","description":"Model Context Protocol Server for PocketBase","avatar_url":"https://avatars.githubusercontent.com/u/832310?v=4","created_at":"2025-03-09T07:22:59.111Z","updated_at":"2025-03-12T10:21:15.718Z","status":"created","author_name":"imiborbas","author_avatar_url":"https://avatars.githubusercontent.com/u/832310?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/imiborbas/pocketbase-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"1\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-06 15:19:02\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]