package.json•3.55 kB
{
"name": "pocketbase-server",
"version": "0.1.0",
"type": "module",
"module": "./src/smithery-entry-comprehensive-all-tools.ts",
"main": "./dist/main.js",
"scripts": {
"preinstall": "node -e \"console.log('package-lock.json exists:', require('fs').existsSync('package-lock.json'))\"",
"install-deps": "sh install-deps.sh",
"build": "tsc --project tsconfig.worker.json",
"build:worker": "tsc --project tsconfig.worker.json",
"build:durable": "tsc --project tsconfig.worker.json",
"predeploy": "npm run build:durable",
"deploy": "wrangler deploy",
"deploy:staging": "npm run build:durable && wrangler deploy --env staging",
"dev:worker": "npm run build:durable && wrangler dev",
"dev:durable": "npm run build:durable && wrangler dev --local",
"start": "node dist/main.js",
"start:stdio": "node dist/main.js --transport=stdio",
"start:agent": "node dist/agent-simple.js",
"start:legacy": "node dist/index.js --transport=stdio",
"start:sse": "node dist/index.js --transport=sse --port=3000 --host=0.0.0.0",
"start:http": "node dist/index.js --transport=http --port=3000 --host=0.0.0.0",
"start:sse:localhost": "node dist/index.js --transport=sse --port=3000 --host=localhost",
"start:http:localhost": "node dist/index.js --transport=http --port=3000 --host=localhost",
"start:sse:dev": "node dist/index.js --transport=sse --port=3001 --host=localhost",
"start:http:dev": "node dist/index.js --transport=http --port=3001 --host=localhost",
"start:sse:prod": "node dist/index.js --transport=sse --port=80 --host=0.0.0.0",
"start:http:prod": "node dist/index.js --transport=http --port=80 --host=0.0.0.0",
"smithery": "node dist/main.js --transport=stdio",
"smithery:dev": "npx @smithery/cli dev",
"smithery:build": "npx @smithery/cli build",
"deploy:smithery": "npm run build && npm run smithery",
"deploy:docker": "docker build -t pocketbase-mcp-server . && docker run -p 3000:3000 -e PORT=3000 pocketbase-mcp-server",
"dev": "tsc -w",
"dev:build": "npm run build && npm run start:stdio",
"test:stdio": "echo '{\"id\": 1, \"jsonrpc\": \"2.0\", \"method\": \"tools/list\", \"params\": {}}' | npm run start:stdio",
"test:tools": "echo '{\"id\": 1, \"jsonrpc\": \"2.0\", \"method\": \"tools/list\", \"params\": {}}' | node dist/index.js",
"test:resources": "echo '{\"id\": 1, \"jsonrpc\": \"2.0\", \"method\": \"resources/list\", \"params\": {}}' | node dist/index.js",
"test:prompts": "echo '{\"id\": 1, \"jsonrpc\": \"2.0\", \"method\": \"prompts/list\", \"params\": {}}' | node dist/index.js",
"test:sse": "curl -N -H \"Accept: text/event-stream\" http://localhost:3000/mcp",
"test:http": "curl -X POST -H \"Content-Type: application/json\" -d '{\"method\":\"tools/list\",\"params\":{}}' http://localhost:3000/mcp",
"health": "curl -f http://localhost:3000/health || exit 1"
},
"dependencies": {
"@cloudflare/ai": "^1.2.2",
"@modelcontextprotocol/sdk": "^1.12.1",
"@sendgrid/mail": "^8.1.5",
"@types/eventsource": "^1.1.15",
"agents": "^0.0.99",
"dotenv": "^16.4.7",
"eventsource": "^3.0.6",
"handlebars": "^4.7.8",
"nodemailer": "^6.9.0",
"pocketbase": "^0.26.1",
"stripe": "^14.0.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20250628.0",
"@types/express": "^5.0.3",
"@types/node": "^20.17.30",
"@types/nodemailer": "^6.4.17",
"@types/sendgrid": "^2.0.31",
"typescript": "^5.3.3"
}
}