@agent-native/core 0.125.0 → 0.127.1

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.
Files changed (188) hide show
  1. package/corpus/README.md +2 -2
  2. package/corpus/core/CHANGELOG.md +79 -0
  3. package/corpus/core/docs/content/external-agents-catalog.mdx +14 -11
  4. package/corpus/core/docs/content/mcp-protocol.mdx +9 -4
  5. package/corpus/core/package.json +1 -1
  6. package/corpus/core/src/a2a/index.ts +2 -0
  7. package/corpus/core/src/agent/production-agent.ts +6 -1
  8. package/corpus/core/src/agent/run-manager.ts +37 -0
  9. package/corpus/core/src/agent/run-store.ts +18 -0
  10. package/corpus/core/src/client/MultiTabAssistantChat.tsx +75 -43
  11. package/corpus/core/src/client/agent-chat.ts +19 -1
  12. package/corpus/core/src/client/chat/tool-call-display.tsx +25 -0
  13. package/corpus/core/src/client/resources/mcp-integration-catalog.ts +23 -0
  14. package/corpus/core/src/client/settings/AgentsSection.tsx +565 -71
  15. package/corpus/core/src/client/settings/SecretsSection.tsx +71 -36
  16. package/corpus/core/src/client/use-chat-models.ts +54 -37
  17. package/corpus/core/src/localization/default-messages.ts +11 -0
  18. package/corpus/core/src/mcp/ask-app-task-handle.ts +183 -0
  19. package/corpus/core/src/mcp/builtin-tools.ts +146 -34
  20. package/corpus/core/src/server/agent-capabilities.ts +8 -1
  21. package/corpus/core/src/server/agent-chat-plugin.ts +17 -0
  22. package/corpus/core/src/server/agent-discovery.ts +1 -1
  23. package/corpus/core/src/server/agent-peer-probe.ts +133 -0
  24. package/corpus/core/src/server/core-routes-plugin.ts +67 -0
  25. package/corpus/core/src/server/email-template.ts +13 -0
  26. package/corpus/core/src/server/email.ts +40 -4
  27. package/corpus/core/src/shared/mcp-embed-headers.ts +4 -0
  28. package/corpus/core/src/sharing/actions/share-resource.ts +55 -5
  29. package/corpus/core/src/sharing/registry.ts +41 -1
  30. package/corpus/core/src/templates/workspace-core/.agents/skills/a2a-protocol/SKILL.md +159 -119
  31. package/corpus/templates/assets/actions/edit-image.ts +31 -18
  32. package/corpus/templates/assets/actions/refine-image.ts +43 -29
  33. package/corpus/templates/assets/actions/restyle-image.ts +30 -19
  34. package/corpus/templates/assets/actions/variant-slots.ts +26 -0
  35. package/corpus/templates/assets/app/components/generation/GenerationResults.tsx +85 -17
  36. package/corpus/templates/clips/changelog/2026-07-27-share-notification-emails-now-include-a-clickable-recording-.md +6 -0
  37. package/corpus/templates/clips/server/db/index.ts +28 -6
  38. package/corpus/templates/clips/server/lib/share-email-hero.ts +105 -0
  39. package/corpus/templates/design/.generated/bridge/editor-chrome.generated.ts +100 -12
  40. package/corpus/templates/design/app/components/design/DesignCanvas.tsx +17 -0
  41. package/corpus/templates/design/app/components/design/bridge/editor-chrome.bridge.ts +169 -22
  42. package/corpus/templates/design/app/hooks/use-question-flow.ts +21 -1
  43. package/corpus/templates/design/changelog/2026-07-28-the-model-you-pick-when-starting-a-new-design-is-now-used-fo.md +6 -0
  44. package/corpus/templates/dispatch/changelog/2026-07-28-pending-apps-are-hidden-by-default-and-app-ownership-details.md +6 -0
  45. package/corpus/templates/slides/app/components/editor/EditorSidebar.tsx +5 -1
  46. package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +5 -0
  47. package/corpus/templates/slides/app/components/editor/ExportMenu.tsx +31 -8
  48. package/corpus/templates/slides/app/components/editor/PromptDialog.tsx +15 -0
  49. package/corpus/templates/slides/app/components/presentation/PresentationView.tsx +78 -8
  50. package/corpus/templates/slides/app/components/presentation/PresenterView.tsx +179 -0
  51. package/corpus/templates/slides/app/components/presentation/present-channel.ts +15 -0
  52. package/corpus/templates/slides/app/i18n/en-US.ts +10 -1
  53. package/corpus/templates/slides/app/lib/export-google-slides-client.ts +67 -0
  54. package/corpus/templates/slides/app/lib/export-pptx-client.ts +16 -3
  55. package/corpus/templates/slides/app/pages/DeckEditor.tsx +11 -0
  56. package/corpus/templates/slides/app/pages/Presentation.tsx +11 -3
  57. package/corpus/templates/slides/changelog/2026-07-28-export-to-google-slides-now-creates-the-deck-directly-in-you.md +6 -0
  58. package/corpus/templates/slides/changelog/2026-07-28-opening-a-presentation-link-directly-no-longer-bounces-back-.md +6 -0
  59. package/corpus/templates/slides/changelog/2026-07-28-presenter-view-open-a-second-window-while-presenting-to-see-.md +6 -0
  60. package/corpus/templates/slides/server/routes/api/exports/google-slides.post.ts +90 -0
  61. package/corpus/toolkit/CHANGELOG.md +6 -0
  62. package/corpus/toolkit/package.json +1 -1
  63. package/corpus/toolkit/src/composer/TiptapComposer.tsx +143 -111
  64. package/corpus/toolkit/src/composer/runtime-adapters.tsx +2 -0
  65. package/dist/a2a/index.d.ts +2 -0
  66. package/dist/a2a/index.d.ts.map +1 -1
  67. package/dist/a2a/index.js +1 -0
  68. package/dist/a2a/index.js.map +1 -1
  69. package/dist/agent/production-agent.d.ts +2 -2
  70. package/dist/agent/production-agent.d.ts.map +1 -1
  71. package/dist/agent/production-agent.js +6 -3
  72. package/dist/agent/production-agent.js.map +1 -1
  73. package/dist/agent/run-manager.d.ts +11 -0
  74. package/dist/agent/run-manager.d.ts.map +1 -1
  75. package/dist/agent/run-manager.js +34 -1
  76. package/dist/agent/run-manager.js.map +1 -1
  77. package/dist/agent/run-store.d.ts +8 -0
  78. package/dist/agent/run-store.d.ts.map +1 -1
  79. package/dist/agent/run-store.js +16 -0
  80. package/dist/agent/run-store.js.map +1 -1
  81. package/dist/client/MultiTabAssistantChat.d.ts.map +1 -1
  82. package/dist/client/MultiTabAssistantChat.js +60 -31
  83. package/dist/client/MultiTabAssistantChat.js.map +1 -1
  84. package/dist/client/agent-chat.d.ts +6 -0
  85. package/dist/client/agent-chat.d.ts.map +1 -1
  86. package/dist/client/agent-chat.js +13 -1
  87. package/dist/client/agent-chat.js.map +1 -1
  88. package/dist/client/chat/tool-call-display.d.ts.map +1 -1
  89. package/dist/client/chat/tool-call-display.js +14 -0
  90. package/dist/client/chat/tool-call-display.js.map +1 -1
  91. package/dist/client/resources/mcp-integration-catalog.d.ts +6 -0
  92. package/dist/client/resources/mcp-integration-catalog.d.ts.map +1 -1
  93. package/dist/client/resources/mcp-integration-catalog.js +16 -0
  94. package/dist/client/resources/mcp-integration-catalog.js.map +1 -1
  95. package/dist/client/settings/AgentsSection.d.ts.map +1 -1
  96. package/dist/client/settings/AgentsSection.js +250 -30
  97. package/dist/client/settings/AgentsSection.js.map +1 -1
  98. package/dist/client/settings/SecretsSection.d.ts.map +1 -1
  99. package/dist/client/settings/SecretsSection.js +16 -2
  100. package/dist/client/settings/SecretsSection.js.map +1 -1
  101. package/dist/client/use-chat-models.d.ts.map +1 -1
  102. package/dist/client/use-chat-models.js +46 -27
  103. package/dist/client/use-chat-models.js.map +1 -1
  104. package/dist/collab/routes.d.ts +2 -2
  105. package/dist/collab/struct-routes.d.ts +1 -1
  106. package/dist/file-upload/actions/upload-image.d.ts +1 -1
  107. package/dist/localization/default-messages.d.ts +9 -0
  108. package/dist/localization/default-messages.d.ts.map +1 -1
  109. package/dist/localization/default-messages.js +9 -0
  110. package/dist/localization/default-messages.js.map +1 -1
  111. package/dist/mcp/ask-app-task-handle.d.ts +25 -0
  112. package/dist/mcp/ask-app-task-handle.d.ts.map +1 -0
  113. package/dist/mcp/ask-app-task-handle.js +136 -0
  114. package/dist/mcp/ask-app-task-handle.js.map +1 -0
  115. package/dist/mcp/builtin-tools.d.ts +3 -3
  116. package/dist/mcp/builtin-tools.d.ts.map +1 -1
  117. package/dist/mcp/builtin-tools.js +115 -38
  118. package/dist/mcp/builtin-tools.js.map +1 -1
  119. package/dist/observability/routes.d.ts +1 -1
  120. package/dist/provider-api/actions/custom-provider-registration.d.ts +4 -4
  121. package/dist/provider-api/actions/provider-api.d.ts +6 -6
  122. package/dist/secrets/routes.d.ts +9 -9
  123. package/dist/server/agent-capabilities.d.ts +7 -1
  124. package/dist/server/agent-capabilities.d.ts.map +1 -1
  125. package/dist/server/agent-capabilities.js +1 -0
  126. package/dist/server/agent-capabilities.js.map +1 -1
  127. package/dist/server/agent-chat-plugin.d.ts +7 -0
  128. package/dist/server/agent-chat-plugin.d.ts.map +1 -1
  129. package/dist/server/agent-chat-plugin.js +16 -1
  130. package/dist/server/agent-chat-plugin.js.map +1 -1
  131. package/dist/server/agent-discovery.d.ts +1 -0
  132. package/dist/server/agent-discovery.d.ts.map +1 -1
  133. package/dist/server/agent-discovery.js +1 -1
  134. package/dist/server/agent-discovery.js.map +1 -1
  135. package/dist/server/agent-peer-probe.d.ts +37 -0
  136. package/dist/server/agent-peer-probe.d.ts.map +1 -0
  137. package/dist/server/agent-peer-probe.js +90 -0
  138. package/dist/server/agent-peer-probe.js.map +1 -0
  139. package/dist/server/core-routes-plugin.d.ts.map +1 -1
  140. package/dist/server/core-routes-plugin.js +53 -0
  141. package/dist/server/core-routes-plugin.js.map +1 -1
  142. package/dist/server/email-template.d.ts +6 -0
  143. package/dist/server/email-template.d.ts.map +1 -1
  144. package/dist/server/email-template.js +6 -0
  145. package/dist/server/email-template.js.map +1 -1
  146. package/dist/server/email.d.ts +7 -0
  147. package/dist/server/email.d.ts.map +1 -1
  148. package/dist/server/email.js +31 -6
  149. package/dist/server/email.js.map +1 -1
  150. package/dist/shared/mcp-embed-headers.d.ts +1 -0
  151. package/dist/shared/mcp-embed-headers.d.ts.map +1 -1
  152. package/dist/shared/mcp-embed-headers.js +4 -0
  153. package/dist/shared/mcp-embed-headers.js.map +1 -1
  154. package/dist/sharing/actions/share-resource.d.ts.map +1 -1
  155. package/dist/sharing/actions/share-resource.js +49 -5
  156. package/dist/sharing/actions/share-resource.js.map +1 -1
  157. package/dist/sharing/registry.d.ts +40 -1
  158. package/dist/sharing/registry.d.ts.map +1 -1
  159. package/dist/sharing/registry.js.map +1 -1
  160. package/dist/templates/workspace-core/.agents/skills/a2a-protocol/SKILL.md +159 -119
  161. package/docs/content/external-agents-catalog.mdx +14 -11
  162. package/docs/content/mcp-protocol.mdx +9 -4
  163. package/package.json +2 -2
  164. package/src/a2a/index.ts +2 -0
  165. package/src/agent/production-agent.ts +6 -1
  166. package/src/agent/run-manager.ts +37 -0
  167. package/src/agent/run-store.ts +18 -0
  168. package/src/client/MultiTabAssistantChat.tsx +75 -43
  169. package/src/client/agent-chat.ts +19 -1
  170. package/src/client/chat/tool-call-display.tsx +25 -0
  171. package/src/client/resources/mcp-integration-catalog.ts +23 -0
  172. package/src/client/settings/AgentsSection.tsx +565 -71
  173. package/src/client/settings/SecretsSection.tsx +71 -36
  174. package/src/client/use-chat-models.ts +54 -37
  175. package/src/localization/default-messages.ts +11 -0
  176. package/src/mcp/ask-app-task-handle.ts +183 -0
  177. package/src/mcp/builtin-tools.ts +146 -34
  178. package/src/server/agent-capabilities.ts +8 -1
  179. package/src/server/agent-chat-plugin.ts +17 -0
  180. package/src/server/agent-discovery.ts +1 -1
  181. package/src/server/agent-peer-probe.ts +133 -0
  182. package/src/server/core-routes-plugin.ts +67 -0
  183. package/src/server/email-template.ts +13 -0
  184. package/src/server/email.ts +40 -4
  185. package/src/shared/mcp-embed-headers.ts +4 -0
  186. package/src/sharing/actions/share-resource.ts +55 -5
  187. package/src/sharing/registry.ts +41 -1
  188. package/src/templates/workspace-core/.agents/skills/a2a-protocol/SKILL.md +159 -119
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-integration-catalog.js","sourceRoot":"","sources":["../../../src/client/resources/mcp-integration-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,GAG/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAiEhE,MAAM,CAAC,MAAM,wBAAwB,GAA4B;IAC/D;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,WAAW,EAAE,4CAA4C;QACzD,cAAc,EAAE,8CAA8C;QAC9D,OAAO,EAAE,gEAAgE;QACzE,UAAU,EAAE,0CAA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,KAAK,CAAC;IAC1B,CAAC;IAED,MAAM,cAAc,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IAC1C,MAAM,iBAAiB,GACrB,2BAA2B,CAAC,IAAI,CAAC,cAAc,CAAC;QAChD,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC7C,IAAI,CAAC,iBAAiB;QAAE,OAAO,IAAI,CAAC;IACpC,MAAM,oBAAoB,GAAG,CAAC,WAAkC,EAAE,EAAE,CAClE,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,WAAW,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CACrE,gBAAgB,CAAC,cAAc,EAAE,KAAK,CAAC,CACxC,CAAC;IACJ,MAAM,cAAc,GAAG,YAAY,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;IAC/D,IAAI,cAAc;QAAE,OAAO,cAAc,CAAC;IAC1C,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAY;IACrD,OAAO,gLAAgL,CAAC,IAAI,CAC1L,IAAI,CACL,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,gCAAgC,CAC9C,WAA0C;IAE1C,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO;YACL,IAAI,EAAE,EAAE;YACR,GAAG,EAAE,EAAE;YACP,WAAW,EAAE,EAAE;YACf,WAAW,EAAE,EAAE;SAChB,CAAC;IACJ,CAAC;IACD,OAAO;QACL,IAAI,EAAE,WAAW,CAAC,IAAI;QACtB,GAAG,EAAE,WAAW,CAAC,GAAG;QACpB,WAAW,EAAE,WAAW,CAAC,WAAW;QACpC,WAAW,EAAE,EAAE;KAChB,CAAC;AACJ,CAAC","sourcesContent":["import {\n normalizeMcpIntegrationsConfig,\n type McpIntegrationsConfigInput,\n type NormalizedMcpIntegrationsConfig,\n} from \"../../shared/mcp-integration-config.js\";\nimport { mergeDefinitionsById } from \"../../shared/merge-by-id.js\";\nimport { mcpIntegrationLogo } from \"./mcp-integration-logos.js\";\n\nexport type McpIntegrationAuthMode = \"none\" | \"headers\" | \"oauth\";\nexport type McpIntegrationConnectionMode =\n | \"direct\"\n | \"headers\"\n | \"oauth\"\n | \"manual\";\nexport type McpIntegrationAvailability =\n | \"ready\"\n | \"beta\"\n | \"provider-setup\"\n | \"client-restricted\";\nexport type McpIntegrationVerification =\n | \"verified\"\n | \"preflight-only\"\n | \"restricted\";\n\ndeclare const __AGENT_NATIVE_MCP_INTEGRATIONS_CONFIG__:\n | NormalizedMcpIntegrationsConfig\n | undefined;\ndeclare const __AGENT_NATIVE_TEMPLATE__: string | undefined;\n\nexport interface DefaultMcpIntegration {\n id: string;\n name: string;\n provider: string;\n description: string;\n descriptionKey: string;\n useCase: string;\n useCaseKey: string;\n url: string;\n authMode: McpIntegrationAuthMode;\n connectionMode: McpIntegrationConnectionMode;\n availability: McpIntegrationAvailability;\n verification: McpIntegrationVerification;\n logoUrl: string;\n docsUrl?: string;\n setupNoteKey?: string;\n apiFallback?: {\n secretKey: string;\n docsUrl: string;\n templateUses?: readonly string[];\n };\n headerPlaceholder?: string;\n brandAliases?: string[];\n aliases?: string[];\n keywords: string[];\n}\n\nexport interface McpIntegrationFormDefaults {\n name: string;\n url: string;\n description: string;\n headersText: string;\n}\n\nexport interface McpOAuthStartParams {\n name: string;\n url: string;\n description: string;\n scope: \"user\" | \"org\";\n returnUrl: string;\n}\n\nexport const DEFAULT_MCP_INTEGRATIONS: DefaultMcpIntegration[] = [\n {\n id: \"context7\",\n name: \"Context7\",\n provider: \"context7\",\n description: \"Fetch current library docs in agent chats.\",\n descriptionKey: \"mcpIntegrations.catalog.context7.description\",\n useCase: \"documentation, technical reference, API docs, framework guides\",\n useCaseKey: \"mcpIntegrations.catalog.context7.useCase\",\n url: \"https://mcp.context7.com/mcp\",\n authMode: \"none\",\n connectionMode: \"direct\",\n availability: \"ready\",\n verification: \"verified\",\n logoUrl: mcpIntegrationLogo(\"context7\"),\n docsUrl: \"https://context7.com/\",\n keywords: [\"docs\", \"documentation\", \"libraries\", \"frameworks\"],\n },\n {\n id: \"sentry\",\n name: \"Sentry\",\n provider: \"sentry\",\n description: \"Inspect issues, events, and debugging data.\",\n descriptionKey: \"mcpIntegrations.catalog.sentry.description\",\n useCase: \"error monitoring, debugging, performance, crash reports\",\n useCaseKey: \"mcpIntegrations.catalog.sentry.useCase\",\n url: \"https://mcp.sentry.dev/mcp\",\n authMode: \"headers\",\n connectionMode: \"headers\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"sentry\"),\n docsUrl: \"https://docs.sentry.io/product/sentry-mcp/\",\n headerPlaceholder: \"Authorization: Bearer <sentry-token>\",\n keywords: [\"errors\", \"monitoring\", \"debugging\", \"issues\"],\n },\n {\n id: \"notion\",\n name: \"Notion\",\n provider: \"notion\",\n description: \"Search pages and team knowledge.\",\n descriptionKey: \"mcpIntegrations.catalog.notion.description\",\n useCase: \"documentation, knowledge management, notes, content creation\",\n useCaseKey: \"mcpIntegrations.catalog.notion.useCase\",\n url: \"https://mcp.notion.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"notion\"),\n docsUrl: \"https://developers.notion.com/guides/mcp/get-started-with-mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.notion.setupNote\",\n keywords: [\"docs\", \"knowledge\", \"notes\", \"pages\"],\n },\n {\n id: \"granola\",\n name: \"Granola\",\n provider: \"granola\",\n description: \"Search meeting notes, transcripts, and action items.\",\n descriptionKey: \"mcpIntegrations.catalog.granola.description\",\n useCase: \"meeting notes, recordings, transcripts, action items, follow-ups\",\n useCaseKey: \"mcpIntegrations.catalog.granola.useCase\",\n url: \"https://mcp.granola.ai/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"granola\"),\n docsUrl: \"https://docs.granola.ai/help-center/sharing/integrations/mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.granola.setupNote\",\n keywords: [\n \"meetings\",\n \"meeting notes\",\n \"recordings\",\n \"transcripts\",\n \"action items\",\n \"follow-ups\",\n \"decisions\",\n ],\n },\n {\n id: \"semgrep\",\n name: \"Semgrep\",\n provider: \"semgrep\",\n description: \"Scan code for security findings.\",\n descriptionKey: \"mcpIntegrations.catalog.semgrep.description\",\n useCase: \"security scanning, vulnerability detection, code analysis\",\n useCaseKey: \"mcpIntegrations.catalog.semgrep.useCase\",\n url: \"https://mcp.semgrep.ai/mcp\",\n authMode: \"none\",\n connectionMode: \"direct\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"semgrep\"),\n docsUrl: \"https://github.com/semgrep/mcp#readme\",\n keywords: [\"security\", \"sast\", \"code scanning\", \"vulnerabilities\"],\n },\n {\n id: \"linear\",\n name: \"Linear\",\n provider: \"linear\",\n description: \"Read and write Linear issues.\",\n descriptionKey: \"mcpIntegrations.catalog.linear.description\",\n useCase: \"project management, issue tracking, planning, bug reports\",\n useCaseKey: \"mcpIntegrations.catalog.linear.useCase\",\n url: \"https://mcp.linear.app/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"linear\"),\n docsUrl: \"https://linear.app/docs/mcp\",\n keywords: [\"issues\", \"tickets\", \"planning\", \"project management\"],\n },\n {\n id: \"atlassian\",\n name: \"Atlassian\",\n provider: \"atlassian\",\n description: \"Read and write Jira issues and Confluence content.\",\n descriptionKey: \"mcpIntegrations.catalog.atlassian.description\",\n useCase:\n \"project management, issue tracking, documentation, team collaboration\",\n useCaseKey: \"mcpIntegrations.catalog.atlassian.useCase\",\n url: \"https://mcp.atlassian.com/v1/mcp/authv2\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"atlassian\"),\n docsUrl:\n \"https://developer.atlassian.com/cloud/rovo-mcp/guides/getting-started/\",\n setupNoteKey: \"mcpIntegrations.catalog.atlassian.setupNote\",\n brandAliases: [\"Jira\", \"Confluence\", \"Rovo\"],\n keywords: [\"atlassian\", \"jira\", \"confluence\", \"issues\", \"tickets\"],\n },\n {\n id: \"supabase\",\n name: \"Supabase\",\n provider: \"supabase\",\n description: \"Manage data, auth, and backend services.\",\n descriptionKey: \"mcpIntegrations.catalog.supabase.description\",\n useCase: \"database, authentication, storage, edge functions\",\n useCaseKey: \"mcpIntegrations.catalog.supabase.useCase\",\n url: \"https://mcp.supabase.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"supabase\"),\n docsUrl:\n \"https://www.builder.io/c/docs/fusion-connect-to-supabase?utm_source=agent-native&utm_medium=product&utm_campaign=integrations&utm_content=fusion_connect_supabase\",\n keywords: [\"database\", \"auth\", \"postgres\", \"storage\"],\n },\n {\n id: \"neon\",\n name: \"Neon\",\n provider: \"neon\",\n description: \"Work with serverless Postgres projects.\",\n descriptionKey: \"mcpIntegrations.catalog.neon.description\",\n useCase: \"database management, serverless postgres, data storage\",\n useCaseKey: \"mcpIntegrations.catalog.neon.useCase\",\n url: \"https://mcp.neon.tech/sse\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"neon\"),\n docsUrl:\n \"https://www.builder.io/c/docs/fusion-connect-to-neon?utm_source=agent-native&utm_medium=product&utm_campaign=integrations&utm_content=fusion_connect_neon\",\n keywords: [\"database\", \"postgres\", \"serverless\", \"backend\"],\n },\n {\n id: \"stripe\",\n name: \"Stripe\",\n provider: \"stripe\",\n description: \"Manage payments, subscriptions, and customers.\",\n descriptionKey: \"mcpIntegrations.catalog.stripe.description\",\n useCase: \"payments, subscriptions, invoicing, customer management\",\n useCaseKey: \"mcpIntegrations.catalog.stripe.useCase\",\n url: \"https://mcp.stripe.com\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"stripe\"),\n docsUrl: \"https://docs.stripe.com/mcp\",\n keywords: [\"payments\", \"billing\", \"subscriptions\", \"customers\"],\n },\n {\n id: \"cloudflare\",\n name: \"Cloudflare\",\n provider: \"cloudflare\",\n description: \"Search and operate Cloudflare services through MCP.\",\n descriptionKey: \"mcpIntegrations.catalog.cloudflare.description\",\n useCase: \"DNS, Workers, domains, security, observability, platform APIs\",\n useCaseKey: \"mcpIntegrations.catalog.cloudflare.useCase\",\n url: \"https://mcp.cloudflare.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"cloudflare\"),\n docsUrl:\n \"https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/\",\n setupNoteKey: \"mcpIntegrations.catalog.cloudflare.setupNote\",\n keywords: [\"cloud\", \"workers\", \"dns\", \"security\", \"observability\"],\n },\n {\n id: \"gitlab\",\n name: \"GitLab\",\n provider: \"gitlab\",\n description: \"Read and manage GitLab projects, issues, and merge requests.\",\n descriptionKey: \"mcpIntegrations.catalog.gitlab.description\",\n useCase: \"repositories, issues, merge requests, CI/CD, code analytics\",\n useCaseKey: \"mcpIntegrations.catalog.gitlab.useCase\",\n url: \"https://gitlab.com/api/v4/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"beta\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"gitlab\"),\n docsUrl: \"https://docs.gitlab.com/user/model_context_protocol/mcp_server/\",\n setupNoteKey: \"mcpIntegrations.catalog.gitlab.setupNote\",\n keywords: [\"git\", \"repositories\", \"issues\", \"merge requests\", \"ci\"],\n },\n {\n id: \"figma\",\n name: \"Figma\",\n provider: \"figma\",\n description: \"Bring Figma design context and canvas actions into an agent.\",\n descriptionKey: \"mcpIntegrations.catalog.figma.description\",\n useCase: \"design files, components, variables, design systems, canvas\",\n useCaseKey: \"mcpIntegrations.catalog.figma.useCase\",\n url: \"https://mcp.figma.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"client-restricted\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"figma\"),\n docsUrl: \"https://developers.figma.com/docs/figma-mcp-server/\",\n setupNoteKey: \"mcpIntegrations.catalog.figma.setupNote\",\n apiFallback: {\n secretKey: \"FIGMA_ACCESS_TOKEN\",\n docsUrl:\n \"https://developers.figma.com/docs/rest-api/personal-access-tokens/\",\n templateUses: [\"design\"],\n },\n keywords: [\"design\", \"figjam\", \"components\", \"variables\", \"canvas\"],\n },\n {\n id: \"canva\",\n name: \"Canva\",\n provider: \"canva\",\n description: \"Search, create, and update Canva designs and assets.\",\n descriptionKey: \"mcpIntegrations.catalog.canva.description\",\n useCase: \"designs, templates, assets, brand kits, exports, collaboration\",\n useCaseKey: \"mcpIntegrations.catalog.canva.useCase\",\n url: \"https://mcp.canva.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"client-restricted\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"canva\"),\n docsUrl: \"https://www.canva.dev/docs/mcp/\",\n setupNoteKey: \"mcpIntegrations.catalog.canva.setupNote\",\n keywords: [\"design\", \"templates\", \"assets\", \"brand\", \"exports\"],\n },\n {\n id: \"vercel\",\n name: \"Vercel\",\n provider: \"vercel\",\n description:\n \"Search Vercel docs and inspect projects, deployments, and logs.\",\n descriptionKey: \"mcpIntegrations.catalog.vercel.description\",\n useCase: \"deployments, projects, logs, domains, hosting, documentation\",\n useCaseKey: \"mcpIntegrations.catalog.vercel.useCase\",\n url: \"https://mcp.vercel.com\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"client-restricted\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"vercel\"),\n docsUrl: \"https://vercel.com/docs/agent-resources/vercel-mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.vercel.setupNote\",\n keywords: [\"deployments\", \"hosting\", \"projects\", \"logs\", \"domains\"],\n },\n {\n id: \"github\",\n name: \"GitHub\",\n provider: \"github\",\n description: \"Read repositories, issues, pull requests, and code context.\",\n descriptionKey: \"mcpIntegrations.catalog.github.description\",\n useCase: \"repositories, issues, pull requests, code, engineering analytics\",\n useCaseKey: \"mcpIntegrations.catalog.github.useCase\",\n url: \"https://api.githubcopilot.com/mcp/\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"github\"),\n docsUrl: \"https://github.com/github/github-mcp-server\",\n setupNoteKey: \"mcpIntegrations.catalog.github.setupNote\",\n keywords: [\"git\", \"repositories\", \"issues\", \"pull requests\", \"code\"],\n },\n {\n id: \"slack\",\n name: \"Slack\",\n provider: \"slack\",\n description:\n \"Search Slack conversations and take workspace actions through MCP.\",\n descriptionKey: \"mcpIntegrations.catalog.slack.description\",\n useCase: \"messages, channels, people, company memory, workflows\",\n useCaseKey: \"mcpIntegrations.catalog.slack.useCase\",\n url: \"https://mcp.slack.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"client-restricted\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"slack\"),\n docsUrl: \"https://docs.slack.dev/ai/slack-mcp-server/\",\n setupNoteKey: \"mcpIntegrations.catalog.slack.setupNote\",\n keywords: [\"messages\", \"channels\", \"search\", \"people\", \"chat\"],\n },\n {\n id: \"asana\",\n name: \"Asana\",\n provider: \"asana\",\n description:\n \"Search and manage Asana tasks, projects, and work graph data.\",\n descriptionKey: \"mcpIntegrations.catalog.asana.description\",\n useCase: \"tasks, projects, portfolios, planning, workload\",\n useCaseKey: \"mcpIntegrations.catalog.asana.useCase\",\n url: \"https://mcp.asana.com/v2/mcp\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"asana\"),\n docsUrl:\n \"https://developers.asana.com/docs/integrating-with-asanas-mcp-server\",\n setupNoteKey: \"mcpIntegrations.catalog.asana.setupNote\",\n keywords: [\"tasks\", \"projects\", \"planning\", \"workload\", \"portfolios\"],\n },\n {\n id: \"hubspot\",\n name: \"HubSpot\",\n provider: \"hubspot\",\n description: \"Search and update HubSpot CRM records through MCP.\",\n descriptionKey: \"mcpIntegrations.catalog.hubspot.description\",\n useCase: \"CRM, contacts, companies, deals, tickets, customer analytics\",\n useCaseKey: \"mcpIntegrations.catalog.hubspot.useCase\",\n url: \"https://mcp.hubspot.com\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"hubspot\"),\n docsUrl:\n \"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server\",\n setupNoteKey: \"mcpIntegrations.catalog.hubspot.setupNote\",\n keywords: [\"crm\", \"contacts\", \"companies\", \"deals\", \"tickets\"],\n },\n {\n id: \"intercom\",\n name: \"Intercom\",\n provider: \"intercom\",\n description: \"Search conversations and customer support knowledge.\",\n descriptionKey: \"mcpIntegrations.catalog.intercom.description\",\n useCase: \"customer support, conversations, contacts, help center content\",\n useCaseKey: \"mcpIntegrations.catalog.intercom.useCase\",\n url: \"https://mcp.intercom.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"intercom\"),\n docsUrl: \"https://developers.intercom.com/docs/guides/mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.intercom.setupNote\",\n keywords: [\"support\", \"conversations\", \"customers\", \"help center\"],\n },\n {\n id: \"monday\",\n name: \"monday.com\",\n provider: \"monday\",\n description: \"Work with boards, items, and team workflows.\",\n descriptionKey: \"mcpIntegrations.catalog.monday.description\",\n useCase: \"work management, boards, projects, tasks, team operations\",\n useCaseKey: \"mcpIntegrations.catalog.monday.useCase\",\n url: \"https://mcp.monday.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"monday\"),\n docsUrl:\n \"https://developer.monday.com/api-reference/docs/build-on-monday-with-ai\",\n setupNoteKey: \"mcpIntegrations.catalog.monday.setupNote\",\n keywords: [\"work management\", \"boards\", \"projects\", \"tasks\", \"teams\"],\n },\n {\n id: \"webflow\",\n name: \"Webflow\",\n provider: \"webflow\",\n description: \"Read and update Webflow sites and content.\",\n descriptionKey: \"mcpIntegrations.catalog.webflow.description\",\n useCase: \"websites, CMS, site content, publishing, design workflows\",\n useCaseKey: \"mcpIntegrations.catalog.webflow.useCase\",\n url: \"https://mcp.webflow.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"webflow\"),\n docsUrl: \"https://developers.webflow.com/mcp/reference/getting-started\",\n setupNoteKey: \"mcpIntegrations.catalog.webflow.setupNote\",\n keywords: [\"websites\", \"cms\", \"content\", \"publishing\", \"design\"],\n },\n {\n id: \"paypal\",\n name: \"PayPal\",\n provider: \"paypal\",\n description: \"Work with PayPal payments, invoices, and commerce data.\",\n descriptionKey: \"mcpIntegrations.catalog.paypal.description\",\n useCase: \"payments, invoices, transactions, merchant operations\",\n useCaseKey: \"mcpIntegrations.catalog.paypal.useCase\",\n url: \"https://mcp.paypal.com/sse\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"paypal\"),\n docsUrl: \"https://developer.paypal.com/ai-tools/mcp-server/\",\n setupNoteKey: \"mcpIntegrations.catalog.paypal.setupNote\",\n keywords: [\"payments\", \"invoices\", \"transactions\", \"commerce\"],\n },\n {\n id: \"box\",\n name: \"Box\",\n provider: \"box\",\n description: \"Search and manage files and folders in Box.\",\n descriptionKey: \"mcpIntegrations.catalog.box.description\",\n useCase: \"files, folders, enterprise content, search, collaboration\",\n useCaseKey: \"mcpIntegrations.catalog.box.useCase\",\n url: \"https://mcp.box.com\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"box\"),\n docsUrl: \"https://developer.box.com/guides/box-mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.box.setupNote\",\n keywords: [\"files\", \"folders\", \"documents\", \"enterprise content\"],\n },\n {\n id: \"netlify\",\n name: \"Netlify\",\n provider: \"netlify\",\n description: \"Inspect and operate Netlify sites and deployments.\",\n descriptionKey: \"mcpIntegrations.catalog.netlify.description\",\n useCase: \"sites, deployments, builds, domains, hosting operations\",\n useCaseKey: \"mcpIntegrations.catalog.netlify.useCase\",\n url: \"https://netlify-mcp.netlify.app/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"netlify\"),\n docsUrl:\n \"https://docs.netlify.com/build/build-with-ai/agent-setup-guides/agent-setup-overview/\",\n setupNoteKey: \"mcpIntegrations.catalog.netlify.setupNote\",\n keywords: [\"deployments\", \"builds\", \"sites\", \"hosting\", \"domains\"],\n },\n {\n id: \"zapier\",\n name: \"Zapier\",\n provider: \"zapier\",\n description: \"Connect MCP tools to thousands of app actions.\",\n descriptionKey: \"mcpIntegrations.catalog.zapier.description\",\n useCase: \"automation, workflows, app actions, cross-service operations\",\n useCaseKey: \"mcpIntegrations.catalog.zapier.useCase\",\n url: \"https://mcp.zapier.com/api/v1/connect\",\n authMode: \"headers\",\n connectionMode: \"headers\",\n availability: \"ready\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"zapier\"),\n docsUrl:\n \"https://help.zapier.com/hc/en-us/articles/36265392843917-Use-Zapier-MCP-with-your-client\",\n setupNoteKey: \"mcpIntegrations.catalog.zapier.setupNote\",\n headerPlaceholder: \"Authorization: Bearer <zapier-mcp-token>\",\n keywords: [\"automation\", \"workflows\", \"actions\", \"apps\", \"integrations\"],\n },\n];\n\nfunction readRuntimeMcpIntegrationsConfig(): NormalizedMcpIntegrationsConfig {\n try {\n if (typeof __AGENT_NATIVE_MCP_INTEGRATIONS_CONFIG__ !== \"undefined\") {\n return normalizeMcpIntegrationsConfig(\n __AGENT_NATIVE_MCP_INTEGRATIONS_CONFIG__,\n );\n }\n } catch {\n // Test and non-Vite contexts may not define the compile-time constant.\n }\n return normalizeMcpIntegrationsConfig();\n}\n\nfunction normalizeTemplateName(value: unknown): string | null {\n if (typeof value !== \"string\") return null;\n const normalized = value.trim().toLowerCase();\n return normalized || null;\n}\n\nfunction getActiveTemplateName(): string | null {\n try {\n const compiledTemplate = normalizeTemplateName(__AGENT_NATIVE_TEMPLATE__);\n if (compiledTemplate) return compiledTemplate;\n } catch {\n // Test and non-Vite contexts may not define the compile-time constant.\n }\n\n const runtimeConfig = (\n globalThis as typeof globalThis & {\n __AGENT_NATIVE_CONFIG__?: { template?: unknown };\n }\n ).__AGENT_NATIVE_CONFIG__;\n return normalizeTemplateName(runtimeConfig?.template);\n}\n\nexport function getMcpIntegrationApiFallback(\n integration: DefaultMcpIntegration,\n templateName = getActiveTemplateName(),\n): DefaultMcpIntegration[\"apiFallback\"] | null {\n const fallback = integration.apiFallback;\n if (!fallback) return null;\n if (!fallback.templateUses?.length) return fallback;\n if (!templateName) return null;\n return fallback.templateUses.includes(templateName) ? fallback : null;\n}\n\nfunction normalizePresetConfig(\n config?: McpIntegrationsConfigInput | NormalizedMcpIntegrationsConfig,\n): NormalizedMcpIntegrationsConfig {\n if (config === undefined) return readRuntimeMcpIntegrationsConfig();\n return normalizeMcpIntegrationsConfig(config);\n}\n\nexport function getDefaultMcpIntegrations(\n config?: McpIntegrationsConfigInput | NormalizedMcpIntegrationsConfig,\n overrides: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n const normalized = normalizePresetConfig(config);\n if (!normalized.enabled || !normalized.defaults.enabled) return [];\n\n const include = normalized.defaults.include\n ? new Set(normalized.defaults.include)\n : null;\n const exclude = new Set(normalized.defaults.exclude);\n return mergeDefaultMcpIntegrations(overrides).filter((integration) => {\n const id = integration.id.toLowerCase();\n if (include && !include.has(id)) return false;\n return !exclude.has(id);\n });\n}\n\nexport function mergeDefaultMcpIntegrations(\n overrides: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n return mergeDefinitionsById(DEFAULT_MCP_INTEGRATIONS, overrides);\n}\n\nexport function isCustomMcpIntegrationEnabled(\n config?: McpIntegrationsConfigInput | NormalizedMcpIntegrationsConfig,\n): boolean {\n const normalized = normalizePresetConfig(config);\n return normalized.enabled && normalized.custom;\n}\n\nexport function isMcpIntegrationCatalogAvailable(\n config?: McpIntegrationsConfigInput | NormalizedMcpIntegrationsConfig,\n): boolean {\n const normalized = normalizePresetConfig(config);\n if (!normalized.enabled) return false;\n return normalized.custom || getDefaultMcpIntegrations(normalized).length > 0;\n}\n\nexport function mcpIntegrationAuthLabel(mode: McpIntegrationAuthMode): string {\n if (mode === \"none\") return \"No auth\";\n if (mode === \"headers\") return \"Header\";\n return \"OAuth\";\n}\n\nexport function buildMcpOAuthStartUrl({\n name,\n url,\n description,\n scope,\n returnUrl,\n}: McpOAuthStartParams): string {\n const params = new URLSearchParams({\n name,\n url,\n description,\n scope,\n return: returnUrl,\n });\n return `/_agent-native/mcp/servers/oauth/start?${params.toString()}`;\n}\n\nexport function navigateToMcpOAuthStart(url: string): void {\n if (typeof window === \"undefined\") return;\n\n const navigate = () => {\n window.setTimeout(() => window.location.assign(url), 0);\n };\n if (typeof window.requestAnimationFrame === \"function\") {\n window.requestAnimationFrame(navigate);\n } else {\n navigate();\n }\n}\n\nexport function resolveMcpIntegrationScope(\n defaultScope: \"user\" | \"org\",\n hasOrg: boolean,\n canCreateOrgMcp: boolean,\n): \"user\" | \"org\" {\n return defaultScope === \"org\" && hasOrg && canCreateOrgMcp ? \"org\" : \"user\";\n}\n\nexport function filterMcpIntegrations(\n query: string,\n integrations: DefaultMcpIntegration[] = getDefaultMcpIntegrations(),\n): DefaultMcpIntegration[] {\n const needle = query.trim().toLowerCase();\n if (!needle) return integrations;\n return integrations.filter((integration) => {\n const haystack = [\n integration.name,\n integration.provider,\n integration.description,\n integration.useCase,\n integration.url,\n ...(integration.brandAliases ?? []),\n ...(integration.aliases ?? []),\n ...integration.keywords,\n ]\n .join(\" \")\n .toLowerCase();\n return haystack.includes(needle);\n });\n}\n\nconst MCP_LINK_HOSTS: Record<string, string[]> = {\n context7: [\"context7.com\"],\n sentry: [\"sentry.io\", \"sentry.dev\"],\n notion: [\"notion.so\", \"notion.site\"],\n granola: [\"granola.ai\"],\n semgrep: [\"semgrep.dev\", \"semgrep.com\"],\n canva: [\"canva.com\", \"canva.ai\"],\n figma: [\"figma.com\"],\n linear: [\"linear.app\"],\n atlassian: [\"atlassian.com\", \"atlassian.net\", \"jira.com\", \"confluence.com\"],\n supabase: [\"supabase.com\"],\n neon: [\"neon.tech\"],\n stripe: [\"stripe.com\"],\n cloudflare: [\"cloudflare.com\"],\n github: [\"github.com\", \"github.dev\"],\n gitlab: [\"gitlab.com\"],\n slack: [\"slack.com\"],\n asana: [\"asana.com\"],\n hubspot: [\"hubspot.com\"],\n intercom: [\"intercom.com\"],\n monday: [\"monday.com\"],\n webflow: [\"webflow.com\"],\n paypal: [\"paypal.com\"],\n box: [\"box.com\"],\n netlify: [\"netlify.com\"],\n vercel: [\"vercel.com\"],\n zapier: [\"zapier.com\"],\n};\n\nfunction hostMatches(hostname: string, domain: string): boolean {\n return hostname === domain || hostname.endsWith(`.${domain}`);\n}\n\nfunction findUrlForText(text: string): URL | null {\n const candidates = text.match(/https?:\\/\\/[^\\s<>()[\\]{}]+/gi) ?? [];\n for (const candidate of candidates) {\n try {\n return new URL(candidate.replace(/[.,!?;:'\\\"]+$/, \"\"));\n } catch {\n // Ignore prose that only looks like a URL.\n }\n }\n return null;\n}\n\nconst MCP_RESOURCE_INTENT_PATTERN =\n /\\b(?:action|add|access|board|check|connect|connected|connection|create|decision|design|document|doc|do|extract|fetch|file|find|follow[- ]?ups?|get|import|integration|integrate|issue|link|list|meeting|message|notes?|open|page|populate|project|pull|read|recordings?|review|search|see|summary|summarize|sync|task|ticket|todo|transcripts?|turn|use|workspace)\\b/i;\n\nfunction textContainsTerm(text: string, term: string): boolean {\n const escaped = term.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n return new RegExp(`(^|[^a-z0-9])${escaped}([^a-z0-9]|$)`, \"i\").test(text);\n}\n\nexport function findMcpIntegrationForText(\n text: string,\n integrations: DefaultMcpIntegration[] = getDefaultMcpIntegrations(),\n): DefaultMcpIntegration | null {\n const url = findUrlForText(text);\n if (url) {\n const match = integrations.find((integration) =>\n (MCP_LINK_HOSTS[integration.id] ?? []).some((domain) =>\n hostMatches(url.hostname.toLowerCase(), domain),\n ),\n );\n if (match) return match;\n }\n\n const normalizedText = text.toLowerCase();\n const hasResourceIntent =\n MCP_RESOURCE_INTENT_PATTERN.test(normalizedText) ||\n isMcpConnectionFailureText(normalizedText);\n if (!hasResourceIntent) return null;\n const matchesCanonicalName = (integration: DefaultMcpIntegration) =>\n [integration.name, ...(integration.brandAliases ?? [])].some((alias) =>\n textContainsTerm(normalizedText, alias),\n );\n const canonicalMatch = integrations.find(matchesCanonicalName);\n if (canonicalMatch) return canonicalMatch;\n return null;\n}\n\nexport function isMcpConnectionFailureText(text: string): boolean {\n return /\\b(?:can(?:not|'t|’t)|could(?: not|n't|n’t)|unable|failed|don't have access|don’t have access|not connected|not able)\\b[\\s\\S]{0,80}\\b(?:read|access|open|see|fetch|connect)\\b/i.test(\n text,\n );\n}\n\nexport function createMcpIntegrationFormDefaults(\n integration?: DefaultMcpIntegration | null,\n): McpIntegrationFormDefaults {\n if (!integration) {\n return {\n name: \"\",\n url: \"\",\n description: \"\",\n headersText: \"\",\n };\n }\n return {\n name: integration.name,\n url: integration.url,\n description: integration.description,\n headersText: \"\",\n };\n}\n"]}
1
+ {"version":3,"file":"mcp-integration-catalog.js","sourceRoot":"","sources":["../../../src/client/resources/mcp-integration-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,GAG/B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAiEhE,MAAM,CAAC,MAAM,wBAAwB,GAA4B;IAC/D;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,WAAW,EAAE,4CAA4C;QACzD,cAAc,EAAE,8CAA8C;QAC9D,OAAO,EAAE,gEAAgE;QACzE,UAAU,EAAE,0CAA0C;QACtD,GAAG,EAAE,8BAA8B;QACnC,QAAQ,EAAE,MAAM;QAChB,cAAc,EAAE,QAAQ;QACxB,YAAY,EAAE,OAAO;QACrB,YAAY,EAAE,UAAU;QACxB,OAAO,EAAE,kBAAkB,CAAC,UAAU,CAAC;QACvC,OAAO,EAAE,uBAAuB;QAChC,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,CAAC;KAC/D;IACD;QACE,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,WAAW,EAAE,6CAA6C;QAC1D,cAAc,EAAE,4CAA4C;QAC5D,OAAO,EAAE,yDAAyD;QAClE,UAAU,EAAE,wCAAwC;QACpD,GAAG,EAAE,4BAA4B;QACjC,QAAQ,EAAE,SAAS;QACnB,cAAc,EAAE,SAAS;QACzB,YA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Config,\n} from \"../../shared/mcp-integration-config.js\";\nimport { mergeDefinitionsById } from \"../../shared/merge-by-id.js\";\nimport { mcpIntegrationLogo } from \"./mcp-integration-logos.js\";\n\nexport type McpIntegrationAuthMode = \"none\" | \"headers\" | \"oauth\";\nexport type McpIntegrationConnectionMode =\n | \"direct\"\n | \"headers\"\n | \"oauth\"\n | \"manual\";\nexport type McpIntegrationAvailability =\n | \"ready\"\n | \"beta\"\n | \"provider-setup\"\n | \"client-restricted\";\nexport type McpIntegrationVerification =\n | \"verified\"\n | \"preflight-only\"\n | \"restricted\";\n\ndeclare const __AGENT_NATIVE_MCP_INTEGRATIONS_CONFIG__:\n | NormalizedMcpIntegrationsConfig\n | undefined;\ndeclare const __AGENT_NATIVE_TEMPLATE__: string | undefined;\n\nexport interface DefaultMcpIntegration {\n id: string;\n name: string;\n provider: string;\n description: string;\n descriptionKey: string;\n useCase: string;\n useCaseKey: string;\n url: string;\n authMode: McpIntegrationAuthMode;\n connectionMode: McpIntegrationConnectionMode;\n availability: McpIntegrationAvailability;\n verification: McpIntegrationVerification;\n logoUrl: string;\n docsUrl?: string;\n setupNoteKey?: string;\n apiFallback?: {\n secretKey: string;\n docsUrl: string;\n templateUses?: readonly string[];\n };\n headerPlaceholder?: string;\n brandAliases?: string[];\n aliases?: string[];\n keywords: string[];\n}\n\nexport interface McpIntegrationFormDefaults {\n name: string;\n url: string;\n description: string;\n headersText: string;\n}\n\nexport interface McpOAuthStartParams {\n name: string;\n url: string;\n description: string;\n scope: \"user\" | \"org\";\n returnUrl: string;\n}\n\nexport const DEFAULT_MCP_INTEGRATIONS: DefaultMcpIntegration[] = [\n {\n id: \"context7\",\n name: \"Context7\",\n provider: \"context7\",\n description: \"Fetch current library docs in agent chats.\",\n descriptionKey: \"mcpIntegrations.catalog.context7.description\",\n useCase: \"documentation, technical reference, API docs, framework guides\",\n useCaseKey: \"mcpIntegrations.catalog.context7.useCase\",\n url: \"https://mcp.context7.com/mcp\",\n authMode: \"none\",\n connectionMode: \"direct\",\n availability: \"ready\",\n verification: \"verified\",\n logoUrl: mcpIntegrationLogo(\"context7\"),\n docsUrl: \"https://context7.com/\",\n keywords: [\"docs\", \"documentation\", \"libraries\", \"frameworks\"],\n },\n {\n id: \"sentry\",\n name: \"Sentry\",\n provider: \"sentry\",\n description: \"Inspect issues, events, and debugging data.\",\n descriptionKey: \"mcpIntegrations.catalog.sentry.description\",\n useCase: \"error monitoring, debugging, performance, crash reports\",\n useCaseKey: \"mcpIntegrations.catalog.sentry.useCase\",\n url: \"https://mcp.sentry.dev/mcp\",\n authMode: \"headers\",\n connectionMode: \"headers\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"sentry\"),\n docsUrl: \"https://docs.sentry.io/product/sentry-mcp/\",\n headerPlaceholder: \"Authorization: Bearer <sentry-token>\",\n keywords: [\"errors\", \"monitoring\", \"debugging\", \"issues\"],\n },\n {\n id: \"notion\",\n name: \"Notion\",\n provider: \"notion\",\n description: \"Search pages and team knowledge.\",\n descriptionKey: \"mcpIntegrations.catalog.notion.description\",\n useCase: \"documentation, knowledge management, notes, content creation\",\n useCaseKey: \"mcpIntegrations.catalog.notion.useCase\",\n url: \"https://mcp.notion.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"notion\"),\n docsUrl: \"https://developers.notion.com/guides/mcp/get-started-with-mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.notion.setupNote\",\n keywords: [\"docs\", \"knowledge\", \"notes\", \"pages\"],\n },\n {\n id: \"granola\",\n name: \"Granola\",\n provider: \"granola\",\n description: \"Search meeting notes, transcripts, and action items.\",\n descriptionKey: \"mcpIntegrations.catalog.granola.description\",\n useCase: \"meeting notes, recordings, transcripts, action items, follow-ups\",\n useCaseKey: \"mcpIntegrations.catalog.granola.useCase\",\n url: \"https://mcp.granola.ai/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"granola\"),\n docsUrl: \"https://docs.granola.ai/help-center/sharing/integrations/mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.granola.setupNote\",\n keywords: [\n \"meetings\",\n \"meeting notes\",\n \"recordings\",\n \"transcripts\",\n \"action items\",\n \"follow-ups\",\n \"decisions\",\n ],\n },\n {\n id: \"semgrep\",\n name: \"Semgrep\",\n provider: \"semgrep\",\n description: \"Scan code for security findings.\",\n descriptionKey: \"mcpIntegrations.catalog.semgrep.description\",\n useCase: \"security scanning, vulnerability detection, code analysis\",\n useCaseKey: \"mcpIntegrations.catalog.semgrep.useCase\",\n url: \"https://mcp.semgrep.ai/mcp\",\n authMode: \"none\",\n connectionMode: \"direct\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"semgrep\"),\n docsUrl: \"https://github.com/semgrep/mcp#readme\",\n keywords: [\"security\", \"sast\", \"code scanning\", \"vulnerabilities\"],\n },\n {\n id: \"linear\",\n name: \"Linear\",\n provider: \"linear\",\n description: \"Read and write Linear issues.\",\n descriptionKey: \"mcpIntegrations.catalog.linear.description\",\n useCase: \"project management, issue tracking, planning, bug reports\",\n useCaseKey: \"mcpIntegrations.catalog.linear.useCase\",\n url: \"https://mcp.linear.app/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"linear\"),\n docsUrl: \"https://linear.app/docs/mcp\",\n keywords: [\"issues\", \"tickets\", \"planning\", \"project management\"],\n },\n {\n id: \"atlassian\",\n name: \"Atlassian\",\n provider: \"atlassian\",\n description: \"Read and write Jira issues and Confluence content.\",\n descriptionKey: \"mcpIntegrations.catalog.atlassian.description\",\n useCase:\n \"project management, issue tracking, documentation, team collaboration\",\n useCaseKey: \"mcpIntegrations.catalog.atlassian.useCase\",\n url: \"https://mcp.atlassian.com/v1/mcp/authv2\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"atlassian\"),\n docsUrl:\n \"https://developer.atlassian.com/cloud/rovo-mcp/guides/getting-started/\",\n setupNoteKey: \"mcpIntegrations.catalog.atlassian.setupNote\",\n brandAliases: [\"Jira\", \"Confluence\", \"Rovo\"],\n keywords: [\"atlassian\", \"jira\", \"confluence\", \"issues\", \"tickets\"],\n },\n {\n id: \"supabase\",\n name: \"Supabase\",\n provider: \"supabase\",\n description: \"Manage data, auth, and backend services.\",\n descriptionKey: \"mcpIntegrations.catalog.supabase.description\",\n useCase: \"database, authentication, storage, edge functions\",\n useCaseKey: \"mcpIntegrations.catalog.supabase.useCase\",\n url: \"https://mcp.supabase.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"supabase\"),\n docsUrl:\n \"https://www.builder.io/c/docs/fusion-connect-to-supabase?utm_source=agent-native&utm_medium=product&utm_campaign=integrations&utm_content=fusion_connect_supabase\",\n keywords: [\"database\", \"auth\", \"postgres\", \"storage\"],\n },\n {\n id: \"neon\",\n name: \"Neon\",\n provider: \"neon\",\n description: \"Work with serverless Postgres projects.\",\n descriptionKey: \"mcpIntegrations.catalog.neon.description\",\n useCase: \"database management, serverless postgres, data storage\",\n useCaseKey: \"mcpIntegrations.catalog.neon.useCase\",\n url: \"https://mcp.neon.tech/sse\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"neon\"),\n docsUrl:\n \"https://www.builder.io/c/docs/fusion-connect-to-neon?utm_source=agent-native&utm_medium=product&utm_campaign=integrations&utm_content=fusion_connect_neon\",\n keywords: [\"database\", \"postgres\", \"serverless\", \"backend\"],\n },\n {\n id: \"stripe\",\n name: \"Stripe\",\n provider: \"stripe\",\n description: \"Manage payments, subscriptions, and customers.\",\n descriptionKey: \"mcpIntegrations.catalog.stripe.description\",\n useCase: \"payments, subscriptions, invoicing, customer management\",\n useCaseKey: \"mcpIntegrations.catalog.stripe.useCase\",\n url: \"https://mcp.stripe.com\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"stripe\"),\n docsUrl: \"https://docs.stripe.com/mcp\",\n keywords: [\"payments\", \"billing\", \"subscriptions\", \"customers\"],\n },\n {\n id: \"cloudflare\",\n name: \"Cloudflare\",\n provider: \"cloudflare\",\n description: \"Search and operate Cloudflare services through MCP.\",\n descriptionKey: \"mcpIntegrations.catalog.cloudflare.description\",\n useCase: \"DNS, Workers, domains, security, observability, platform APIs\",\n useCaseKey: \"mcpIntegrations.catalog.cloudflare.useCase\",\n url: \"https://mcp.cloudflare.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"cloudflare\"),\n docsUrl:\n \"https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/\",\n setupNoteKey: \"mcpIntegrations.catalog.cloudflare.setupNote\",\n keywords: [\"cloud\", \"workers\", \"dns\", \"security\", \"observability\"],\n },\n {\n id: \"gitlab\",\n name: \"GitLab\",\n provider: \"gitlab\",\n description: \"Read and manage GitLab projects, issues, and merge requests.\",\n descriptionKey: \"mcpIntegrations.catalog.gitlab.description\",\n useCase: \"repositories, issues, merge requests, CI/CD, code analytics\",\n useCaseKey: \"mcpIntegrations.catalog.gitlab.useCase\",\n url: \"https://gitlab.com/api/v4/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"beta\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"gitlab\"),\n docsUrl: \"https://docs.gitlab.com/user/model_context_protocol/mcp_server/\",\n setupNoteKey: \"mcpIntegrations.catalog.gitlab.setupNote\",\n keywords: [\"git\", \"repositories\", \"issues\", \"merge requests\", \"ci\"],\n },\n {\n id: \"figma\",\n name: \"Figma\",\n provider: \"figma\",\n description: \"Bring Figma design context and canvas actions into an agent.\",\n descriptionKey: \"mcpIntegrations.catalog.figma.description\",\n useCase: \"design files, components, variables, design systems, canvas\",\n useCaseKey: \"mcpIntegrations.catalog.figma.useCase\",\n url: \"https://mcp.figma.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"client-restricted\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"figma\"),\n docsUrl: \"https://developers.figma.com/docs/figma-mcp-server/\",\n setupNoteKey: \"mcpIntegrations.catalog.figma.setupNote\",\n apiFallback: {\n secretKey: \"FIGMA_ACCESS_TOKEN\",\n docsUrl:\n \"https://developers.figma.com/docs/rest-api/personal-access-tokens/\",\n templateUses: [\"design\"],\n },\n keywords: [\"design\", \"figjam\", \"components\", \"variables\", \"canvas\"],\n },\n {\n id: \"canva\",\n name: \"Canva\",\n provider: \"canva\",\n description: \"Search, create, and update Canva designs and assets.\",\n descriptionKey: \"mcpIntegrations.catalog.canva.description\",\n useCase: \"designs, templates, assets, brand kits, exports, collaboration\",\n useCaseKey: \"mcpIntegrations.catalog.canva.useCase\",\n url: \"https://mcp.canva.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"client-restricted\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"canva\"),\n docsUrl: \"https://www.canva.dev/docs/mcp/\",\n setupNoteKey: \"mcpIntegrations.catalog.canva.setupNote\",\n keywords: [\"design\", \"templates\", \"assets\", \"brand\", \"exports\"],\n },\n {\n id: \"vercel\",\n name: \"Vercel\",\n provider: \"vercel\",\n description:\n \"Search Vercel docs and inspect projects, deployments, and logs.\",\n descriptionKey: \"mcpIntegrations.catalog.vercel.description\",\n useCase: \"deployments, projects, logs, domains, hosting, documentation\",\n useCaseKey: \"mcpIntegrations.catalog.vercel.useCase\",\n url: \"https://mcp.vercel.com\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"client-restricted\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"vercel\"),\n docsUrl: \"https://vercel.com/docs/agent-resources/vercel-mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.vercel.setupNote\",\n keywords: [\"deployments\", \"hosting\", \"projects\", \"logs\", \"domains\"],\n },\n {\n id: \"github\",\n name: \"GitHub\",\n provider: \"github\",\n description: \"Read repositories, issues, pull requests, and code context.\",\n descriptionKey: \"mcpIntegrations.catalog.github.description\",\n useCase: \"repositories, issues, pull requests, code, engineering analytics\",\n useCaseKey: \"mcpIntegrations.catalog.github.useCase\",\n url: \"https://api.githubcopilot.com/mcp/\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"github\"),\n docsUrl: \"https://github.com/github/github-mcp-server\",\n setupNoteKey: \"mcpIntegrations.catalog.github.setupNote\",\n keywords: [\"git\", \"repositories\", \"issues\", \"pull requests\", \"code\"],\n },\n {\n id: \"slack\",\n name: \"Slack\",\n provider: \"slack\",\n description:\n \"Search Slack conversations and take workspace actions through MCP.\",\n descriptionKey: \"mcpIntegrations.catalog.slack.description\",\n useCase: \"messages, channels, people, company memory, workflows\",\n useCaseKey: \"mcpIntegrations.catalog.slack.useCase\",\n url: \"https://mcp.slack.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"client-restricted\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"slack\"),\n docsUrl: \"https://docs.slack.dev/ai/slack-mcp-server/\",\n setupNoteKey: \"mcpIntegrations.catalog.slack.setupNote\",\n keywords: [\"messages\", \"channels\", \"search\", \"people\", \"chat\"],\n },\n {\n id: \"asana\",\n name: \"Asana\",\n provider: \"asana\",\n description:\n \"Search and manage Asana tasks, projects, and work graph data.\",\n descriptionKey: \"mcpIntegrations.catalog.asana.description\",\n useCase: \"tasks, projects, portfolios, planning, workload\",\n useCaseKey: \"mcpIntegrations.catalog.asana.useCase\",\n url: \"https://mcp.asana.com/v2/mcp\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"asana\"),\n docsUrl:\n \"https://developers.asana.com/docs/integrating-with-asanas-mcp-server\",\n setupNoteKey: \"mcpIntegrations.catalog.asana.setupNote\",\n keywords: [\"tasks\", \"projects\", \"planning\", \"workload\", \"portfolios\"],\n },\n {\n id: \"hubspot\",\n name: \"HubSpot\",\n provider: \"hubspot\",\n description: \"Search and update HubSpot CRM records through MCP.\",\n descriptionKey: \"mcpIntegrations.catalog.hubspot.description\",\n useCase: \"CRM, contacts, companies, deals, tickets, customer analytics\",\n useCaseKey: \"mcpIntegrations.catalog.hubspot.useCase\",\n url: \"https://mcp.hubspot.com\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"hubspot\"),\n docsUrl:\n \"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server\",\n setupNoteKey: \"mcpIntegrations.catalog.hubspot.setupNote\",\n keywords: [\"crm\", \"contacts\", \"companies\", \"deals\", \"tickets\"],\n },\n {\n id: \"intercom\",\n name: \"Intercom\",\n provider: \"intercom\",\n description: \"Search conversations and customer support knowledge.\",\n descriptionKey: \"mcpIntegrations.catalog.intercom.description\",\n useCase: \"customer support, conversations, contacts, help center content\",\n useCaseKey: \"mcpIntegrations.catalog.intercom.useCase\",\n url: \"https://mcp.intercom.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"intercom\"),\n docsUrl: \"https://developers.intercom.com/docs/guides/mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.intercom.setupNote\",\n keywords: [\"support\", \"conversations\", \"customers\", \"help center\"],\n },\n {\n id: \"monday\",\n name: \"monday.com\",\n provider: \"monday\",\n description: \"Work with boards, items, and team workflows.\",\n descriptionKey: \"mcpIntegrations.catalog.monday.description\",\n useCase: \"work management, boards, projects, tasks, team operations\",\n useCaseKey: \"mcpIntegrations.catalog.monday.useCase\",\n url: \"https://mcp.monday.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"monday\"),\n docsUrl:\n \"https://developer.monday.com/api-reference/docs/build-on-monday-with-ai\",\n setupNoteKey: \"mcpIntegrations.catalog.monday.setupNote\",\n keywords: [\"work management\", \"boards\", \"projects\", \"tasks\", \"teams\"],\n },\n {\n id: \"webflow\",\n name: \"Webflow\",\n provider: \"webflow\",\n description: \"Read and update Webflow sites and content.\",\n descriptionKey: \"mcpIntegrations.catalog.webflow.description\",\n useCase: \"websites, CMS, site content, publishing, design workflows\",\n useCaseKey: \"mcpIntegrations.catalog.webflow.useCase\",\n url: \"https://mcp.webflow.com/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"webflow\"),\n docsUrl: \"https://developers.webflow.com/mcp/reference/getting-started\",\n setupNoteKey: \"mcpIntegrations.catalog.webflow.setupNote\",\n keywords: [\"websites\", \"cms\", \"content\", \"publishing\", \"design\"],\n },\n {\n id: \"paypal\",\n name: \"PayPal\",\n provider: \"paypal\",\n description: \"Work with PayPal payments, invoices, and commerce data.\",\n descriptionKey: \"mcpIntegrations.catalog.paypal.description\",\n useCase: \"payments, invoices, transactions, merchant operations\",\n useCaseKey: \"mcpIntegrations.catalog.paypal.useCase\",\n url: \"https://mcp.paypal.com/sse\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"paypal\"),\n docsUrl: \"https://developer.paypal.com/ai-tools/mcp-server/\",\n setupNoteKey: \"mcpIntegrations.catalog.paypal.setupNote\",\n keywords: [\"payments\", \"invoices\", \"transactions\", \"commerce\"],\n },\n {\n id: \"box\",\n name: \"Box\",\n provider: \"box\",\n description: \"Search and manage files and folders in Box.\",\n descriptionKey: \"mcpIntegrations.catalog.box.description\",\n useCase: \"files, folders, enterprise content, search, collaboration\",\n useCaseKey: \"mcpIntegrations.catalog.box.useCase\",\n url: \"https://mcp.box.com\",\n authMode: \"oauth\",\n connectionMode: \"manual\",\n availability: \"provider-setup\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"box\"),\n docsUrl: \"https://developer.box.com/guides/box-mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.box.setupNote\",\n keywords: [\"files\", \"folders\", \"documents\", \"enterprise content\"],\n },\n {\n id: \"netlify\",\n name: \"Netlify\",\n provider: \"netlify\",\n description: \"Inspect and operate Netlify sites and deployments.\",\n descriptionKey: \"mcpIntegrations.catalog.netlify.description\",\n useCase: \"sites, deployments, builds, domains, hosting operations\",\n useCaseKey: \"mcpIntegrations.catalog.netlify.useCase\",\n url: \"https://netlify-mcp.netlify.app/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: mcpIntegrationLogo(\"netlify\"),\n docsUrl:\n \"https://docs.netlify.com/build/build-with-ai/agent-setup-guides/agent-setup-overview/\",\n setupNoteKey: \"mcpIntegrations.catalog.netlify.setupNote\",\n keywords: [\"deployments\", \"builds\", \"sites\", \"hosting\", \"domains\"],\n },\n {\n id: \"zapier\",\n name: \"Zapier\",\n provider: \"zapier\",\n description: \"Connect MCP tools to thousands of app actions.\",\n descriptionKey: \"mcpIntegrations.catalog.zapier.description\",\n useCase: \"automation, workflows, app actions, cross-service operations\",\n useCaseKey: \"mcpIntegrations.catalog.zapier.useCase\",\n url: \"https://mcp.zapier.com/api/v1/connect\",\n authMode: \"headers\",\n connectionMode: \"headers\",\n availability: \"ready\",\n verification: \"restricted\",\n logoUrl: mcpIntegrationLogo(\"zapier\"),\n docsUrl:\n \"https://help.zapier.com/hc/en-us/articles/36265392843917-Use-Zapier-MCP-with-your-client\",\n setupNoteKey: \"mcpIntegrations.catalog.zapier.setupNote\",\n headerPlaceholder: \"Authorization: Bearer <zapier-mcp-token>\",\n keywords: [\"automation\", \"workflows\", \"actions\", \"apps\", \"integrations\"],\n },\n];\n\nfunction readRuntimeMcpIntegrationsConfig(): NormalizedMcpIntegrationsConfig {\n try {\n if (typeof __AGENT_NATIVE_MCP_INTEGRATIONS_CONFIG__ !== \"undefined\") {\n return normalizeMcpIntegrationsConfig(\n __AGENT_NATIVE_MCP_INTEGRATIONS_CONFIG__,\n );\n }\n } catch {\n // Test and non-Vite contexts may not define the compile-time constant.\n }\n return normalizeMcpIntegrationsConfig();\n}\n\nfunction normalizeTemplateName(value: unknown): string | null {\n if (typeof value !== \"string\") return null;\n const normalized = value.trim().toLowerCase();\n return normalized || null;\n}\n\nfunction getActiveTemplateName(): string | null {\n try {\n const compiledTemplate = normalizeTemplateName(__AGENT_NATIVE_TEMPLATE__);\n if (compiledTemplate) return compiledTemplate;\n } catch {\n // Test and non-Vite contexts may not define the compile-time constant.\n }\n\n const runtimeConfig = (\n globalThis as typeof globalThis & {\n __AGENT_NATIVE_CONFIG__?: { template?: unknown };\n }\n ).__AGENT_NATIVE_CONFIG__;\n return normalizeTemplateName(runtimeConfig?.template);\n}\n\nexport function getMcpIntegrationApiFallback(\n integration: DefaultMcpIntegration,\n templateName = getActiveTemplateName(),\n): DefaultMcpIntegration[\"apiFallback\"] | null {\n const fallback = integration.apiFallback;\n if (!fallback) return null;\n if (!fallback.templateUses?.length) return fallback;\n if (!templateName) return null;\n return fallback.templateUses.includes(templateName) ? fallback : null;\n}\n\nfunction normalizePresetConfig(\n config?: McpIntegrationsConfigInput | NormalizedMcpIntegrationsConfig,\n): NormalizedMcpIntegrationsConfig {\n if (config === undefined) return readRuntimeMcpIntegrationsConfig();\n return normalizeMcpIntegrationsConfig(config);\n}\n\nexport function getDefaultMcpIntegrations(\n config?: McpIntegrationsConfigInput | NormalizedMcpIntegrationsConfig,\n overrides: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n const normalized = normalizePresetConfig(config);\n if (!normalized.enabled || !normalized.defaults.enabled) return [];\n\n const include = normalized.defaults.include\n ? new Set(normalized.defaults.include)\n : null;\n const exclude = new Set(normalized.defaults.exclude);\n return mergeDefaultMcpIntegrations(overrides).filter((integration) => {\n const id = integration.id.toLowerCase();\n if (include && !include.has(id)) return false;\n return !exclude.has(id);\n });\n}\n\nexport function mergeDefaultMcpIntegrations(\n overrides: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n return mergeDefinitionsById(DEFAULT_MCP_INTEGRATIONS, overrides);\n}\n\nexport function isCustomMcpIntegrationEnabled(\n config?: McpIntegrationsConfigInput | NormalizedMcpIntegrationsConfig,\n): boolean {\n const normalized = normalizePresetConfig(config);\n return normalized.enabled && normalized.custom;\n}\n\nexport function isMcpIntegrationCatalogAvailable(\n config?: McpIntegrationsConfigInput | NormalizedMcpIntegrationsConfig,\n): boolean {\n const normalized = normalizePresetConfig(config);\n if (!normalized.enabled) return false;\n return normalized.custom || getDefaultMcpIntegrations(normalized).length > 0;\n}\n\nexport function mcpIntegrationAuthLabel(mode: McpIntegrationAuthMode): string {\n if (mode === \"none\") return \"No auth\";\n if (mode === \"headers\") return \"Header\";\n return \"OAuth\";\n}\n\nexport function buildMcpOAuthStartUrl({\n name,\n url,\n description,\n scope,\n returnUrl,\n}: McpOAuthStartParams): string {\n const params = new URLSearchParams({\n name,\n url,\n description,\n scope,\n return: returnUrl,\n });\n return `/_agent-native/mcp/servers/oauth/start?${params.toString()}`;\n}\n\nexport function navigateToMcpOAuthStart(url: string): void {\n if (typeof window === \"undefined\") return;\n\n const navigate = () => {\n window.setTimeout(() => window.location.assign(url), 0);\n };\n if (typeof window.requestAnimationFrame === \"function\") {\n window.requestAnimationFrame(navigate);\n } else {\n navigate();\n }\n}\n\nexport function resolveMcpIntegrationScope(\n defaultScope: \"user\" | \"org\",\n hasOrg: boolean,\n canCreateOrgMcp: boolean,\n): \"user\" | \"org\" {\n return defaultScope === \"org\" && hasOrg && canCreateOrgMcp ? \"org\" : \"user\";\n}\n\nexport function filterMcpIntegrations(\n query: string,\n integrations: DefaultMcpIntegration[] = getDefaultMcpIntegrations(),\n): DefaultMcpIntegration[] {\n const needle = query.trim().toLowerCase();\n if (!needle) return integrations;\n return integrations.filter((integration) => {\n const haystack = [\n integration.name,\n integration.provider,\n integration.description,\n integration.useCase,\n integration.url,\n ...(integration.brandAliases ?? []),\n ...(integration.aliases ?? []),\n ...integration.keywords,\n ]\n .join(\" \")\n .toLowerCase();\n return haystack.includes(needle);\n });\n}\n\nconst MCP_LINK_HOSTS: Record<string, string[]> = {\n context7: [\"context7.com\"],\n sentry: [\"sentry.io\", \"sentry.dev\"],\n notion: [\"notion.so\", \"notion.site\"],\n granola: [\"granola.ai\"],\n semgrep: [\"semgrep.dev\", \"semgrep.com\"],\n canva: [\"canva.com\", \"canva.ai\"],\n figma: [\"figma.com\"],\n linear: [\"linear.app\"],\n atlassian: [\"atlassian.com\", \"atlassian.net\", \"jira.com\", \"confluence.com\"],\n supabase: [\"supabase.com\"],\n neon: [\"neon.tech\"],\n stripe: [\"stripe.com\"],\n cloudflare: [\"cloudflare.com\"],\n github: [\"github.com\", \"github.dev\"],\n gitlab: [\"gitlab.com\"],\n slack: [\"slack.com\"],\n asana: [\"asana.com\"],\n hubspot: [\"hubspot.com\"],\n intercom: [\"intercom.com\"],\n monday: [\"monday.com\"],\n webflow: [\"webflow.com\"],\n paypal: [\"paypal.com\"],\n box: [\"box.com\"],\n netlify: [\"netlify.com\"],\n vercel: [\"vercel.com\"],\n zapier: [\"zapier.com\"],\n};\n\nfunction hostMatches(hostname: string, domain: string): boolean {\n return hostname === domain || hostname.endsWith(`.${domain}`);\n}\n\nfunction findUrlForText(text: string): URL | null {\n const candidates = text.match(/https?:\\/\\/[^\\s<>()[\\]{}]+/gi) ?? [];\n for (const candidate of candidates) {\n try {\n return new URL(candidate.replace(/[.,!?;:'\\\"]+$/, \"\"));\n } catch {\n // Ignore prose that only looks like a URL.\n }\n }\n return null;\n}\n\nconst MCP_RESOURCE_INTENT_PATTERN =\n /\\b(?:action|add|access|board|check|connect|connected|connection|create|decision|design|document|doc|do|extract|fetch|file|find|follow[- ]?ups?|get|import|integration|integrate|issue|link|list|meeting|message|notes?|open|page|populate|project|pull|read|recordings?|review|search|see|summary|summarize|sync|task|ticket|todo|transcripts?|turn|use|workspace)\\b/i;\n\nfunction textContainsTerm(text: string, term: string): boolean {\n const escaped = term.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n return new RegExp(`(^|[^a-z0-9])${escaped}([^a-z0-9]|$)`, \"i\").test(text);\n}\n\nexport function findMcpIntegrationForText(\n text: string,\n integrations: DefaultMcpIntegration[] = getDefaultMcpIntegrations(),\n): DefaultMcpIntegration | null {\n const url = findUrlForText(text);\n if (url) {\n const match = integrations.find((integration) =>\n (MCP_LINK_HOSTS[integration.id] ?? []).some((domain) =>\n hostMatches(url.hostname.toLowerCase(), domain),\n ),\n );\n if (match) return match;\n }\n\n const normalizedText = text.toLowerCase();\n const hasResourceIntent =\n MCP_RESOURCE_INTENT_PATTERN.test(normalizedText) ||\n isMcpConnectionFailureText(normalizedText);\n if (!hasResourceIntent) return null;\n const matchesCanonicalName = (integration: DefaultMcpIntegration) =>\n [integration.name, ...(integration.brandAliases ?? [])].some((alias) =>\n textContainsTerm(normalizedText, alias),\n );\n const canonicalMatch = integrations.find(matchesCanonicalName);\n if (canonicalMatch) return canonicalMatch;\n return null;\n}\n\n/**\n * Matches the server segment of an `mcp__<server>__<tool>` name, not prose, so\n * ambiguous brand words (\"box\", \"monday\", \"linear\") are safe here in a way they\n * are not in `findMcpIntegrationForText`.\n */\nexport function findMcpIntegrationForToolName(\n toolName: string,\n integrations: readonly DefaultMcpIntegration[] = DEFAULT_MCP_INTEGRATIONS,\n): DefaultMcpIntegration | null {\n const server = /^mcp__(.+?)__/.exec(toolName.toLowerCase())?.[1];\n if (!server) return null;\n return (\n integrations.find((integration) =>\n [\n integration.id,\n integration.provider,\n ...(integration.brandAliases ?? []),\n ...(integration.aliases ?? []),\n ].some((alias) => textContainsTerm(server, alias)),\n ) ?? null\n );\n}\n\nexport function isMcpConnectionFailureText(text: string): boolean {\n return /\\b(?:can(?:not|'t|’t)|could(?: not|n't|n’t)|unable|failed|don't have access|don’t have access|not connected|not able)\\b[\\s\\S]{0,80}\\b(?:read|access|open|see|fetch|connect)\\b/i.test(\n text,\n );\n}\n\nexport function createMcpIntegrationFormDefaults(\n integration?: DefaultMcpIntegration | null,\n): McpIntegrationFormDefaults {\n if (!integration) {\n return {\n name: \"\",\n url: \"\",\n description: \"\",\n headersText: \"\",\n };\n }\n return {\n name: integration.name,\n url: integration.url,\n description: integration.description,\n headersText: \"\",\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentsSection.d.ts","sourceRoot":"","sources":["../../../src/client/settings/AgentsSection.tsx"],"names":[],"mappings":"AA4NA,wBAAgB,aAAa,gCA4N5B"}
1
+ {"version":3,"file":"AgentsSection.d.ts","sourceRoot":"","sources":["../../../src/client/settings/AgentsSection.tsx"],"names":[],"mappings":"AAulBA,wBAAgB,aAAa,gCA+U5B"}