How can an AI client manage Bweb through MCP?

Bweb exposes a standard MCP endpoint, module endpoints for sites, growth, marketing, social and agent work, and a stdio bridge. AI clients can list sites, preview, upload ZIPs, publish, bind domains and read leads, plans, artifacts and governance data.

What MCP is

MCP (Model Context Protocol) is a standard way for AI clients to call external tools. Bweb exposes site management, publishing, domains, leads, subscriptions and analytics as MCP tools.

That lets you use natural language in Claude Code, Claude Desktop, Cursor, Codex or another MCP-capable client to run routine operations.

Connecting a client

  • Create a cs_ access token under Settings → MCP / Agent; it is shown only once.
  • Choose read-only or read-write permissions; a read-only token cannot change data.
  • HTTP clients connect to https://bwebai.com/api/mcp, or to a module endpoint below.
  • Stdio-only clients use the cloudsite-mcp.mjs bridge script; set CLOUDSITE_MODULE to forward only one module.

Module endpoints

The aggregate /api/mcp endpoint keeps every tool for clients that need everything. If a client only handles marketing, support or site building, use a module endpoint so it never wades through hundreds of unrelated tools.

  • /api/mcp/sites: sites, files, generation, upload, preview, publishing and domains.
  • /api/mcp/growth: inquiries, chat, subscriptions, visitors, tracking, SEO/GEO audit, quotations and exports.
  • /api/mcp/marketing: contacts, templates, sending channels, campaigns, automations and pricing quotes.
  • /api/mcp/social: content drafts, compliance checks, job claiming, publish reporting and performance data.
  • /api/mcp/agent: tasks, skills, knowledge, plans, approvals, artifacts, reviews and governance.
  • A module endpoint only lists its own tools; calling another module returns module_denied. whoami and capabilities are available everywhere.
  • GET /api/mcp/catalog returns a credential-free public tool catalog used by the console and documentation.

Typical site operations

  • List the account's sites and their status.
  • Generate temporary preview links.
  • Upload a locally generated static site as a ZIP or inline files.
  • Generate or edit pages with AI.
  • Publish to Cloudflare Pages or Firebase Hosting.
  • Bind and manage domains.

Working with business data

Enhancement tools cover forms and leads, chat conversations, subscriptions, visitors, tracking, analytics and exports. Read tools return full fields; write tools are constrained by permissions, parameter validation, audit logs and rate limits.

They can be combined into a daily operations summary: analytics totals, new leads and open conversations, handed to AI for a digest and to-do list.

Permissions and security boundaries

  • A token only reaches the account that created it and stops working when the membership expires or the account is disabled.
  • Admin-only platform finance, review and price settings are not exposed through MCP.
  • Risky actions require confirmation and calls are audited.
  • MCP does not bypass business rules, quotas, permissions or review.

About the author

Bweb Editorial Team

Content 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

Related questions

Does MCP cost extra?
MCP calls are not charged separately, but consumed resources count toward plan quotas. AI model usage is billed by the client's provider.
What can a read-only token do?
It can view sites, generate previews and read data. It cannot publish, edit sites, bind domains or modify leads.
Which AI clients are supported?
Any client that supports standard MCP Streamable HTTP can connect directly; stdio-only clients use the provided bridge script.
Can MCP perform admin operations?
No. Platform finance, review, price settings and other admin-only operations are not available through MCP.
Why is MCP split into modules?
Each module endpoint exposes only its own tools, so a client is not flooded with hundreds of unrelated actions and is less likely to call the wrong domain. Token scope, site range, rate limits and audit apply to every module; use the aggregate /api/mcp endpoint when a client needs everything.
Can MCP read intelligent-organization plans and governance data?
Yes. agent_* tools cover tasks, plans, approvals, artifacts, reviews and governance. Read-only tokens can inspect them; approving a plan or grant needs a read-write token and still follows team roles and the approval matrix — a token cannot self-approve.

Keep reading

Want to try it yourself?

Sign in with an email code (your account is created on first sign-in), build a site and see the result before choosing a plan.