Repository navigation
docs(cloud): MCP build — build with an agent over metadata:write, and the two developer routes (cloud#3304) - #378
Conversation
… the two developer routes (cloud#3304) - configure/mcp: "Build with an agent" under On ObjectOS Cloud: requesting metadata:write (OAuth only, never an API key), what the authoring tools do, every write a draft in any environment with no publish tool, publish in Studio > Changes, confirm: true for removing or narrowing edits, the request limits plus the 200 / 2,000 build writes and 500 drafts, and the one-line answer to "why is my flow refused". Four troubleshooting rows. - build/packages: the two developer routes on Cloud, package publish (versioned, Marketplace) and MCP build (drafts, for iteration). - start/cloud: names both routes from step 4. English only; the locale siblings follow the translation pass. Claude-Session: https://claude.ai/code/session_01QUs3Brx2C3J1bPhD6AK2wB Co-authored-by: Claude <noreply@anthropic.com>
|
Seat review ( The facts match landed cloud code at
Every anchor the page links ( Landing goes through the docs seat. The behaviour is live on production once the next cloud production deploy carries |
|
Seat record · landing · 2026-10-28T12:40Z · This answers
Tier none. Through the merge queue under the maintainer's standing go-ahead, serially: nothing else is in flight on this lane. |
Requested by Sam · project thread
Part of objectstack-ai/cloud#3304
维护者速读
configure/mcp.mdx的 "On ObjectOS Cloud" 下新增 Build with an agent 一节:申请metadata:write(只走浏览器 OAuth 登录,API key 永远拿不到搭建工具)、搭建工具各做什么、每次写入在任何环境(含生产)都只是草稿且没有发布/丢弃工具、由人在 Studio → Changes 发布、删除或收窄的改动要confirm: true、请求上限 + 每日 200/2,000 次搭建写入 + 500 个未发布草稿、以及「为什么我的流程被拒」的一句话答案。另加 4 行排障。build/packages.mdx新增 Cloud 上两条开发者路线对照(发包 vs MCP build),start/cloud.mdx第 4 步点出这两条路线。所有数字和行为都读自 cloud main551ac59的代码,不是卡片;页面里没有内部成本或策略。落地时机:这些行为在 cloud main 上已合入(cloud#3345),但要等下一次 cloud 生产部署才对用户生效。请 docs 席位按
.cloud-sha规则决定合并时间。What changed
551ac59)configure/mcp.mdxmetadata:write; 4 troubleshooting rowsobjectos-runtime/src/mcp-build-door.ts(OAuth grant namingmetadata:writeonly; API key / session never reach it; user re-resolved,manage_metadata/studio.accesschecked bybuild-tool-access.ts). Tools:service-ai-studio/src/tools/mcp-door.ts(MCP_DOOR_WITHHELD_TOOLS:toggle_flow,test_flow,todo_write,load_tools,get/set_active_package,validate_expressionas the native one),stagesOnlyinauthoring-whitelist.ts, publish route/_console/studio/<pkg>/data. Confirm:mcp-destructive.ts(MCP_CONFIRM_TOOLS:delete_field,modify_field,apply_edit,update_metadata; field removed, type changed, flow node dropped). Ceiling:mcp-ceiling.ts(20/min + 1,000/day Free, 120/min paid; cloud#3203 / #3221). Volume:mcp-build-volume.tsMCP_BUILD_VOLUME_LIMITS(200 / 2,000 writes per UTC day, 500 drafts; cloud#3303 / #3332), refusal is a tool errorRATE_LIMIT_EXCEEDED, not an HTTP 429. Flow vocabulary:authoring-whitelist.tsdeveloper tier (cloud#3299), clock withheld on Free (clockWithheldByPlan), approval steps only where the approvals engine is mounted (cloud#3300), repository-only listINBOUND_REPOSITORY_ONLY_CLAUSEbuild/packages.mdxstart/cloud.mdxScope advertisement:
scopes_supportedin the framework's protected-resource metadata includesmetadata:write(plugin-authgetMcpProtectedResourceMetadata,MCP_OAUTH_SCOPES), so the page says a client that asks for the advertised scopes gets it, and one that asks by name must add it. The consent-screen sentence for the scope (MCP_OAUTH_SCOPE_CONSENT_COPY) is declared but not rendered anywhere yet, so the page does not quote it.Locale: English only (AGENTS.md rule 1). The
zh-Hans/zh-Hantsiblings of the three pages are stale until the next translation pass; nothing English was reversed, so no sibling is deleted.Gates
npm run type-check(apps/docs): green, frontmatter valid on 324 pages.pnpm turbo run build --filter=@objectos/docs: green; built pages carryid="build-with-an-agent"andid="two-developer-routes-on-objectos-cloud".check-positioning,check-locale-surface,check-search-locales,check-doc-samples,gen-zh-hant --check,check-translation-ownership(0 translation artifacts, 3 other files),pnpm turbo run test: green.Companion
cloud PR (same card):
docs/design/pricing.md— the Free developer path becomes the MCP build within the ceiling and the volume cap; paid rows carry their caps.Generated by Claude Code