
Model Context Protocol Server for PocketBase
Model Context Protocol Server for PocketBase
Model Context Protocol Server for PocketBase
This is a TypeScript-based MCP server that provides:
pocketbase_list_collections - List all collections from a PocketBase instance
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchTo use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"pocketbase-mcp-server": {
"command": "/path/to/pocketbase-mcp-server/build/index.js --pb-url=http://localhost:8090 [email protected] --pb-admin-password=your-secure-password"
}
}
}To enable the PocketBase collections tool, you must provide the following configuration either as command line arguments or environment variables:
--pb-url=<url> or PB_URL - The URL of your PocketBase instance (e.g., http://localhost:8090)--pb-admin-email=<email> or PB_ADMIN_EMAIL - Admin email for authentication--pb-admin-password=<password> or PB_ADMIN_PASSWORD - Admin password for authenticationIf using environment variables, you can set them like this:
export PB_URL=http://localhost:8090
export PB_ADMIN_EMAIL=[email protected]
export PB_ADMIN_PASSWORD=your-secure-passwordExample using command line arguments:
node build/index.js --pb-url=http://localhost:8090 [email protected] --pb-admin-password=your-secure-passwordSince MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add pocketbase-mcp-server -- /path/to/pocketbase-mcp-server/build/index.js --pb-url=http://localhost:8090 [email protected] --pb-admin-password=your-secure-password{
"mcpServers": {
"pocketbase-mcp-server": {
"command": "/path/to/pocketbase-mcp-server/build/index.js --pb-url=http://localhost:8090 [email protected] --pb-admin-password=your-secure-password"
}
}
}code --add-mcp '{"name":"pocketbase-mcp-server","command":"/path/to/pocketbase-mcp-server/build/index.js --pb-url=http://localhost:8090 [email protected] --pb-admin-password=your-secure-password"}'[mcp_servers.pocketbase-mcp-server]
command = "/path/to/pocketbase-mcp-server/build/index.js --pb-url=http://localhost:8090 [email protected] --pb-admin-password=your-secure-password"Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/pocketbase-mcp-server-mcp-server to learn what the "pocketbase-mcp-server MCP Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server runs locally, so we can't read its tool list over the web yet.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/pocketbase-mcp-server-mcp-server)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "pocketbase-mcp-server-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.