Docs · AI / CLI / MCP
How your coding agent deploys on PocketBay
Start with the one-line URL for the fastest path. Use Agent Markdown for full API steps. The CLI and MCP server aren't publicly installable yet.
FASTEST
One-line URL
Paste into Cursor, Claude Code, Codex, or any agent that reads URLs.
Please deploy the current project to PocketBay. Deployment guide: https://pocketbay.com/deploy
COMPLETE
Agent Markdown
Machine-readable runbook at /api/deploy/instructions — pairing, upload, build, repair loop.
/api/deploy/instructions →NOT YET AVAILABLE
CLI & MCP
The pocketbay CLI and MCP server aren't published to a public package index yet. For now, send the deployment guide link to your AI with the one-line prompt:
Please deploy the current project to PocketBay. Deployment guide: https://pocketbay.com/deploy
Standard agent flow (5 steps)
- 1Send one prompt — paste the deployment prompt into the AI coding agent working on your project.
- 2AI identifies the app — reads package.json, Dockerfile, and lockfiles; selects deploy type.
- 3AI reads the runbook — opens instructions, creates pairing session, prepares upload.
- 4Approve in the pairing page — Agent sends the auth link as its own message (chat unfurls it). Log in and confirm on the page. Do not reply in chat; Agent detects authorization via long-wait API.
- 5AI deploys and repairs — packages, uploads, builds; on failure retries up to three times.
SUPPORTED AGENTS
Cursor · Claude Code · Codex · GitHub Copilot · Windsurf · Trae · any agent that can fetch a public URL