Skip to content

feat(mcp): plugin-carried Connect-an-agent Setup page + nav (#2714)#2741

Merged
os-zhuang merged 2 commits into
mainfrom
feat/connect-agent-ui-bundle
Jul 10, 2026
Merged

feat(mcp): plugin-carried Connect-an-agent Setup page + nav (#2714)#2741
os-zhuang merged 2 commits into
mainfrom
feat/connect-agent-ui-bundle

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

#2714 Phase 1, companion to objectstack-ai/objectui#2372 (which closes objectstack-ai/objectui#2363).

The MCP plugin now carries its own Setup surface — CONNECT_AGENT_UI_BUNDLE (page connect_agent + nav entry under Integrations) registered on kernel:ready via the manifest service, the exact pattern of the marketplace pages (cloud ADR-0009: the nav lives and dies with the capability). Gated on isMcpServerEnabled(): an opted-out deployment gets no page and no nav entry, mirroring the 404'd surface.

The page body is the mcp:connect-agent SDUI widget (objectui#2372): environment MCP URL from /discovery, per-client connect cards (claude.ai/Desktop, Claude Code + official plugin, Cursor deeplink, VS Code, Codex), SKILL.md download (#2728), show-once API-key minting. zh-CN nav label (连接智能体) added alongside the existing Setup nav translations.

Verification

  • mcp 66 ✓ (2 new: bundle registered by default with correct page/nav shape; nothing registered when opted out)
  • Browser-verified end-to-end with the live widget (console Vite dev → showcase server): nav entry renders under Integrations, page loads with all six cards and the real env URL, an API key minted on-page drives a real MCP tools/list (9 tools), SKILL.md link serves the env-customized markdown.

Refs #2714.

🤖 Generated with Claude Code

CONNECT_AGENT_UI_BUNDLE registered on kernel:ready via the manifest service
(same pattern as the marketplace pages), gated on isMcpServerEnabled().
Page body = objectui's mcp:connect-agent widget (objectui#2372). zh-CN nav
label. Browser-verified end-to-end with the live widget: nav entry renders
under Integrations, page loads, on-page-minted key drives real MCP tools.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Canceled Canceled Jul 10, 2026 4:24am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/m labels Jul 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/mcp, @objectstack/platform-objects.

10 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:

  • content/docs/ai/actions-as-tools.mdx (via @objectstack/mcp)
  • content/docs/ai/agents.mdx (via @objectstack/mcp)
  • content/docs/ai/index.mdx (via @objectstack/mcp)
  • content/docs/ai/natural-language-queries.mdx (via @objectstack/mcp)
  • content/docs/api/index.mdx (via @objectstack/mcp)
  • content/docs/deployment/environment-variables.mdx (via @objectstack/mcp)
  • content/docs/plugins/packages.mdx (via @objectstack/mcp, @objectstack/platform-objects)
  • content/docs/protocol/knowledge.mdx (via @objectstack/mcp)
  • content/docs/releases/implementation-status.mdx (via @objectstack/mcp)
  • content/docs/ui/setup-app.mdx (via @objectstack/platform-objects)

Advisory only. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs origin/main → pass the list as args.docs.

@os-zhuang
os-zhuang merged commit 332b711 into main Jul 10, 2026
16 checks passed
@os-zhuang
os-zhuang deleted the feat/connect-agent-ui-bundle branch July 10, 2026 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(setup): 'Connect an agent' page — MCP URL, per-client connect cards, API keys, SKILL.md download

1 participant