PocketBase Task MCP Server
Provides tools for managing tasks and projects in a PocketBase instance, including creating tasks, listing tasks with status filters, and browsing projects.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PocketBase Task MCP ServerShow pending tasks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
https://claude.ai/chat/4dea4e6a-4f62-44b0-8a96-f87167a17fef https://claude.ai/public/artifacts/8f2db72a-f062-4d0c-b64c-e7f4018910d6
cloudflared tunnel --url http://localhost:3001
Email:
test@example.comPassword:
password123
PocketBase Task MCP Server
A Model Context Protocol (MCP) server that integrates with PocketBase to manage tasks and projects. This server allows AI models (like Claude) to create tasks, list tasks with status filters, and browse projects.
Now running over HTTP - Easy to test locally and ready for deployment!
Features
HTTP Transport: Simple URL-based access, no complex configuration needed
Tool Chaining: Automatically links tasks to projects by fetching IDs first
Project Management: List all projects from the
projectscollectionTask Management: Create tasks in the
taskcollection with mandatory project relationshipsStatus Filtering: List tasks and filter by 'Pending' or 'Completed' status
Environment Driven: Securely managed via
.envfile for PocketBase authenticationEasy Testing: Simple health check endpoint and MCP Inspector support
โก Quick Start
# 1. Install dependencies
npm install
# 2. Create .env file
echo "PB_AUTH_TOKEN=your_super_admin_token_here" > .env
# 3. Build the project
npm run build
# 4. Start the server
node dist/index.jsYour server is now running at http://localhost:3000!
Test it: Open http://localhost:3000/health in your browser.
๐ Getting Started
1. Prerequisites
Node.js (v18+)
PocketBase running locally at
http://127.0.0.1:8090A PocketBase Super Admin token.
2. Installation
npm install3. Configuration
Create a .env file in the project root:
PB_AUTH_TOKEN=your_super_admin_token_here๐ ๏ธ Development & Debugging
Build the Project
Compile the TypeScript code into JavaScript:
npm run buildStart the HTTP Server
Run the server locally:
node dist/index.jsThe server will start on http://localhost:3000 (or the port specified in your .env file).
You should see output like:
MCP server running on http://localhost:3000
Health check: http://localhost:3000/health
MCP endpoint: http://localhost:3000/mcpTest the Server
Visit the health check endpoint in your browser:
http://localhost:3000/healthYou should see:
{"status":"ok","message":"PMS MCP Server is running"}Optional Port Configuration
Add to your .env file to change the port:
PORT=3000
PB_AUTH_TOKEN=your_super_admin_token_here๐ Available Tools
list_projects: Fetch all projects and their IDs.create_task: Create a new task (requirestask_title,eta,status, andproject_id).list_tasks: List all tasks with optional status filtering.
๐งช Testing the Tools
You can test the MCP server using the MCP Inspector or by connecting via the HTTP endpoint at http://localhost:3000/mcp.
Using MCP Inspector
npx @modelcontextprotocol/inspectorThen connect to: http://localhost:3000/mcp
๐ Why HTTP Over Stdio?
Advantages:
No Configuration Files: No need to edit
claude_desktop_config.jsonor other complex configsEasy Testing: Simple URL access via browser or tools like Postman
Remote Ready: Can be deployed to a server and accessed from anywhere
Multiple Clients: Multiple applications can connect simultaneously
Better Debugging: Easy to monitor requests and responses with standard HTTP tools
Connecting from MCP Clients:
When using MCP-compatible clients, connect to:
http://localhost:3000/mcp๐ Dependencies
@modelcontextprotocol/sdk: Core MCP functionalitypocketbase: PocketBase JS SDKexpress: HTTP server frameworkcors: Cross-Origin Resource Sharing middlewarezod: Schema validationdotenv: Environment variable management
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/muhammadchhota/MCP-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server