@agent-native/core 0.98.16 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/corpus/README.md +2 -2
- package/corpus/core/CHANGELOG.md +21 -0
- package/corpus/core/docs/content/actions.mdx +1 -1
- package/corpus/core/docs/content/authentication.mdx +1 -1
- package/corpus/core/docs/content/dispatch.mdx +3 -3
- package/corpus/core/docs/content/external-agents.mdx +30 -19
- package/corpus/core/docs/content/locales/ar-SA/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/ar-SA/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/ar-SA/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/ar-SA/external-agents.mdx +23 -19
- package/corpus/core/docs/content/locales/ar-SA/mcp-clients.mdx +31 -3
- package/corpus/core/docs/content/locales/ar-SA/mcp-protocol.mdx +29 -15
- package/corpus/core/docs/content/locales/ar-SA/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/ar-SA/server.mdx +2 -2
- package/corpus/core/docs/content/locales/ar-SA/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/ar-SA/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/ar-SA/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/ar-SA/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/de-DE/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/de-DE/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/de-DE/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/de-DE/external-agents.mdx +23 -19
- package/corpus/core/docs/content/locales/de-DE/mcp-clients.mdx +37 -3
- package/corpus/core/docs/content/locales/de-DE/mcp-protocol.mdx +29 -15
- package/corpus/core/docs/content/locales/de-DE/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/de-DE/server.mdx +2 -2
- package/corpus/core/docs/content/locales/de-DE/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/de-DE/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/de-DE/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/de-DE/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/es-ES/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/es-ES/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/es-ES/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/es-ES/external-agents.mdx +32 -19
- package/corpus/core/docs/content/locales/es-ES/mcp-clients.mdx +17 -3
- package/corpus/core/docs/content/locales/es-ES/mcp-protocol.mdx +38 -15
- package/corpus/core/docs/content/locales/es-ES/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/es-ES/server.mdx +2 -2
- package/corpus/core/docs/content/locales/es-ES/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/es-ES/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/es-ES/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/es-ES/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/fr-FR/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/fr-FR/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/fr-FR/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/fr-FR/external-agents.mdx +23 -19
- package/corpus/core/docs/content/locales/fr-FR/mcp-clients.mdx +17 -3
- package/corpus/core/docs/content/locales/fr-FR/mcp-protocol.mdx +29 -15
- package/corpus/core/docs/content/locales/fr-FR/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/fr-FR/server.mdx +2 -2
- package/corpus/core/docs/content/locales/fr-FR/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/fr-FR/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/fr-FR/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/fr-FR/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/hi-IN/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/hi-IN/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/hi-IN/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/hi-IN/external-agents.mdx +31 -19
- package/corpus/core/docs/content/locales/hi-IN/mcp-clients.mdx +17 -3
- package/corpus/core/docs/content/locales/hi-IN/mcp-protocol.mdx +36 -15
- package/corpus/core/docs/content/locales/hi-IN/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/hi-IN/server.mdx +2 -2
- package/corpus/core/docs/content/locales/hi-IN/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/hi-IN/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/hi-IN/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/hi-IN/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/ja-JP/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/ja-JP/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/ja-JP/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/ja-JP/external-agents.mdx +23 -19
- package/corpus/core/docs/content/locales/ja-JP/mcp-clients.mdx +34 -3
- package/corpus/core/docs/content/locales/ja-JP/mcp-protocol.mdx +29 -15
- package/corpus/core/docs/content/locales/ja-JP/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/ja-JP/server.mdx +2 -2
- package/corpus/core/docs/content/locales/ja-JP/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/ja-JP/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/ja-JP/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/ja-JP/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/ko-KR/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/ko-KR/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/ko-KR/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/ko-KR/external-agents.mdx +30 -19
- package/corpus/core/docs/content/locales/ko-KR/mcp-clients.mdx +33 -3
- package/corpus/core/docs/content/locales/ko-KR/mcp-protocol.mdx +36 -15
- package/corpus/core/docs/content/locales/ko-KR/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/ko-KR/server.mdx +2 -2
- package/corpus/core/docs/content/locales/ko-KR/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/ko-KR/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/ko-KR/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/ko-KR/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/pt-BR/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/pt-BR/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/pt-BR/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/pt-BR/external-agents.mdx +32 -19
- package/corpus/core/docs/content/locales/pt-BR/mcp-clients.mdx +34 -3
- package/corpus/core/docs/content/locales/pt-BR/mcp-protocol.mdx +32 -15
- package/corpus/core/docs/content/locales/pt-BR/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/pt-BR/server.mdx +2 -2
- package/corpus/core/docs/content/locales/pt-BR/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/pt-BR/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/pt-BR/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/pt-BR/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/zh-CN/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-CN/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-CN/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/zh-CN/external-agents.mdx +23 -19
- package/corpus/core/docs/content/locales/zh-CN/mcp-clients.mdx +28 -3
- package/corpus/core/docs/content/locales/zh-CN/mcp-protocol.mdx +29 -15
- package/corpus/core/docs/content/locales/zh-CN/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/zh-CN/server.mdx +2 -2
- package/corpus/core/docs/content/locales/zh-CN/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-CN/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-CN/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/zh-CN/template-plan.mdx +3 -3
- package/corpus/core/docs/content/locales/zh-TW/actions.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-TW/authentication.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-TW/dispatch.mdx +3 -3
- package/corpus/core/docs/content/locales/zh-TW/external-agents.mdx +23 -19
- package/corpus/core/docs/content/locales/zh-TW/mcp-clients.mdx +28 -3
- package/corpus/core/docs/content/locales/zh-TW/mcp-protocol.mdx +30 -15
- package/corpus/core/docs/content/locales/zh-TW/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/locales/zh-TW/server.mdx +2 -2
- package/corpus/core/docs/content/locales/zh-TW/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-TW/template-assets.mdx +1 -1
- package/corpus/core/docs/content/locales/zh-TW/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/locales/zh-TW/template-plan.mdx +3 -3
- package/corpus/core/docs/content/mcp-clients.mdx +31 -4
- package/corpus/core/docs/content/mcp-protocol.mdx +35 -15
- package/corpus/core/docs/content/plan-plugin.mdx +3 -3
- package/corpus/core/docs/content/server.mdx +2 -2
- package/corpus/core/docs/content/skills-guide.mdx +1 -1
- package/corpus/core/docs/content/template-assets.mdx +1 -1
- package/corpus/core/docs/content/template-dispatch.mdx +2 -2
- package/corpus/core/docs/content/template-plan.mdx +3 -3
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/a2a/client.ts +3 -0
- package/corpus/core/src/a2a/handlers.ts +95 -7
- package/corpus/core/src/cli/connect.ts +50 -24
- package/corpus/core/src/cli/mcp-config-writers.ts +10 -0
- package/corpus/core/src/cli/mcp.ts +5 -5
- package/corpus/core/src/cli/skills-content/assets-skill.ts +1 -1
- package/corpus/core/src/cli/skills-content/design-exploration-skill.ts +1 -1
- package/corpus/core/src/cli/skills-content/help.ts +1 -1
- package/corpus/core/src/cli/skills-content/plan-setup-auth.ts +1 -1
- package/corpus/core/src/cli/skills-content/visual-plan-skill.ts +1 -1
- package/corpus/core/src/cli/skills-content/visual-recap-skill.ts +2 -2
- package/corpus/core/src/cli/skills.ts +23 -12
- package/corpus/core/src/client/resources/McpIntegrationDialog.tsx +5 -0
- package/corpus/core/src/client/resources/mcp-integration-catalog.ts +17 -0
- package/corpus/core/src/embedding/agent.ts +8 -6
- package/corpus/core/src/localization/default-messages.ts +7 -0
- package/corpus/core/src/mcp/ask-app-inline-tasks.ts +125 -0
- package/corpus/core/src/mcp/build-server.ts +65 -3
- package/corpus/core/src/mcp/builtin-tools.ts +186 -22
- package/corpus/core/src/mcp/connect-route.ts +17 -14
- package/corpus/core/src/mcp/oauth-route.ts +38 -13
- package/corpus/core/src/mcp/route-paths.ts +34 -0
- package/corpus/core/src/mcp/server.ts +21 -10
- package/corpus/core/src/mcp/stdio.ts +34 -16
- package/corpus/core/src/mcp/workspace-resolve.ts +2 -1
- package/corpus/core/src/mcp-client/manager.ts +5 -3
- package/corpus/core/src/mcp-client/remote-store.ts +10 -10
- package/corpus/core/src/server/agent-chat-plugin.ts +59 -8
- package/corpus/core/src/server/auth.ts +22 -6
- package/corpus/core/src/server/core-routes-plugin.ts +30 -24
- package/corpus/core/src/server/csrf.ts +17 -0
- package/corpus/core/src/server/framework-request-handler.ts +8 -2
- package/corpus/core/src/server/google-oauth.ts +6 -0
- package/corpus/core/src/server/http-response-telemetry.ts +6 -1
- package/corpus/core/src/server/recap-image-route.ts +3 -3
- package/corpus/core/src/server/security-headers.ts +7 -1
- package/corpus/core/src/server/ssr-handler.ts +2 -0
- package/corpus/core/src/shared/cache-control.ts +6 -4
- package/corpus/core/src/templates/default/.agents/skills/security/SKILL.md +10 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/authentication/SKILL.md +15 -6
- package/corpus/core/src/templates/workspace-core/.agents/skills/external-agents/SKILL.md +16 -10
- package/corpus/core/src/templates/workspace-core/.agents/skills/performance/SKILL.md +20 -1
- package/corpus/core/src/templates/workspace-core/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/analytics/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/analytics/app/global.css +63 -4
- package/corpus/templates/analytics/app/pages/sessions/SessionDetailPage.tsx +8 -5
- package/corpus/templates/analytics/changelog/2026-07-13-daily-dashboard-emails-recover-more-reliably-from-serverless.md +6 -0
- package/corpus/templates/analytics/changelog/2026-07-13-session-replays-keep-a-visible-mac-style-cursor-over-the-vis.md +6 -0
- package/corpus/templates/analytics/server/jobs/dashboard-report.ts +21 -2
- package/corpus/templates/analytics/server/lib/dashboard-report-subscriptions.ts +57 -1
- package/corpus/templates/analytics/server/lib/dashboard-report.ts +266 -28
- package/corpus/templates/analytics/server/routes/[...page].get.ts +0 -2
- package/corpus/templates/assets/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/assets/agent-native.app-skill.json +1 -1
- package/corpus/templates/brain/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/calendar/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/calendar/AGENTS.md +2 -1
- package/corpus/templates/calendar/app/components/calendar/EventDetailPopover.tsx +0 -19
- package/corpus/templates/calendar/app/lib/attendee-local-time.ts +14 -5
- package/corpus/templates/calendar/changelog/2026-07-13-your-local-time-now-follows-your-browser-timezone-and-event-.md +6 -0
- package/corpus/templates/chat/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/clips/.agents/skills/recording/SKILL.md +7 -2
- package/corpus/templates/clips/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/clips/AGENTS.md +7 -0
- package/corpus/templates/clips/actions/list-meetings.ts +19 -4
- package/corpus/templates/clips/actions/start-meeting-recording.ts +7 -1
- package/corpus/templates/clips/app/components/meetings/transcript-bubbles.tsx +75 -78
- package/corpus/templates/clips/app/components/recorder/confetti-canvas.tsx +18 -1
- package/corpus/templates/clips/app/components/recorder/recorder-engine.ts +6 -12
- package/corpus/templates/clips/app/components/recorder/recording-toolbar.tsx +19 -2
- package/corpus/templates/clips/app/lib/camera-composite.ts +70 -10
- package/corpus/templates/clips/app/routes/_app.meetings.$meetingId.tsx +1 -1
- package/corpus/templates/clips/app/routes/record.tsx +5 -25
- package/corpus/templates/clips/changelog/2026-07-13-clips-desktop-now-requires-macos-13-for-native-capture.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-13-clips-hide-solo-meeting-reminders.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-13-clips-now-removes-duplicate-mic-and-system-transcript-turns-.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-13-desktop-recordings-run-cooler-and-quieter-live-transcription.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-13-meeting-recordings-now-stop-after-a-calendar-meeting-ends-an.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-13-meeting-transcripts-now-use-a-clean-agent-chat-style-reading.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-13-screen-recordings-use-less-processing-power-during-longer-ca.md +6 -0
- package/corpus/templates/clips/chrome-extension/src/background.ts +5 -3
- package/corpus/templates/clips/chrome-extension/src/offscreen.ts +17 -14
- package/corpus/templates/clips/chrome-extension/src/overlay.ts +8 -2
- package/corpus/templates/clips/desktop/README.md +3 -0
- package/corpus/templates/clips/desktop/src/hooks/useMeetingTranscription.ts +9 -0
- package/corpus/templates/clips/desktop/src/lib/recorder.ts +8 -2
- package/corpus/templates/clips/desktop/src/lib/silence-events.ts +1 -0
- package/corpus/templates/clips/desktop/src/lib/transcription-capture.ts +5 -0
- package/corpus/templates/clips/desktop/src/lib/transcription-engine.ts +134 -5
- package/corpus/templates/clips/desktop/src/lib/upload-video-stream.ts +28 -0
- package/corpus/templates/clips/desktop/src/overlays/flow-bar.tsx +10 -3
- package/corpus/templates/clips/desktop/src/overlays/meeting-notification.tsx +42 -9
- package/corpus/templates/clips/desktop/src/overlays/recording-pill.tsx +10 -2
- package/corpus/templates/clips/desktop/src-tauri/Cargo.toml +6 -1
- package/corpus/templates/clips/desktop/src-tauri/src/notifications.rs +77 -1
- package/corpus/templates/clips/desktop/src-tauri/src/silence_detector.rs +104 -25
- package/corpus/templates/clips/desktop/src-tauri/src/system_audio.rs +4 -0
- package/corpus/templates/clips/desktop/src-tauri/src/whisper_speech.rs +287 -32
- package/corpus/templates/clips/desktop/src-tauri/tauri.conf.json +1 -1
- package/corpus/templates/clips/server/lib/calendar-event-classification.ts +28 -0
- package/corpus/templates/clips/server/routes/[...page].get.ts +1 -59
- package/corpus/templates/clips/shared/recording-capture.ts +37 -0
- package/corpus/templates/content/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/content/agent-native.app-skill.json +1 -1
- package/corpus/templates/content/server/routes/[...page].get.ts +1 -15
- package/corpus/templates/design/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/design/actions/connect-assets-mcp.ts +1 -1
- package/corpus/templates/design/agent-native.app-skill.json +1 -1
- package/corpus/templates/design/app/components/design/DesignCanvas.tsx +88 -12
- package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +1 -0
- package/corpus/templates/design/app/components/design/bridge/editor-chrome.bridge.ts +4 -1
- package/corpus/templates/design/changelog/2026-07-13-adding-shapes-preserves-canvas-background.md +6 -0
- package/corpus/templates/design/changelog/2026-07-13-clicking-quickly-between-overlapping-elements-no-longer-bounc.md +6 -0
- package/corpus/templates/design/server/plugins/assets-mcp.ts +1 -1
- package/corpus/templates/design/server/routes/[...page].get.ts +0 -2
- package/corpus/templates/dispatch/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/forms/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/macros/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/mail/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/plan/.agents/skills/security/SKILL.md +10 -0
- package/corpus/templates/plan/.agents/skills/visual-plan/SKILL.md +1 -1
- package/corpus/templates/plan/.agents/skills/visual-recap/SKILL.md +2 -2
- package/corpus/templates/plan/agent-native.app-skill.json +1 -1
- package/corpus/templates/plan/app/lib/plan-local-bridge.ts +6 -1
- package/corpus/templates/plan/app/pages/PlansPage.tsx +15 -6
- package/corpus/templates/plan/changelog/2026-07-13-fixed-local-plan-previews-continuously-flickering-while-revi.md +6 -0
- package/corpus/templates/plan/server/routes/[...page].get.ts +0 -2
- package/corpus/templates/slides/.agents/skills/security/SKILL.md +10 -0
- package/dist/a2a/client.d.ts +2 -0
- package/dist/a2a/client.d.ts.map +1 -1
- package/dist/a2a/client.js +2 -0
- package/dist/a2a/client.js.map +1 -1
- package/dist/a2a/handlers.d.ts.map +1 -1
- package/dist/a2a/handlers.js +84 -7
- package/dist/a2a/handlers.js.map +1 -1
- package/dist/cli/connect.d.ts +2 -2
- package/dist/cli/connect.d.ts.map +1 -1
- package/dist/cli/connect.js +45 -23
- package/dist/cli/connect.js.map +1 -1
- package/dist/cli/mcp-config-writers.d.ts.map +1 -1
- package/dist/cli/mcp-config-writers.js +7 -0
- package/dist/cli/mcp-config-writers.js.map +1 -1
- package/dist/cli/mcp.js +5 -3
- package/dist/cli/mcp.js.map +1 -1
- package/dist/cli/skills-content/assets-skill.d.ts +1 -1
- package/dist/cli/skills-content/assets-skill.d.ts.map +1 -1
- package/dist/cli/skills-content/assets-skill.js +1 -1
- package/dist/cli/skills-content/assets-skill.js.map +1 -1
- package/dist/cli/skills-content/design-exploration-skill.d.ts +1 -1
- package/dist/cli/skills-content/design-exploration-skill.d.ts.map +1 -1
- package/dist/cli/skills-content/design-exploration-skill.js +1 -1
- package/dist/cli/skills-content/design-exploration-skill.js.map +1 -1
- package/dist/cli/skills-content/help.d.ts +1 -1
- package/dist/cli/skills-content/help.d.ts.map +1 -1
- package/dist/cli/skills-content/help.js +1 -1
- package/dist/cli/skills-content/help.js.map +1 -1
- package/dist/cli/skills-content/plan-setup-auth.d.ts +1 -1
- package/dist/cli/skills-content/plan-setup-auth.d.ts.map +1 -1
- package/dist/cli/skills-content/plan-setup-auth.js +1 -1
- package/dist/cli/skills-content/plan-setup-auth.js.map +1 -1
- package/dist/cli/skills-content/visual-plan-skill.d.ts +1 -1
- package/dist/cli/skills-content/visual-plan-skill.d.ts.map +1 -1
- package/dist/cli/skills-content/visual-plan-skill.js +1 -1
- package/dist/cli/skills-content/visual-plan-skill.js.map +1 -1
- package/dist/cli/skills-content/visual-recap-skill.d.ts +1 -1
- package/dist/cli/skills-content/visual-recap-skill.d.ts.map +1 -1
- package/dist/cli/skills-content/visual-recap-skill.js +2 -2
- package/dist/cli/skills-content/visual-recap-skill.js.map +1 -1
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +16 -12
- package/dist/cli/skills.js.map +1 -1
- package/dist/client/resources/McpIntegrationDialog.d.ts.map +1 -1
- package/dist/client/resources/McpIntegrationDialog.js +1 -1
- package/dist/client/resources/McpIntegrationDialog.js.map +1 -1
- package/dist/client/resources/mcp-integration-catalog.d.ts +1 -0
- package/dist/client/resources/mcp-integration-catalog.d.ts.map +1 -1
- package/dist/client/resources/mcp-integration-catalog.js +14 -0
- package/dist/client/resources/mcp-integration-catalog.js.map +1 -1
- package/dist/collab/awareness.d.ts +2 -2
- package/dist/collab/awareness.d.ts.map +1 -1
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/embedding/agent.d.ts.map +1 -1
- package/dist/embedding/agent.js +6 -7
- package/dist/embedding/agent.js.map +1 -1
- package/dist/localization/default-messages.d.ts +5 -0
- package/dist/localization/default-messages.d.ts.map +1 -1
- package/dist/localization/default-messages.js +5 -0
- package/dist/localization/default-messages.js.map +1 -1
- package/dist/mcp/ask-app-inline-tasks.d.ts +47 -0
- package/dist/mcp/ask-app-inline-tasks.d.ts.map +1 -0
- package/dist/mcp/ask-app-inline-tasks.js +87 -0
- package/dist/mcp/ask-app-inline-tasks.js.map +1 -0
- package/dist/mcp/build-server.d.ts.map +1 -1
- package/dist/mcp/build-server.js +56 -3
- package/dist/mcp/build-server.js.map +1 -1
- package/dist/mcp/builtin-tools.d.ts.map +1 -1
- package/dist/mcp/builtin-tools.js +141 -21
- package/dist/mcp/builtin-tools.js.map +1 -1
- package/dist/mcp/connect-route.d.ts +12 -10
- package/dist/mcp/connect-route.d.ts.map +1 -1
- package/dist/mcp/connect-route.js +17 -14
- package/dist/mcp/connect-route.js.map +1 -1
- package/dist/mcp/oauth-route.d.ts +1 -1
- package/dist/mcp/oauth-route.d.ts.map +1 -1
- package/dist/mcp/oauth-route.js +30 -13
- package/dist/mcp/oauth-route.js.map +1 -1
- package/dist/mcp/route-paths.d.ts +13 -0
- package/dist/mcp/route-paths.d.ts.map +1 -0
- package/dist/mcp/route-paths.js +27 -0
- package/dist/mcp/route-paths.js.map +1 -0
- package/dist/mcp/server.d.ts +2 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +14 -6
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/stdio.d.ts +7 -6
- package/dist/mcp/stdio.d.ts.map +1 -1
- package/dist/mcp/stdio.js +27 -15
- package/dist/mcp/stdio.js.map +1 -1
- package/dist/mcp/workspace-resolve.d.ts +2 -1
- package/dist/mcp/workspace-resolve.d.ts.map +1 -1
- package/dist/mcp/workspace-resolve.js +2 -1
- package/dist/mcp/workspace-resolve.js.map +1 -1
- package/dist/mcp-client/manager.js +6 -3
- package/dist/mcp-client/manager.js.map +1 -1
- package/dist/mcp-client/remote-store.js +5 -7
- package/dist/mcp-client/remote-store.js.map +1 -1
- package/dist/notifications/routes.d.ts +2 -2
- package/dist/observability/routes.d.ts +3 -3
- package/dist/progress/routes.d.ts +1 -1
- package/dist/provider-api/corpus-jobs.d.ts +2 -2
- package/dist/resources/handlers.d.ts +3 -3
- package/dist/secrets/routes.d.ts +6 -6
- package/dist/server/agent-chat-plugin.d.ts.map +1 -1
- package/dist/server/agent-chat-plugin.js +60 -9
- package/dist/server/agent-chat-plugin.js.map +1 -1
- package/dist/server/auth.d.ts.map +1 -1
- package/dist/server/auth.js +16 -6
- package/dist/server/auth.js.map +1 -1
- package/dist/server/core-routes-plugin.d.ts +4 -3
- package/dist/server/core-routes-plugin.d.ts.map +1 -1
- package/dist/server/core-routes-plugin.js +20 -15
- package/dist/server/core-routes-plugin.js.map +1 -1
- package/dist/server/csrf.d.ts.map +1 -1
- package/dist/server/csrf.js +11 -0
- package/dist/server/csrf.js.map +1 -1
- package/dist/server/framework-request-handler.d.ts.map +1 -1
- package/dist/server/framework-request-handler.js +8 -2
- package/dist/server/framework-request-handler.js.map +1 -1
- package/dist/server/google-oauth.d.ts +2 -0
- package/dist/server/google-oauth.d.ts.map +1 -1
- package/dist/server/google-oauth.js +5 -0
- package/dist/server/google-oauth.js.map +1 -1
- package/dist/server/http-response-telemetry.d.ts.map +1 -1
- package/dist/server/http-response-telemetry.js +4 -1
- package/dist/server/http-response-telemetry.js.map +1 -1
- package/dist/server/recap-image-route.js +3 -3
- package/dist/server/recap-image-route.js.map +1 -1
- package/dist/server/security-headers.d.ts.map +1 -1
- package/dist/server/security-headers.js +4 -1
- package/dist/server/security-headers.js.map +1 -1
- package/dist/server/ssr-handler.d.ts.map +1 -1
- package/dist/server/ssr-handler.js +3 -1
- package/dist/server/ssr-handler.js.map +1 -1
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/dist/shared/cache-control.d.ts +7 -6
- package/dist/shared/cache-control.d.ts.map +1 -1
- package/dist/shared/cache-control.js +4 -3
- package/dist/shared/cache-control.js.map +1 -1
- package/dist/templates/default/.agents/skills/security/SKILL.md +10 -0
- package/dist/templates/workspace-core/.agents/skills/authentication/SKILL.md +15 -6
- package/dist/templates/workspace-core/.agents/skills/external-agents/SKILL.md +16 -10
- package/dist/templates/workspace-core/.agents/skills/performance/SKILL.md +20 -1
- package/dist/templates/workspace-core/.agents/skills/security/SKILL.md +10 -0
- package/docs/content/actions.mdx +1 -1
- package/docs/content/authentication.mdx +1 -1
- package/docs/content/dispatch.mdx +3 -3
- package/docs/content/external-agents.mdx +30 -19
- package/docs/content/locales/ar-SA/actions.mdx +1 -1
- package/docs/content/locales/ar-SA/authentication.mdx +1 -1
- package/docs/content/locales/ar-SA/dispatch.mdx +3 -3
- package/docs/content/locales/ar-SA/external-agents.mdx +23 -19
- package/docs/content/locales/ar-SA/mcp-clients.mdx +31 -3
- package/docs/content/locales/ar-SA/mcp-protocol.mdx +29 -15
- package/docs/content/locales/ar-SA/plan-plugin.mdx +3 -3
- package/docs/content/locales/ar-SA/server.mdx +2 -2
- package/docs/content/locales/ar-SA/skills-guide.mdx +1 -1
- package/docs/content/locales/ar-SA/template-assets.mdx +1 -1
- package/docs/content/locales/ar-SA/template-dispatch.mdx +2 -2
- package/docs/content/locales/ar-SA/template-plan.mdx +3 -3
- package/docs/content/locales/de-DE/actions.mdx +1 -1
- package/docs/content/locales/de-DE/authentication.mdx +1 -1
- package/docs/content/locales/de-DE/dispatch.mdx +3 -3
- package/docs/content/locales/de-DE/external-agents.mdx +23 -19
- package/docs/content/locales/de-DE/mcp-clients.mdx +37 -3
- package/docs/content/locales/de-DE/mcp-protocol.mdx +29 -15
- package/docs/content/locales/de-DE/plan-plugin.mdx +3 -3
- package/docs/content/locales/de-DE/server.mdx +2 -2
- package/docs/content/locales/de-DE/skills-guide.mdx +1 -1
- package/docs/content/locales/de-DE/template-assets.mdx +1 -1
- package/docs/content/locales/de-DE/template-dispatch.mdx +2 -2
- package/docs/content/locales/de-DE/template-plan.mdx +3 -3
- package/docs/content/locales/es-ES/actions.mdx +1 -1
- package/docs/content/locales/es-ES/authentication.mdx +1 -1
- package/docs/content/locales/es-ES/dispatch.mdx +3 -3
- package/docs/content/locales/es-ES/external-agents.mdx +32 -19
- package/docs/content/locales/es-ES/mcp-clients.mdx +17 -3
- package/docs/content/locales/es-ES/mcp-protocol.mdx +38 -15
- package/docs/content/locales/es-ES/plan-plugin.mdx +3 -3
- package/docs/content/locales/es-ES/server.mdx +2 -2
- package/docs/content/locales/es-ES/skills-guide.mdx +1 -1
- package/docs/content/locales/es-ES/template-assets.mdx +1 -1
- package/docs/content/locales/es-ES/template-dispatch.mdx +2 -2
- package/docs/content/locales/es-ES/template-plan.mdx +3 -3
- package/docs/content/locales/fr-FR/actions.mdx +1 -1
- package/docs/content/locales/fr-FR/authentication.mdx +1 -1
- package/docs/content/locales/fr-FR/dispatch.mdx +3 -3
- package/docs/content/locales/fr-FR/external-agents.mdx +23 -19
- package/docs/content/locales/fr-FR/mcp-clients.mdx +17 -3
- package/docs/content/locales/fr-FR/mcp-protocol.mdx +29 -15
- package/docs/content/locales/fr-FR/plan-plugin.mdx +3 -3
- package/docs/content/locales/fr-FR/server.mdx +2 -2
- package/docs/content/locales/fr-FR/skills-guide.mdx +1 -1
- package/docs/content/locales/fr-FR/template-assets.mdx +1 -1
- package/docs/content/locales/fr-FR/template-dispatch.mdx +2 -2
- package/docs/content/locales/fr-FR/template-plan.mdx +3 -3
- package/docs/content/locales/hi-IN/actions.mdx +1 -1
- package/docs/content/locales/hi-IN/authentication.mdx +1 -1
- package/docs/content/locales/hi-IN/dispatch.mdx +3 -3
- package/docs/content/locales/hi-IN/external-agents.mdx +31 -19
- package/docs/content/locales/hi-IN/mcp-clients.mdx +17 -3
- package/docs/content/locales/hi-IN/mcp-protocol.mdx +36 -15
- package/docs/content/locales/hi-IN/plan-plugin.mdx +3 -3
- package/docs/content/locales/hi-IN/server.mdx +2 -2
- package/docs/content/locales/hi-IN/skills-guide.mdx +1 -1
- package/docs/content/locales/hi-IN/template-assets.mdx +1 -1
- package/docs/content/locales/hi-IN/template-dispatch.mdx +2 -2
- package/docs/content/locales/hi-IN/template-plan.mdx +3 -3
- package/docs/content/locales/ja-JP/actions.mdx +1 -1
- package/docs/content/locales/ja-JP/authentication.mdx +1 -1
- package/docs/content/locales/ja-JP/dispatch.mdx +3 -3
- package/docs/content/locales/ja-JP/external-agents.mdx +23 -19
- package/docs/content/locales/ja-JP/mcp-clients.mdx +34 -3
- package/docs/content/locales/ja-JP/mcp-protocol.mdx +29 -15
- package/docs/content/locales/ja-JP/plan-plugin.mdx +3 -3
- package/docs/content/locales/ja-JP/server.mdx +2 -2
- package/docs/content/locales/ja-JP/skills-guide.mdx +1 -1
- package/docs/content/locales/ja-JP/template-assets.mdx +1 -1
- package/docs/content/locales/ja-JP/template-dispatch.mdx +2 -2
- package/docs/content/locales/ja-JP/template-plan.mdx +3 -3
- package/docs/content/locales/ko-KR/actions.mdx +1 -1
- package/docs/content/locales/ko-KR/authentication.mdx +1 -1
- package/docs/content/locales/ko-KR/dispatch.mdx +3 -3
- package/docs/content/locales/ko-KR/external-agents.mdx +30 -19
- package/docs/content/locales/ko-KR/mcp-clients.mdx +33 -3
- package/docs/content/locales/ko-KR/mcp-protocol.mdx +36 -15
- package/docs/content/locales/ko-KR/plan-plugin.mdx +3 -3
- package/docs/content/locales/ko-KR/server.mdx +2 -2
- package/docs/content/locales/ko-KR/skills-guide.mdx +1 -1
- package/docs/content/locales/ko-KR/template-assets.mdx +1 -1
- package/docs/content/locales/ko-KR/template-dispatch.mdx +2 -2
- package/docs/content/locales/ko-KR/template-plan.mdx +3 -3
- package/docs/content/locales/pt-BR/actions.mdx +1 -1
- package/docs/content/locales/pt-BR/authentication.mdx +1 -1
- package/docs/content/locales/pt-BR/dispatch.mdx +3 -3
- package/docs/content/locales/pt-BR/external-agents.mdx +32 -19
- package/docs/content/locales/pt-BR/mcp-clients.mdx +34 -3
- package/docs/content/locales/pt-BR/mcp-protocol.mdx +32 -15
- package/docs/content/locales/pt-BR/plan-plugin.mdx +3 -3
- package/docs/content/locales/pt-BR/server.mdx +2 -2
- package/docs/content/locales/pt-BR/skills-guide.mdx +1 -1
- package/docs/content/locales/pt-BR/template-assets.mdx +1 -1
- package/docs/content/locales/pt-BR/template-dispatch.mdx +2 -2
- package/docs/content/locales/pt-BR/template-plan.mdx +3 -3
- package/docs/content/locales/zh-CN/actions.mdx +1 -1
- package/docs/content/locales/zh-CN/authentication.mdx +1 -1
- package/docs/content/locales/zh-CN/dispatch.mdx +3 -3
- package/docs/content/locales/zh-CN/external-agents.mdx +23 -19
- package/docs/content/locales/zh-CN/mcp-clients.mdx +28 -3
- package/docs/content/locales/zh-CN/mcp-protocol.mdx +29 -15
- package/docs/content/locales/zh-CN/plan-plugin.mdx +3 -3
- package/docs/content/locales/zh-CN/server.mdx +2 -2
- package/docs/content/locales/zh-CN/skills-guide.mdx +1 -1
- package/docs/content/locales/zh-CN/template-assets.mdx +1 -1
- package/docs/content/locales/zh-CN/template-dispatch.mdx +2 -2
- package/docs/content/locales/zh-CN/template-plan.mdx +3 -3
- package/docs/content/locales/zh-TW/actions.mdx +1 -1
- package/docs/content/locales/zh-TW/authentication.mdx +1 -1
- package/docs/content/locales/zh-TW/dispatch.mdx +3 -3
- package/docs/content/locales/zh-TW/external-agents.mdx +23 -19
- package/docs/content/locales/zh-TW/mcp-clients.mdx +28 -3
- package/docs/content/locales/zh-TW/mcp-protocol.mdx +30 -15
- package/docs/content/locales/zh-TW/plan-plugin.mdx +3 -3
- package/docs/content/locales/zh-TW/server.mdx +2 -2
- package/docs/content/locales/zh-TW/skills-guide.mdx +1 -1
- package/docs/content/locales/zh-TW/template-assets.mdx +1 -1
- package/docs/content/locales/zh-TW/template-dispatch.mdx +2 -2
- package/docs/content/locales/zh-TW/template-plan.mdx +3 -3
- package/docs/content/mcp-clients.mdx +31 -4
- package/docs/content/mcp-protocol.mdx +35 -15
- package/docs/content/plan-plugin.mdx +3 -3
- package/docs/content/server.mdx +2 -2
- package/docs/content/skills-guide.mdx +1 -1
- package/docs/content/template-assets.mdx +1 -1
- package/docs/content/template-dispatch.mdx +2 -2
- package/docs/content/template-plan.mdx +3 -3
- package/package.json +1 -1
- package/src/templates/default/.agents/skills/security/SKILL.md +10 -0
- package/src/templates/workspace-core/.agents/skills/authentication/SKILL.md +15 -6
- package/src/templates/workspace-core/.agents/skills/external-agents/SKILL.md +16 -10
- package/src/templates/workspace-core/.agents/skills/performance/SKILL.md +20 -1
- package/src/templates/workspace-core/.agents/skills/security/SKILL.md +10 -0
|
@@ -245,6 +245,29 @@ MCP 工具僅在 Node 執行時啟用 - Cloudflare Workers 和其他邊緣
|
|
|
245
245
|
|
|
246
246
|
MCP(模型脈絡協議)伺服器為您的代理提供新的能力 - 例如連線到 Zapier、Cloudflare、Composio 或您公司的內部工具。連線後,代理可以像使用內建工具一樣使用這些工具。
|
|
247
247
|
|
|
248
|
+
預設 ID 包括 `context7`、`sentry`、`notion`、`semgrep`、`linear`、
|
|
249
|
+
`atlassian`、`supabase`、`neon` 和 `stripe`。
|
|
250
|
+
|
|
251
|
+
### Atlassian / Jira
|
|
252
|
+
|
|
253
|
+
Atlassian 預設使用 Atlassian Rovo MCP 的 OAuth 2.1 端點
|
|
254
|
+
`https://mcp.atlassian.com/v1/mcp/authv2`,並提供 Jira 和 Confluence
|
|
255
|
+
工具。建立 Jira 議題需要具備允許寫入 Jira 的 Atlassian 權限;使用者仍然只能
|
|
256
|
+
看到其 Atlassian 帳戶有權存取的專案和內容。
|
|
257
|
+
|
|
258
|
+
Atlassian 組織管理員可以控制是否允許 OAuth 用戶端連線。連線之前,管理員可能
|
|
259
|
+
需要將應用程式的實際 HTTPS 來源新增至 **Atlassian Administration → Rovo →
|
|
260
|
+
Rovo MCP server → Domains** 下的受信任網域清單,並在 **Permissions** 中啟用
|
|
261
|
+
所需的 **Read**、**Write** 和 **Search** 權限。該網域必須是 Agent-Native
|
|
262
|
+
應用程式實際執行的主機;除非 `https://builder.io/**` 是部署的實際來源,否則
|
|
263
|
+
不要將其複製到其他部署。請參閱 Atlassian 的 [Rovo MCP 設定指南](https://developer.atlassian.com/cloud/rovo-mcp/guides/getting-started/)
|
|
264
|
+
和[管理員控制說明](https://support.atlassian.com/security-and-access-policies/docs/control-atlassian-rovo-mcp-server-settings/)。
|
|
265
|
+
|
|
266
|
+
目錄會提供端點和設定指引。通用設定表單會儲存端點和選用的加密標頭,但無法取代
|
|
267
|
+
Atlassian 的互動式 OAuth 同意流程。當 Atlassian 要求互動式 OAuth 時,請使用
|
|
268
|
+
支援 OAuth 的 MCP 用戶端或執行階段。如果供應商或執行階段支援靜態 Bearer
|
|
269
|
+
權杖,請遵循其核准的密鑰管理流程,切勿將權杖貼到提示詞或已提交的設定中。
|
|
270
|
+
|
|
248
271
|
### 如何連線遠端 MCP 伺服器
|
|
249
272
|
|
|
250
273
|
1. **伺服器名稱** - 供您自己參考的簡短標籤(例如“zapier”、“slack-tools”)。
|
|
@@ -263,7 +286,7 @@ MCP(模型脈絡協議)伺服器為您的代理提供新的能力 - 例如
|
|
|
263
286
|
|
|
264
287
|
在正在執行的 MCP 管理器中新增和刪除熱重載 — 無需重新啟動行程,也無需重新啟動伺服器。新的 `mcp__<scope>-<name>__*` 工具將在下一條訊息中向代理顯示,並且可透過 `tool-search` 進行搜尋。
|
|
265
288
|
|
|
266
|
-
HTTPS URL 在任何地方都被接受; plain `http://` 在開發過程中僅允許用於 `localhost`。可選的驗證作為不記名權杖在每個請求上透過 `Authorization: Bearer …`
|
|
289
|
+
HTTPS URL 在任何地方都被接受; plain `http://` 在開發過程中僅允許用於 `localhost`。可選的驗證作為不記名權杖在每個請求上透過 `Authorization: Bearer …` 傳送。僅支援 OAuth 的供應商(包括 Atlassian Rovo MCP)必須使用供應商的 OAuth 流程,而不能使用靜態標頭。
|
|
267
290
|
|
|
268
291
|
在底層,這些伺服器以 `u:<email>:mcp-servers-remote`(個人)或 `o:<orgId>:mcp-servers-remote`(團隊)鍵儲存在框架的 `settings` 表中,並在啟動時與 `mcp.config.json` 合併。
|
|
269
292
|
|
|
@@ -292,7 +315,9 @@ Dispatch 是傳統的中心 - 它已經跨應用進行協調。
|
|
|
292
315
|
<div class="diagram-panel center" data-rough>
|
|
293
316
|
<span class="diagram-pill accent">Dispatch hub</span
|
|
294
317
|
><small class="diagram-muted">組織範圍 MCP 伺服器</small
|
|
295
|
-
><small class="diagram-muted"
|
|
318
|
+
><small class="diagram-muted"
|
|
319
|
+
><code>GET /_agent-native/mcp/hub/servers</code></small
|
|
320
|
+
>
|
|
296
321
|
</div>
|
|
297
322
|
<div class="diagram-col arrows">
|
|
298
323
|
<div class="diagram-arrow diagram-muted" aria-hidden="true">→</div>
|
|
@@ -454,7 +479,7 @@ Reports which configured servers connected, the total live tool count, the merge
|
|
|
454
479
|
|
|
455
480
|
個別 MCP 伺服器故障永遠不會導致代理關閉:
|
|
456
481
|
|
|
457
|
-
- 設定錯誤的 `command` → 伺服器被跳過,其錯誤出現在 `errors.<server-id>` 下的 `/mcp/status` 中,而其他所有伺服器繼續工作。
|
|
482
|
+
- 設定錯誤的 `command` → 伺服器被跳過,其錯誤出現在 `errors.<server-id>` 下的 `/_agent-native/mcp/status` 中,而其他所有伺服器繼續工作。
|
|
458
483
|
- `node_modules` 中缺少 MCP SDK → 所有 MCP 功能都會被跳過並出現警告;代理聊天可以使用零 MCP 工具繼續工作。
|
|
459
484
|
- 在邊緣執行時中執行 → MCP 用戶端是無操作的。
|
|
460
485
|
|
|
@@ -22,7 +22,7 @@ MCP 是用於將 AI 工具連線到外部功能的標準協議。當您部署 Ag
|
|
|
22
22
|
|
|
23
23
|
關鍵概念:
|
|
24
24
|
|
|
25
|
-
- **自動安裝** — 每個應用都免費獲得 `/
|
|
25
|
+
- **自動安裝** — 每個應用都免費獲得 `/mcp`,無需設定
|
|
26
26
|
- **Streamable HTTP** — 在標準 HTTP (POST + SSE) 上使用現代 MCP 傳輸
|
|
27
27
|
- **相同的 actions** — 為代理聊天和 A2A 提供支援的完全相同的操作註冊表
|
|
28
28
|
- **`ask-agent` 工具** — 一種元工具,可委托給完整代理迴圈來執行複雜工作
|
|
@@ -41,7 +41,7 @@ MCP 是用於將 AI 工具連線到外部功能的標準協議。當您部署 Ag
|
|
|
41
41
|
</div>
|
|
42
42
|
<div class="diagram-arrow diagram-muted" aria-hidden="true">→</div>
|
|
43
43
|
<div class="diagram-panel">
|
|
44
|
-
<span class="diagram-pill accent">POST /
|
|
44
|
+
<span class="diagram-pill accent">POST /mcp</span
|
|
45
45
|
><small class="diagram-muted">Streamable HTTP</small
|
|
46
46
|
><small class="diagram-muted"
|
|
47
47
|
>initialize → tools/list → tools/call</small
|
|
@@ -94,7 +94,7 @@ MCP 是用於將 AI 工具連線到外部功能的標準協議。當您部署 Ag
|
|
|
94
94
|
| **最適合** | 呼叫您的應用的外部工具 | 代理間通信 |
|
|
95
95
|
| **協議** | MCP 可流式傳輸 HTTP | JSON-RPC 2.0 |
|
|
96
96
|
| **工具發現** | `tools/list` | `/.well-known/agent-card.json`的代理卡 |
|
|
97
|
-
| **端點** | `/
|
|
97
|
+
| **端點** | `/mcp` | `/_agent-native/a2a` |
|
|
98
98
|
| **支援** | Claude、ChatGPT、Claude Code、Cursor、Codex、Cowork 和其他 MCP 主機 | 其他 Agent-Native 應用 |
|
|
99
99
|
| **執行** | 直接工具呼叫(無需額外的 LLM) | 完整代理迴圈(LLM 推理) |
|
|
100
100
|
|
|
@@ -105,7 +105,7 @@ MCP 是用於將 AI 工具連線到外部功能的標準協議。當您部署 Ag
|
|
|
105
105
|
對於建議的單指令設定,請使用 [External Agents](/docs/external-agents)。如果您為支援 OAuth 的用戶端手寫 MCP 設定,請將您的應用新增為不帶靜態標頭的遠端 MCP 伺服器:
|
|
106
106
|
|
|
107
107
|
```bash
|
|
108
|
-
claude mcp add --transport http mail https://mail.example.com/
|
|
108
|
+
claude mcp add --transport http mail https://mail.example.com/mcp
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
或者在 `.mcp.json`(專案範圍)或 `~/.claude.json`(使用者範圍)中手動寫入條目:
|
|
@@ -116,7 +116,7 @@ claude mcp add --transport http mail https://mail.example.com/_agent-native/mcp
|
|
|
116
116
|
"mcpServers": {
|
|
117
117
|
"mail": {
|
|
118
118
|
"type": "http",
|
|
119
|
-
"url": "https://mail.example.com/
|
|
119
|
+
"url": "https://mail.example.com/mcp",
|
|
120
120
|
},
|
|
121
121
|
},
|
|
122
122
|
}
|
|
@@ -135,12 +135,12 @@ Claude Code calls: draft-email(to: "john@example.com", subject: "Q3 Report", bod
|
|
|
135
135
|
任何支援 Streamable HTTP 傳輸的 MCP 用戶端都可以連線。端點是:
|
|
136
136
|
|
|
137
137
|
```
|
|
138
|
-
POST https://your-app.example.com/
|
|
138
|
+
POST https://your-app.example.com/mcp
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
伺服器支援標準 MCP 握手:`initialize`→`initialized`→`tools/list`→`tools/call`。
|
|
142
142
|
|
|
143
|
-
<Endpoint id="doc-block-1qz0910" title={"MCP 端點"} summary={"每個 Agent-Native 應用程式都會公開自動安裝的 Streamable HTTP 端點。"} method="POST" path="/
|
|
143
|
+
<Endpoint id="doc-block-1qz0910" title={"MCP 端點"} summary={"每個 Agent-Native 應用程式都會公開自動安裝的 Streamable HTTP 端點。"} method="POST" path="/mcp" summary={"MCP 可流式 HTTP 端點"} auth="Standard remote MCP OAuth (Bearer access token), connect-minted JWT, or static ACCESS_TOKEN/ACCESS_TOKENS" params={[
|
|
144
144
|
{
|
|
145
145
|
"name": "Authorization",
|
|
146
146
|
"in": "header",
|
|
@@ -204,18 +204,33 @@ Auto-mounted on every app. Speaks the standard MCP handshake (`initialize` → `
|
|
|
204
204
|
|
|
205
205
|
除了單獨的操作工具外,每個 MCP 伺服器還包含一個 `ask-agent` 元工具。這會向應用程式的 AI 代理傳送一條自然語言訊息並返回回應。
|
|
206
206
|
|
|
207
|
+
託管 MCP 請求使用有上限的行內等待,讓長時間執行的代理迴圈不會讓單一 `tools/call` 一直開啟,直到用戶端或閘道器逾時為止。選用的 `async` 參數會啟動持久任務並立即返回;若未提供,伺服器會短暫等待快速完成,若仍有工作待處理,則會返回任務控點。託管等待上限為 25 秒。
|
|
208
|
+
|
|
207
209
|
使用 `ask-agent` 執行複雜工作,受益於代理的推理和脈絡:
|
|
208
210
|
|
|
209
211
|
```json
|
|
210
212
|
{
|
|
211
213
|
"name": "ask-agent",
|
|
212
214
|
"arguments": {
|
|
213
|
-
"message": "Draft a follow-up email to the Q3 planning thread with John, summarizing the action items we discussed"
|
|
215
|
+
"message": "Draft a follow-up email to the Q3 planning thread with John, summarizing the action items we discussed",
|
|
216
|
+
"async": true
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
代理執行與互動式聊天相同的迴圈 — 它可以呼叫多個工具、推理脈絡並生成深思熟慮的回應。尚未完成的任務會返回包含 `taskId`、`status`、`pollAfterMs` 的 JSON,以及:
|
|
222
|
+
|
|
223
|
+
```json
|
|
224
|
+
{
|
|
225
|
+
"poll": {
|
|
226
|
+
"tool": "ask_app_status",
|
|
227
|
+
"arguments": { "app": "mail", "taskId": "task_123" }
|
|
214
228
|
}
|
|
215
229
|
}
|
|
216
230
|
```
|
|
217
231
|
|
|
218
|
-
|
|
232
|
+
請使用這些引數呼叫 `ask_app_status`,直到任務進入終止狀態。Dispatch 應用程式自有的
|
|
233
|
+
`ask_app` 使用相同的持久任務與狀態合約,並在提交與輪詢時都會檢查所選應用程式的授權。
|
|
219
234
|
|
|
220
235
|
## 驗證 {#authentication}
|
|
221
236
|
|
|
@@ -233,7 +248,7 @@ MCP 端點支援標準遠端 MCP OAuth 以及現有的不記名權杖後備:
|
|
|
233
248
|
對於支援 OAuth 的 MCP 主機,設定不帶靜態標頭的遠端伺服器 URL:
|
|
234
249
|
|
|
235
250
|
```bash
|
|
236
|
-
claude mcp add --transport http agent-native https://dispatch.agent-native.com/
|
|
251
|
+
claude mcp add --transport http agent-native https://dispatch.agent-native.com/mcp
|
|
237
252
|
```
|
|
238
253
|
|
|
239
254
|
第一個未經驗證的 MCP 請求收到:
|
|
@@ -249,9 +264,9 @@ WWW-Authenticate: Bearer resource_metadata="https://dispatch.agent-native.com/.w
|
|
|
249
264
|
| ----------------------------------------- | ---------------------------- |
|
|
250
265
|
| `/.well-known/oauth-protected-resource` | RFC 9728 受保護資源中繼資料 |
|
|
251
266
|
| `/.well-known/oauth-authorization-server` | OAuth 授權伺服器中繼資料 |
|
|
252
|
-
| `/
|
|
253
|
-
| `/
|
|
254
|
-
| `/
|
|
267
|
+
| `/mcp/oauth/register` | 動態公開用戶端註冊 |
|
|
268
|
+
| `/mcp/oauth/authorize` | 瀏覽器授權+同意 |
|
|
269
|
+
| `/mcp/oauth/token` | 授權程式碼和重新整理權杖授予 |
|
|
255
270
|
|
|
256
271
|
<Diagram id="doc-block-cy0fgf" title={"OAuth 發現流程"} summary={"401 啟動發現、註冊和 PKCE 授權 → 權杖交換。不記名權杖是受受眾限制和範圍的。"}>
|
|
257
272
|
|
|
@@ -351,7 +366,7 @@ export default defineNitroPlugin(async (nitro) => {
|
|
|
351
366
|
您在 `analytics.example.com` 部署了分析應用程式。來自 Claude 程式碼:
|
|
352
367
|
|
|
353
368
|
```bash
|
|
354
|
-
claude mcp add --transport http analytics https://analytics.example.com/
|
|
369
|
+
claude mcp add --transport http analytics https://analytics.example.com/mcp
|
|
355
370
|
```
|
|
356
371
|
|
|
357
372
|
或者在`.mcp.json`中手動新增:
|
|
@@ -362,7 +377,7 @@ claude mcp add --transport http analytics https://analytics.example.com/_agent-n
|
|
|
362
377
|
"mcpServers": {
|
|
363
378
|
"analytics": {
|
|
364
379
|
"type": "http",
|
|
365
|
-
"url": "https://analytics.example.com/
|
|
380
|
+
"url": "https://analytics.example.com/mcp",
|
|
366
381
|
},
|
|
367
382
|
},
|
|
368
383
|
}
|
|
@@ -12,7 +12,7 @@ Agent-Native **Plan** 應用程式以一個可安裝的 bundle 提供。一次
|
|
|
12
12
|
一次安裝即可為您提供:
|
|
13
13
|
|
|
14
14
|
- **三個 skills** — `/visual-plan`(規範入口點)、`/visual-recap` 和 `/visualize-repo`。
|
|
15
|
-
- **計畫 MCP 連線器** — 針對 `https://plan.agent-native.com` 上的託管應用程式進行註冊(MCP 端點 `https://plan.agent-native.com/
|
|
15
|
+
- **計畫 MCP 連線器** — 針對 `https://plan.agent-native.com` 上的託管應用程式進行註冊(MCP 端點 `https://plan.agent-native.com/mcp`,伺服器名稱 `plan`)。
|
|
16
16
|
|
|
17
17
|
<Diagram id="doc-block-6n3so7" title={"三條路由,一攬子"} summary={"通用 CLI、Claude Code 外掛和 Codex 外掛都會安裝同一組 Plan skills 以及託管的 Plan 連線器。"}>
|
|
18
18
|
|
|
@@ -41,7 +41,7 @@ Agent-Native **Plan** 應用程式以一個可安裝的 bundle 提供。一次
|
|
|
41
41
|
<div class="diagram-arrow diagram-muted" aria-hidden="true">→</div>
|
|
42
42
|
<div class="diagram-box">
|
|
43
43
|
Plan MCP connector<br /><small class="diagram-muted"
|
|
44
|
-
>plan.agent-native.com/
|
|
44
|
+
>plan.agent-native.com/mcp</small
|
|
45
45
|
>
|
|
46
46
|
</div>
|
|
47
47
|
</div>
|
|
@@ -249,7 +249,7 @@ codex plugin add agent-native-visual-plans@agent-native-apps
|
|
|
249
249
|
codex mcp login plan # 瀏覽器中的 OAuth
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
安裝後,**啟動新的 Codex 對話串**,以便 skills 和 MCP 工具載入到工作階段中。該外掛附帶一個僅限 URL 的連線器(`[mcp_servers.plan]` → `https://plan.agent-native.com/
|
|
252
|
+
安裝後,**啟動新的 Codex 對話串**,以便 skills 和 MCP 工具載入到工作階段中。該外掛附帶一個僅限 URL 的連線器(`[mcp_servers.plan]` → `https://plan.agent-native.com/mcp`); `codex mcp login plan` 執行 OAuth 流程。如果您更喜歡使用一個指令來同時安裝和驗證,或者需要本機檔案或自託管模式,則上面的通用 CLI 路由也適用於 Codex (`npx @agent-native/core@latest skills add visual-plan --client codex`)。
|
|
253
253
|
|
|
254
254
|
> **較舊的安裝:**如果您的設定仍然有一個 `agent-native-plans` 條目指向相同的 URL,為 Codex 執行 `npx -y @agent-native/core@latest reconnect https://plan.agent-native.com --client codex`,或者與您的目標 `--client` 執行相同的指令,則將其合併為規範的 `plan` 名稱。
|
|
255
255
|
|
|
@@ -265,7 +265,7 @@ export default runMigrations(
|
|
|
265
265
|
| `/_agent-native/extensions/*` | 執行時擴充功能和擴充功能代理(舊別名:`/_agent-native/tools/*`) |
|
|
266
266
|
| `/_agent-native/integrations/*` | 訊息傳遞/webhook 整合 |
|
|
267
267
|
| `/_agent-native/a2a` | 代理到代理 JSON-RPC |
|
|
268
|
-
| `/
|
|
268
|
+
| `/mcp` | MCP 端點 |
|
|
269
269
|
| `/_agent-native/onboarding/*` | 設定清單 |
|
|
270
270
|
| `/_agent-native/observability/*` | 跟蹤、意見回饋、評估、實驗 |
|
|
271
271
|
| `/_agent-native/file-upload` | 檔案上傳提供者端點 |
|
|
@@ -460,4 +460,4 @@ const handler = createProductionAgentHandler({
|
|
|
460
460
|
- [**資料庫**](/docs/database) — 自訂路由和 actions 都會匯入的 `getDb()`/`schema` 模式
|
|
461
461
|
- [**安全性**](/docs/security#access-guards) — `accessFilter`/`assertAccess` 和完整的資料範圍模型
|
|
462
462
|
- [**訊息傳遞**](/docs/messaging) — 傳入 webhook 的標準整合佇列模式
|
|
463
|
-
- [**MCP 通訊協定**](/docs/mcp-protocol) — 此伺服器自動掛載的 `/
|
|
463
|
+
- [**MCP 通訊協定**](/docs/mcp-protocol) — 此伺服器自動掛載的 `/mcp` 端點
|
|
@@ -313,7 +313,7 @@ Agent-Native 執行時從 `.agents/skills/` 讀取 skills。 Claude 程式碼獨
|
|
|
313
313
|
"id": "assets",
|
|
314
314
|
"hosted": {
|
|
315
315
|
"url": "https://assets.agent-native.com",
|
|
316
|
-
"mcpUrl": "https://assets.agent-native.com/
|
|
316
|
+
"mcpUrl": "https://assets.agent-native.com/mcp"
|
|
317
317
|
},
|
|
318
318
|
"mcp": { "serverName": "agent-native-assets" },
|
|
319
319
|
"skills": [
|
|
@@ -487,7 +487,7 @@ Codex、Claude 程式碼和 Claude 桌面程式碼應被視為連結輸出主機
|
|
|
487
487
|
### 開發者:分發應用技能
|
|
488
488
|
|
|
489
489
|
資產應用技能的應用 ID為 `assets` 並託管 MCP URL
|
|
490
|
-
`https://assets.agent-native.com/
|
|
490
|
+
`https://assets.agent-native.com/mcp`.
|
|
491
491
|
|
|
492
492
|
```bash
|
|
493
493
|
# 最簡單的託管安裝:匯出的技能說明加上 MCP 連線器。
|
|
@@ -123,7 +123,7 @@ Dispatch 是**工作區控制平面**。其他範本是域應用程式(郵件
|
|
|
123
123
|
在不複製原始機密的情況下分派存取權限。應用程式特定來源
|
|
124
124
|
設定保留在使用提供者的應用程式中。
|
|
125
125
|
- **暴露一個 MCP 連線器。**新增
|
|
126
|
-
`https://dispatch.agent-native.com/
|
|
126
|
+
`https://dispatch.agent-native.com/mcp`,Claude、ChatGPT,
|
|
127
127
|
Codex、Cursor 或其他 MCP 主機,然後選取要執行的工作區應用
|
|
128
128
|
連線器可以從 Dispatch 的 **代理** 頁面進行存取。使用直接應用程式 URL
|
|
129
129
|
僅當該主機應與一個應用隔離時。
|
|
@@ -304,7 +304,7 @@ _它的底層工作原理(對於開發人員)。_
|
|
|
304
304
|
]}
|
|
305
305
|
/>
|
|
306
306
|
|
|
307
|
-
- **MCP 集線器模式。** Dispatch 仍然可以充當工作區的 [MCP hub](/docs/mcp-clients#hub),因此工作區中的每個其他應用程式都會拉取相同的組織範圍 MCP 伺服器清單。另外,對於 Claude、ChatGPT 和其他應存取多個工作區應用的主機,Dispatch 自己的 `/
|
|
307
|
+
- **MCP 集線器模式。** Dispatch 仍然可以充當工作區的 [MCP hub](/docs/mcp-clients#hub),因此工作區中的每個其他應用程式都會拉取相同的組織範圍 MCP 伺服器清單。另外,對於 Claude、ChatGPT 和其他應存取多個工作區應用的主機,Dispatch 自己的 `/mcp` 端點是推薦的外部 MCP 連線器。
|
|
308
308
|
|
|
309
309
|
## 夢想 {#dreams}
|
|
310
310
|
|
|
@@ -110,7 +110,7 @@ npx @agent-native/core@latest skills add visual-plan
|
|
|
110
110
|
|
|
111
111
|
如果您使用的是直接接受 MCP 連線器 URL 的基於聊天的主機
|
|
112
112
|
(而不是 CLI 設定的用戶端),連線託管計畫連線器
|
|
113
|
-
`https://plan.agent-native.com/
|
|
113
|
+
`https://plan.agent-native.com/mcp` — 請參閱 [MCP Clients](/docs/mcp-clients) 以了解特定於用戶端的設定。
|
|
114
114
|
|
|
115
115
|
驗證是在設定時進行一次性瀏覽器登入 - 這是有意為之的
|
|
116
116
|
是讓代理持續存在並共用其產生的計畫的原因。授權是什麼
|
|
@@ -249,7 +249,7 @@ vscode://builder.agent-native/open?url=<encoded-plan-url>
|
|
|
249
249
|
跨設備或團隊審核)需要登入。Google 登入會在以下情況出現
|
|
250
250
|
標準 Google OAuth 環境變數已設定。
|
|
251
251
|
|
|
252
|
-
託管計畫連線器位於 `https://plan.agent-native.com/
|
|
252
|
+
託管計畫連線器位於 `https://plan.agent-native.com/mcp`。
|
|
253
253
|
切勿將共用機密放入技能檔案中。
|
|
254
254
|
|
|
255
255
|
## 本機檔案隱私模式 {#local-files}
|
|
@@ -447,7 +447,7 @@ pnpm dev
|
|
|
447
447
|
託管應用程式支援的技能使用:
|
|
448
448
|
|
|
449
449
|
- 應用程式:`https://plan.agent-native.com`
|
|
450
|
-
- MCP: `https://plan.agent-native.com/
|
|
450
|
+
- MCP: `https://plan.agent-native.com/mcp`
|
|
451
451
|
|
|
452
452
|
當您開發計畫本身、測試本機持久性或執行完全自託管的審核介面時,本機範本非常有用。
|
|
453
453
|
|
|
@@ -272,7 +272,32 @@ export default {
|
|
|
272
272
|
```
|
|
273
273
|
|
|
274
274
|
Preset ids are `context7`, `sentry`, `notion`, `semgrep`, `linear`,
|
|
275
|
-
`supabase`, `neon`, and `stripe`.
|
|
275
|
+
`atlassian`, `supabase`, `neon`, and `stripe`.
|
|
276
|
+
|
|
277
|
+
### Atlassian / Jira
|
|
278
|
+
|
|
279
|
+
The Atlassian preset uses Atlassian Rovo MCP's OAuth 2.1 endpoint,
|
|
280
|
+
`https://mcp.atlassian.com/v1/mcp/authv2`, and exposes Jira and Confluence
|
|
281
|
+
tools. Creating Jira tickets requires the Atlassian permissions that cover
|
|
282
|
+
Jira writes; the user still only sees the projects and content allowed by
|
|
283
|
+
their Atlassian account.
|
|
284
|
+
|
|
285
|
+
Atlassian organization admins can control whether an OAuth client is allowed
|
|
286
|
+
to connect. Before connecting, an admin may need to add the app's actual HTTPS
|
|
287
|
+
origin to the trusted-domain list under **Atlassian Administration → Rovo →
|
|
288
|
+
Rovo MCP server → Domains**, and enable the required **Read**, **Write**, and
|
|
289
|
+
**Search** permissions under **Permissions**. The domain must be the host where
|
|
290
|
+
the agent-native app runs; do not copy `https://builder.io/**` to another
|
|
291
|
+
deployment unless that is its actual origin. See Atlassian's [Rovo MCP setup
|
|
292
|
+
guide](https://developer.atlassian.com/cloud/rovo-mcp/guides/getting-started/)
|
|
293
|
+
and [admin controls](https://support.atlassian.com/security-and-access-policies/docs/control-atlassian-rovo-mcp-server-settings/).
|
|
294
|
+
|
|
295
|
+
The catalog supplies the endpoint and setup guidance. The generic settings
|
|
296
|
+
form stores the endpoint and optional encrypted headers; it does not replace
|
|
297
|
+
Atlassian's interactive OAuth consent flow. Use an OAuth-capable MCP client or
|
|
298
|
+
runtime when Atlassian requires interactive OAuth. If the provider or runtime
|
|
299
|
+
supports a static bearer token, follow its approved secret-management path and
|
|
300
|
+
never paste tokens into prompts or committed config.
|
|
276
301
|
|
|
277
302
|
### How to connect a remote MCP server
|
|
278
303
|
|
|
@@ -292,7 +317,7 @@ Two scopes are supported:
|
|
|
292
317
|
|
|
293
318
|
Adds and removes hot-reload into the running MCP manager — no process restart, and no server restart. The new `mcp__<scope>-<name>__*` tools appear to the agent on the next message and are searchable via `tool-search`.
|
|
294
319
|
|
|
295
|
-
HTTPS URLs are accepted everywhere; plain `http://` is only allowed for `localhost` during development. Optional auth goes in as a Bearer token that's sent via `Authorization: Bearer …` on every request.
|
|
320
|
+
HTTPS URLs are accepted everywhere; plain `http://` is only allowed for `localhost` during development. Optional auth goes in as a Bearer token that's sent via `Authorization: Bearer …` on every request. OAuth-only providers, including Atlassian Rovo MCP, require the provider's OAuth flow instead of a static header.
|
|
296
321
|
|
|
297
322
|
Under the hood these servers are persisted in the framework's `settings` table under the key `u:<email>:mcp-servers-remote` (Personal) or `o:<orgId>:mcp-servers-remote` (Team) and merged with `mcp.config.json` on startup.
|
|
298
323
|
|
|
@@ -355,7 +380,9 @@ pull its org-scope MCP servers automatically. Dispatch is the conventional hub
|
|
|
355
380
|
<div class="diagram-panel center" data-rough>
|
|
356
381
|
<span class="diagram-pill accent">Dispatch hub</span
|
|
357
382
|
><small class="diagram-muted">org-scope MCP servers</small
|
|
358
|
-
><small class="diagram-muted"
|
|
383
|
+
><small class="diagram-muted"
|
|
384
|
+
><code>GET /_agent-native/mcp/hub/servers</code></small
|
|
385
|
+
>
|
|
359
386
|
</div>
|
|
360
387
|
<div class="diagram-col arrows">
|
|
361
388
|
<div class="diagram-arrow diagram-muted" aria-hidden="true">→</div>
|
|
@@ -469,7 +496,7 @@ Reports which configured servers connected, the total live tool count, the merge
|
|
|
469
496
|
|
|
470
497
|
Individual MCP server failures never take down the agent:
|
|
471
498
|
|
|
472
|
-
- A misconfigured `command` → the server is skipped, its error appears in `/mcp/status` under `errors.<server-id>`, and every other server continues to work.
|
|
499
|
+
- A misconfigured `command` → the server is skipped, its error appears in `/_agent-native/mcp/status` under `errors.<server-id>`, and every other server continues to work.
|
|
473
500
|
- The MCP SDK is missing from `node_modules` → all MCP functionality is skipped with a warning; agent chat keeps working with zero MCP tools.
|
|
474
501
|
- Running in an edge runtime → MCP client is a no-op.
|
|
475
502
|
|
|
@@ -23,7 +23,7 @@ MCP is the standard protocol for connecting AI tools to external capabilities. W
|
|
|
23
23
|
|
|
24
24
|
Key concepts:
|
|
25
25
|
|
|
26
|
-
- **Auto-mounted** — every app gets `/
|
|
26
|
+
- **Auto-mounted** — every app gets `/mcp` for free, no setup required
|
|
27
27
|
- **Streamable HTTP** — uses the modern MCP transport over standard HTTP (POST + SSE)
|
|
28
28
|
- **Same actions** — the exact same action registry that powers agent chat and A2A
|
|
29
29
|
- **`ask-agent` tool** — a meta-tool that delegates to the full agent loop for complex tasks
|
|
@@ -42,7 +42,7 @@ Key concepts:
|
|
|
42
42
|
</div>
|
|
43
43
|
<div class="diagram-arrow diagram-muted" aria-hidden="true">→</div>
|
|
44
44
|
<div class="diagram-panel">
|
|
45
|
-
<span class="diagram-pill accent">POST /
|
|
45
|
+
<span class="diagram-pill accent">POST /mcp</span
|
|
46
46
|
><small class="diagram-muted">Streamable HTTP</small
|
|
47
47
|
><small class="diagram-muted"
|
|
48
48
|
>initialize → tools/list → tools/call</small
|
|
@@ -95,7 +95,7 @@ Both protocols are auto-mounted. Use whichever fits your use case:
|
|
|
95
95
|
| **Best for** | External tools calling your app | Agent-to-agent communication |
|
|
96
96
|
| **Protocol** | MCP Streamable HTTP | JSON-RPC 2.0 |
|
|
97
97
|
| **Tool discovery** | `tools/list` | Agent card at `/.well-known/agent-card.json` |
|
|
98
|
-
| **Endpoint** | `/
|
|
98
|
+
| **Endpoint** | `/mcp` | `/_agent-native/a2a` |
|
|
99
99
|
| **Supported by** | Claude, ChatGPT, Claude Code, Cursor, Codex, Cowork, and other MCP hosts | Other agent-native apps |
|
|
100
100
|
| **Execution** | Direct tool calls (no extra LLM) | Full agent loop (LLM reasoning) |
|
|
101
101
|
|
|
@@ -106,7 +106,7 @@ You can also use the `ask-agent` MCP tool to get the best of both worlds — cal
|
|
|
106
106
|
For the recommended one-command setup, use [External Agents](/docs/external-agents). If you are hand-writing MCP config for an OAuth-capable host, add your app as a remote MCP server with no static headers:
|
|
107
107
|
|
|
108
108
|
```bash
|
|
109
|
-
claude mcp add --transport http mail https://mail.example.com/
|
|
109
|
+
claude mcp add --transport http mail https://mail.example.com/mcp
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
Or write the entry by hand in `.mcp.json` (project scope) or `~/.claude.json` (user scope):
|
|
@@ -117,7 +117,7 @@ Or write the entry by hand in `.mcp.json` (project scope) or `~/.claude.json` (u
|
|
|
117
117
|
"mcpServers": {
|
|
118
118
|
"mail": {
|
|
119
119
|
"type": "http",
|
|
120
|
-
"url": "https://mail.example.com/
|
|
120
|
+
"url": "https://mail.example.com/mcp",
|
|
121
121
|
},
|
|
122
122
|
},
|
|
123
123
|
}
|
|
@@ -136,12 +136,12 @@ Claude Code calls: draft-email(to: "john@example.com", subject: "Q3 Report", bod
|
|
|
136
136
|
Any MCP host that supports Streamable HTTP transport can connect. The endpoint is:
|
|
137
137
|
|
|
138
138
|
```
|
|
139
|
-
POST https://your-app.example.com/
|
|
139
|
+
POST https://your-app.example.com/mcp
|
|
140
140
|
```
|
|
141
141
|
|
|
142
142
|
The server supports the standard MCP handshake: `initialize` → `initialized` → `tools/list` → `tools/call`.
|
|
143
143
|
|
|
144
|
-
<Endpoint id="doc-block-86ic5g" title="MCP endpoint" summary="The auto-mounted Streamable HTTP endpoint every agent-native app exposes." method="POST" path="/
|
|
144
|
+
<Endpoint id="doc-block-86ic5g" title="MCP endpoint" summary="The auto-mounted Streamable HTTP endpoint every agent-native app exposes." method="POST" path="/mcp" auth="Standard remote MCP OAuth (Bearer access token), connect-minted JWT, or static ACCESS_TOKEN/ACCESS_TOKENS" params={[
|
|
145
145
|
{
|
|
146
146
|
"name": "Authorization",
|
|
147
147
|
"in": "header",
|
|
@@ -211,18 +211,38 @@ When `mcpApp` is present, the tool entry also includes `_meta.ui.resourceUri`, `
|
|
|
211
211
|
|
|
212
212
|
In addition to individual action tools, every MCP server includes an `ask-agent` meta-tool. This sends a natural-language message to the app's AI agent and returns the response.
|
|
213
213
|
|
|
214
|
+
Hosted MCP requests use a bounded inline wait so a long agent loop does not
|
|
215
|
+
keep one `tools/call` open until a client or gateway timeout. The optional
|
|
216
|
+
`async` argument starts the durable task and returns immediately; without it,
|
|
217
|
+
the server waits briefly for a fast completion and then returns a task handle
|
|
218
|
+
when more work remains. The hosted wait is capped at 25 seconds.
|
|
219
|
+
|
|
214
220
|
Use `ask-agent` for complex tasks that benefit from the agent's reasoning and context:
|
|
215
221
|
|
|
216
222
|
```json
|
|
217
223
|
{
|
|
218
224
|
"name": "ask-agent",
|
|
219
225
|
"arguments": {
|
|
220
|
-
"message": "Draft a follow-up email to the Q3 planning thread with John, summarizing the action items we discussed"
|
|
226
|
+
"message": "Draft a follow-up email to the Q3 planning thread with John, summarizing the action items we discussed",
|
|
227
|
+
"async": true
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
The agent runs the same loop as the interactive chat — it can call multiple tools, reason about context, and produce a thoughtful response. A task that is not finished returns JSON containing `taskId`, `status`, `pollAfterMs`, and:
|
|
233
|
+
|
|
234
|
+
```json
|
|
235
|
+
{
|
|
236
|
+
"poll": {
|
|
237
|
+
"tool": "ask_app_status",
|
|
238
|
+
"arguments": { "app": "mail", "taskId": "task_123" }
|
|
221
239
|
}
|
|
222
240
|
}
|
|
223
241
|
```
|
|
224
242
|
|
|
225
|
-
|
|
243
|
+
Call `ask_app_status` with those arguments until the task reaches a terminal
|
|
244
|
+
state. Dispatch's app-owned `ask_app` uses the same durable task and status
|
|
245
|
+
contract, with the selected-app grant checked on both submission and polling.
|
|
226
246
|
|
|
227
247
|
## Authentication {#authentication}
|
|
228
248
|
|
|
@@ -240,7 +260,7 @@ The MCP endpoint supports standard remote MCP OAuth plus the existing bearer-tok
|
|
|
240
260
|
For OAuth-capable MCP hosts, configure the remote server URL with no static headers:
|
|
241
261
|
|
|
242
262
|
```bash
|
|
243
|
-
claude mcp add --transport http agent-native https://dispatch.agent-native.com/
|
|
263
|
+
claude mcp add --transport http agent-native https://dispatch.agent-native.com/mcp
|
|
244
264
|
```
|
|
245
265
|
|
|
246
266
|
The first unauthenticated MCP request receives:
|
|
@@ -256,9 +276,9 @@ Discovery endpoints:
|
|
|
256
276
|
| ----------------------------------------- | ------------------------------------------- |
|
|
257
277
|
| `/.well-known/oauth-protected-resource` | RFC 9728 protected-resource metadata |
|
|
258
278
|
| `/.well-known/oauth-authorization-server` | OAuth authorization server metadata |
|
|
259
|
-
| `/
|
|
260
|
-
| `/
|
|
261
|
-
| `/
|
|
279
|
+
| `/mcp/oauth/register` | Dynamic public-client registration |
|
|
280
|
+
| `/mcp/oauth/authorize` | Browser authorization + consent |
|
|
281
|
+
| `/mcp/oauth/token` | Authorization-code and refresh-token grants |
|
|
262
282
|
|
|
263
283
|
<Diagram id="doc-block-79kjly" title="OAuth discovery flow" summary={"A 401 kicks off discovery, registration, and a PKCE authorize → token exchange. The Bearer token is audience-bound and scoped."}>
|
|
264
284
|
|
|
@@ -358,7 +378,7 @@ export default defineNitroPlugin(async (nitro) => {
|
|
|
358
378
|
You have a deployed analytics app at `analytics.example.com`. From Claude Code:
|
|
359
379
|
|
|
360
380
|
```bash
|
|
361
|
-
claude mcp add --transport http analytics https://analytics.example.com/
|
|
381
|
+
claude mcp add --transport http analytics https://analytics.example.com/mcp
|
|
362
382
|
```
|
|
363
383
|
|
|
364
384
|
Or add it by hand in `.mcp.json`:
|
|
@@ -369,7 +389,7 @@ Or add it by hand in `.mcp.json`:
|
|
|
369
389
|
"mcpServers": {
|
|
370
390
|
"analytics": {
|
|
371
391
|
"type": "http",
|
|
372
|
-
"url": "https://analytics.example.com/
|
|
392
|
+
"url": "https://analytics.example.com/mcp",
|
|
373
393
|
},
|
|
374
394
|
},
|
|
375
395
|
}
|
|
@@ -12,7 +12,7 @@ The Agent-Native **Plan** app ships as one installable bundle. A single install
|
|
|
12
12
|
One install gives you:
|
|
13
13
|
|
|
14
14
|
- **Three skills** — `/visual-plan` (the canonical entry point), `/visual-recap`, and `/visualize-repo`.
|
|
15
|
-
- **The Plan MCP connector** — registered against the hosted app at `https://plan.agent-native.com` (MCP endpoint `https://plan.agent-native.com/
|
|
15
|
+
- **The Plan MCP connector** — registered against the hosted app at `https://plan.agent-native.com` (MCP endpoint `https://plan.agent-native.com/mcp`, server name `plan`).
|
|
16
16
|
|
|
17
17
|
<Diagram id="doc-block-i1sn3n" title="Three routes, one bundle" summary="The universal CLI, Claude Code plugin, and Codex plugin all install the same Plan skills plus the hosted Plan connector.">
|
|
18
18
|
|
|
@@ -43,7 +43,7 @@ One install gives you:
|
|
|
43
43
|
<div class="diagram-arrow diagram-muted" aria-hidden="true">→</div>
|
|
44
44
|
<div class="diagram-box">
|
|
45
45
|
Plan MCP connector<br /><small class="diagram-muted"
|
|
46
|
-
>plan.agent-native.com/
|
|
46
|
+
>plan.agent-native.com/mcp</small
|
|
47
47
|
>
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
@@ -251,7 +251,7 @@ codex plugin add agent-native-visual-plans@agent-native-apps
|
|
|
251
251
|
codex mcp login plan # OAuth in the browser
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
After install, **start a new Codex thread** so the skills and MCP tools load into the session. The plugin ships a URL-only connector (`[mcp_servers.plan]` → `https://plan.agent-native.com/
|
|
254
|
+
After install, **start a new Codex thread** so the skills and MCP tools load into the session. The plugin ships a URL-only connector (`[mcp_servers.plan]` → `https://plan.agent-native.com/mcp`); `codex mcp login plan` runs the OAuth flow. The universal CLI route above also works for Codex (`npx @agent-native/core@latest skills add visual-plan --client codex`) if you prefer one command that installs and authenticates together, or when you want local-files or self-hosted mode.
|
|
255
255
|
|
|
256
256
|
<Callout tone="info">
|
|
257
257
|
|
package/docs/content/server.mdx
CHANGED
|
@@ -269,7 +269,7 @@ The framework mounts its own routes under `/_agent-native/`. Treat that namespac
|
|
|
269
269
|
| `/_agent-native/extensions/*` | Runtime extensions and extension proxy (legacy alias: `/_agent-native/tools/*`) |
|
|
270
270
|
| `/_agent-native/integrations/*` | Messaging/webhook integrations |
|
|
271
271
|
| `/_agent-native/a2a` | Agent-to-agent JSON-RPC |
|
|
272
|
-
| `/
|
|
272
|
+
| `/mcp` | MCP endpoint |
|
|
273
273
|
| `/_agent-native/onboarding/*` | Setup checklist |
|
|
274
274
|
| `/_agent-native/observability/*` | Traces, feedback, evals, experiments |
|
|
275
275
|
| `/_agent-native/file-upload` | File upload provider endpoint |
|
|
@@ -465,4 +465,4 @@ const handler = createProductionAgentHandler({
|
|
|
465
465
|
- [**Database**](/docs/database) — the `getDb()`/`schema` pattern custom routes and actions both import
|
|
466
466
|
- [**Security**](/docs/security#access-guards) — `accessFilter`/`assertAccess` and the full data-scoping model
|
|
467
467
|
- [**Messaging**](/docs/messaging) — the canonical inbound-webhook integration queue pattern
|
|
468
|
-
- [**MCP Protocol**](/docs/mcp-protocol) — the `/
|
|
468
|
+
- [**MCP Protocol**](/docs/mcp-protocol) — the `/mcp` endpoint this server mounts automatically
|
|
@@ -317,7 +317,7 @@ Each app-backed skill starts with `agent-native.app-skill.json` at the app root:
|
|
|
317
317
|
"id": "assets",
|
|
318
318
|
"hosted": {
|
|
319
319
|
"url": "https://assets.agent-native.com",
|
|
320
|
-
"mcpUrl": "https://assets.agent-native.com/
|
|
320
|
+
"mcpUrl": "https://assets.agent-native.com/mcp"
|
|
321
321
|
},
|
|
322
322
|
"mcp": { "serverName": "agent-native-assets" },
|
|
323
323
|
"skills": [
|
|
@@ -628,7 +628,7 @@ human picker UI.
|
|
|
628
628
|
### Developer: distribute the app skill
|
|
629
629
|
|
|
630
630
|
The Assets app skill has app id `assets` and hosted MCP URL
|
|
631
|
-
`https://assets.agent-native.com/
|
|
631
|
+
`https://assets.agent-native.com/mcp`.
|
|
632
632
|
|
|
633
633
|
```bash
|
|
634
634
|
# Easiest hosted install: exported skill instructions plus MCP connector.
|
|
@@ -123,7 +123,7 @@ Day-to-day, Dispatch is the place admins and ops folks open to keep the workspac
|
|
|
123
123
|
Dispatch access without copying raw secrets. App-specific source
|
|
124
124
|
configuration stays in the app that uses the provider.
|
|
125
125
|
- **Expose one MCP connector.** Add
|
|
126
|
-
`https://dispatch.agent-native.com/
|
|
126
|
+
`https://dispatch.agent-native.com/mcp` in Claude, ChatGPT,
|
|
127
127
|
Codex, Cursor, or another MCP host, then choose which workspace apps the
|
|
128
128
|
connector can reach from Dispatch's **Agents** page. Use a direct app URL
|
|
129
129
|
only when that host should be isolated to one app.
|
|
@@ -304,7 +304,7 @@ _How it works under the hood (for developers)._
|
|
|
304
304
|
]}
|
|
305
305
|
/>
|
|
306
306
|
|
|
307
|
-
- **MCP hub mode.** Dispatch can still act as the workspace's [MCP hub](/docs/mcp-clients#hub) so every other app in the workspace pulls the same org-scope MCP server list. Separately, Dispatch's own `/
|
|
307
|
+
- **MCP hub mode.** Dispatch can still act as the workspace's [MCP hub](/docs/mcp-clients#hub) so every other app in the workspace pulls the same org-scope MCP server list. Separately, Dispatch's own `/mcp` endpoint is the recommended external MCP connector for Claude, ChatGPT, and other hosts that should reach multiple workspace apps.
|
|
308
308
|
|
|
309
309
|
## Dreams {#dreams}
|
|
310
310
|
|
|
@@ -124,7 +124,7 @@ The command installs three commands: `/visual-plan`, `/visual-recap`, and
|
|
|
124
124
|
|
|
125
125
|
If you are using a chat-based host that accepts MCP connector URLs directly
|
|
126
126
|
(rather than a CLI-configured client), connect the hosted Plans connector at
|
|
127
|
-
`https://plan.agent-native.com/
|
|
127
|
+
`https://plan.agent-native.com/mcp` — see [MCP Clients](/docs/mcp-clients) for client-specific setup.
|
|
128
128
|
|
|
129
129
|
Authentication is a one-time browser sign-in at setup — this is intended, and it
|
|
130
130
|
is what lets the agent persist and share the plans it generates. What the auth
|
|
@@ -267,7 +267,7 @@ Sharing and commenting are the workflows that need an account:
|
|
|
267
267
|
cross-device or team review) requires signing in. Google sign-in appears when
|
|
268
268
|
the standard Google OAuth env vars are configured.
|
|
269
269
|
|
|
270
|
-
The hosted Plans connector lives at `https://plan.agent-native.com/
|
|
270
|
+
The hosted Plans connector lives at `https://plan.agent-native.com/mcp`.
|
|
271
271
|
Never put shared secrets in skill files.
|
|
272
272
|
|
|
273
273
|
## Local-files privacy mode {#local-files}
|
|
@@ -475,7 +475,7 @@ pnpm dev
|
|
|
475
475
|
The hosted app-backed skill uses:
|
|
476
476
|
|
|
477
477
|
- App: `https://plan.agent-native.com`
|
|
478
|
-
- MCP: `https://plan.agent-native.com/
|
|
478
|
+
- MCP: `https://plan.agent-native.com/mcp`
|
|
479
479
|
|
|
480
480
|
The local template is useful when you are developing Plans itself, testing local persistence, or running a fully self-hosted review surface.
|
|
481
481
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.99.0",
|
|
4
4
|
"description": "Framework for agent-native application development — where AI agents and UI share SQL state, actions, and context",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/agent-native#readme",
|
|
6
6
|
"bugs": {
|