Connect with one command
Connect Bweb MCP in WorkBuddy, Qoder, Cursor, Claude Code or Codex, then log in:
node cloudsite-mcp.mjs loginAfter confirming the device code in the browser, the token is written to ~/.bweb/config.json; the MCP config no longer needs a token.
What the publish module does
| Tool | Purpose | | --- | --- | | publish_recommend | Recommend a provider and region from audience, ICP and budget | | publish_verify | Audit any live URL | | publish_adopt | Take over an IDE/CI-deployed site | | publish_launch | Deploy, switch provider/region and verify | | publish_rollback | Restore a deploy snapshot | | publish_health | Health check with team-chat alerts | | publish_handoff | Export a ZIP + config for IDE deployment | | deploy_setup_* | Guided cloud-credential setup | | deploy_policy_update | Auto-deploy after upload/setup or via webhook |
Typical flows
Adopt an existing site
deploy_projects_listto see existing projects (optional).publish_adoptwith the URL and optional provider_project_id.- Give the returned enhance snippet to your IDE.
- Re-run
publish_verify.
Let Bweb deploy
publish_recommendto choose provider and region.deploy_setup_beginto open a one-time setup link.deploy_setup_statusto poll; with a slug it deploys once ready.publish_healthto watch certificates, DNS, forms and SEO regressions.
When something breaks
node cloudsite-mcp.mjs health shop-example
node cloudsite-mcp.mjs handoff shop-exampleCall publish_rollback to restore the previous snapshot; it redeploys after restoring.
Where credentials come from
Fixed precedence:
- Account vault: console or
deploy_provider_save, encrypted at rest. - Environment variables:
ESA_*,EDGEONE_*,CLOUDFLARE_*,FIREBASE_*, explicitly enabled. - None: linked mode needs no cloud credentials.
Sources are never mixed, and secrets are never returned to the model.
Safety boundaries
- Credential tools require an admin and
confirm=true. - Setup links are account-bound, valid for 30 minutes and single-use.
- Verification rejects private hosts, localhost and URLs with credentials.
- Auto-deploy is off by default and can be switched back to manual.
FAQ
Will MCP deploy automatically? Only after enabling on_upload, on_setup_ready or on_webhook. The default is manual.
Can I use it without cloud credentials? Yes — adopt a site your IDE already deployed.
Does rollback delete data? It restores files and the deploy version only; leads, subscribers and analytics are untouched.
About the author
Bweb Editorial TeamContent and editorial
Turning first-hand building, publishing, domain and acquisition work into steps readers can follow.
Reviewed by: SHUOFENG
Facts are checked by a person before publishing; AI only assists with drafts and translation.
Editorial standards