Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-11-24-more-connectors-grouped-by-category.md
2026-11-24-more-connectors-grouped-by-category.md: 6488d657088bf7cb55bd5b04634065552023f0b0
2026-11-24-more-connectors-grouped-by-category.zh.md: 42e7ca350d713a6978589547fa51deb247efbc80
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Agent Note: Cloudflare, AWS, Supabase, Calendly, Google Cloud, Azure DevOps, Oracle Cloud, and Google Tasks, Contacts, and Meet connectors, listed by category

Status: implemented

English | [中文](2026-11-24-more-connectors-grouped-by-category.zh.md)

## Problem

Users asked for Spotify, Cloudflare, AWS, Supabase, Calendly, the other major clouds, and every Google service Æven can reach without a restricted scope. With 34 providers, the flat Connectors list no longer let a reader find a connector by what it is for.

## Decision

- **Vendor-hosted servers.** Cloudflare (`https://mcp.cloudflare.com/mcp`), AWS (`https://aws-mcp.us-east-1.api.aws/mcp`), Supabase (`https://mcp.supabase.com/mcp`, authorized at `api.supabase.com`), and Calendly (`https://mcp.calendly.com/`, authorized at `calendly.com`) register clients dynamically, so each is one `HOSTED_MCP` entry on the Aeven API and one `hosted-mcp.ts` endpoint on the Host ([hosted MCP connectors](2026-11-24-hosted-mcp-connectors-trust-vendor-read-hints.md)). AWS and Calendly accept only public clients; AWS, Supabase, and Calendly publish no revocation endpoint. Cloudflare, AWS, and Supabase request no scope parameter, which leaves the server's default grant; Calendly requests the three scopes its protected-resource metadata lists.
- **Google Cloud through Google sign-in.** BigQuery (`https://bigquery.googleapis.com/mcp`) and Compute Engine (`https://compute.googleapis.com/mcp`) are Google's own hosted MCP servers; their authorization server is `accounts.google.com`, so each is a `GOOGLE_SCOPES` entry (`bigquery`, `compute`) on the API and a hosted-MCP endpoint on the Host. Google serves one MCP server per product, so each product is its own connector.
- **Azure DevOps through the Microsoft application.** Its hosted server lives at `mcp.dev.azure.com/<organization>` and authorizes through Entra work and school accounts, so the API's Microsoft application requests `https://mcp.dev.azure.com/.default` at `organizations`. That token is not for Graph, so the API reads the account from the ID token instead of Graph's `/me`. Settings collects the organization before the consent and the Host stores the server with the row. Azure resources have no hosted MCP server and are not offered.
- **Oracle Cloud like Salesforce.** Oracle's managed MCP server runs inside each tenancy and authorizes through the tenancy's own Identity Domain, without dynamic registration, so the user brings the server URL, the Identity Domain, and its application's client id and secret. The API's bring-your-own path, until now Salesforce's alone, selects validation rules and endpoints by provider; it accepts only `identity.oraclecloud.com` hosts and requests `openid offline_access`, and the Host accepts only an HTTPS `oraclecloud.com` server URL.
- **Google beyond Gmail, Drive, and Calendar.** `google-tasks` (`tasks`), `google-contacts` (`contacts`), and `google-meet` (`meetings.space.created`, `meetings.space.readonly`) run through the same Workspace bridge with `GWS_SERVICES` set to `tasks`, `people`, and `meet`. All four scopes are sensitive, not restricted, so verification needs no CASA assessment. The bridge has no Meet tools of its own; its `workspace_raw` tool reaches the Meet API and verifies the grant with `conferenceRecords.list`. Chat and Keep need a Workspace administrator and YouTube is outside the bridge, so they are not offered.
- **Categories in the client.** `connector-categories.ts` maps every provider to one heading — Communication, Productivity, Development tools, Sales and marketing, Commerce and shopping, Financial services, the vocabulary of Claude's connector directory, with custom MCP servers last under Custom because they can be anything — and the Connectors page lists each non-empty heading above its rows. The map is a `Record<ConnectorProvider, …>`, so adding a provider without a category fails the typecheck. Search narrows the rows inside each heading and hides headings left empty.

## Alternatives considered

- **Spotify** — its hosted MCP server authorizes through Spotify accounts, which registers no clients dynamically, and Spotify grants an app more than five allowlisted users only for registered organizations with at least 250,000 monthly active users, so Æven offers no Spotify connector.
- **Category on the Host's provider view** — the heading is presentation only; keeping it in the client avoids a wire field no other consumer reads.
- **One Google group** — readers look for Gmail beside the other mail connectors and Drive beside OneDrive, so Google providers sit under the headings their purpose names.
- **Full Gmail and Drive scopes** — restricted scopes need a yearly paid CASA assessment ([connector secrets](2026-10-07-connector-secrets-on-aeven-api.md)).

## Consequences

- The Host and the Aeven API ship together: a Host offering a provider the API does not know fails at sign-in.
- The four Google scopes must be added to the `aeven-connectors` consent screen and verified; until then a grant shows Google's unverified-app screen.
- Azure DevOps needs the Azure DevOps permission on the Aeven Microsoft application, and an organization whose policy blocks third-party applications refuses it. Oracle's documentation names neither the server host pattern nor required scopes, so both rules are checked at the first real tenancy.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Agent Note:Cloudflare、AWS、Supabase、Calendly、Google Cloud、Azure DevOps、Oracle Cloud 及 Google 任务、通讯录、Meet 连接器,按类别列出

Status: implemented

[English](2026-11-24-more-connectors-grouped-by-category.md) | 中文

## 问题

用户要求接入 Spotify、Cloudflare、AWS、Supabase、Calendly、其他主要云平台,以及 Æven 无需受限范围即可访问的所有 Google 服务。提供商增至 34 个后,平铺的连接器列表已无法让读者按用途找到连接器。

## 决定

- **供应商托管的服务器。** Cloudflare(`https://mcp.cloudflare.com/mcp`)、AWS(`https://aws-mcp.us-east-1.api.aws/mcp`)、Supabase(`https://mcp.supabase.com/mcp`,在 `api.supabase.com` 授权)和 Calendly(`https://mcp.calendly.com/`,在 `calendly.com` 授权)动态注册客户端,因此各自只是 Aeven API 上的一个 `HOSTED_MCP` 条目及宿主 `hosted-mcp.ts` 中的一个端点([托管 MCP 连接器](2026-11-24-hosted-mcp-connectors-trust-vendor-read-hints.zh.md))。AWS 和 Calendly 只接受公开客户端;AWS、Supabase 和 Calendly 不发布撤销端点。Cloudflare、AWS 和 Supabase 不发送 scope 参数,沿用服务器的默认授权;Calendly 请求其受保护资源元数据列出的三个范围。
- **通过 Google 登录接入 Google Cloud。** BigQuery(`https://bigquery.googleapis.com/mcp`)和 Compute Engine(`https://compute.googleapis.com/mcp`)是 Google 自己的托管 MCP 服务器,其授权服务器为 `accounts.google.com`,因此各自是 API 上的一个 `GOOGLE_SCOPES` 条目(`bigquery`、`compute`)及宿主上的一个托管 MCP 端点。Google 每个产品提供一个 MCP 服务器,因此每个产品各为一个连接器。
- **通过 Microsoft 应用接入 Azure DevOps。** 其托管服务器位于 `mcp.dev.azure.com/<organization>`,经由 Entra 工作或学校账户授权,因此 API 的 Microsoft 应用在 `organizations` 请求 `https://mcp.dev.azure.com/.default`。该令牌并非针对 Graph,因此 API 从 ID 令牌而非 Graph 的 `/me` 读取账户。设置页面在授权前收集组织,宿主将服务器与连接行一同保存。Azure 资源没有托管 MCP 服务器,因此不提供。
- **Oracle Cloud 沿用 Salesforce 的方式。** Oracle 的托管 MCP 服务器运行在各租户内部,经由租户自己的身份域授权,且不支持动态注册,因此用户提供服务器 URL、身份域及其应用的客户端 ID 和密钥。API 的自带应用路径此前仅供 Salesforce 使用,现按提供商选择校验规则和端点;它只接受 `identity.oraclecloud.com` 主机,并请求 `openid offline_access`,宿主只接受 `oraclecloud.com` 上的 HTTPS 服务器 URL。
- **Gmail、云端硬盘和日历之外的 Google 服务。** `google-tasks`(`tasks`)、`google-contacts`(`contacts`)和 `google-meet`(`meetings.space.created`、`meetings.space.readonly`)通过同一 Workspace 桥接运行,`GWS_SERVICES` 分别设为 `tasks`、`people` 和 `meet`。这四个范围均为敏感而非受限范围,因此验证无需 CASA 评估。桥接本身没有 Meet 工具;其 `workspace_raw` 工具访问 Meet API,并以 `conferenceRecords.list` 验证授权。Chat 和 Keep 需要 Workspace 管理员,YouTube 不在桥接范围内,因此不提供。
- **类别在客户端。** `connector-categories.ts` 将每个提供商映射到一个标题——沟通、效率、开发工具、销售与营销、电商与购物或金融服务,沿用 Claude 连接器目录的用语,自定义 MCP 服务器可以是任何服务,因此排在最后的“自定义”标题下——连接器页面在各行上方列出每个非空标题。该映射为 `Record<ConnectorProvider, …>`,新增提供商而未指定类别会导致类型检查失败。搜索会缩小每个标题下的行,并隐藏变空的标题。

## 考虑过的替代方案

- **Spotify** —— 其托管 MCP 服务器经由 Spotify 账户服务授权,后者不动态注册客户端,且 Spotify 只为月活跃用户至少 25 万的注册组织开放超过五个白名单用户的权限,因此 Æven 不提供 Spotify 连接器。
- **在宿主的提供商视图中携带类别** —— 标题只关乎展示;放在客户端可避免一个没有其他使用方读取的传输字段。
- **单独的 Google 分组** —— 读者会在其他邮件连接器旁寻找 Gmail,在 OneDrive 旁寻找云端硬盘,因此 Google 提供商归入其用途对应的标题。
- **完整的 Gmail 和云端硬盘范围** —— 受限范围需要每年付费的 CASA 评估([连接器密钥](2026-10-07-connector-secrets-on-aeven-api.zh.md))。

## 影响

- 宿主与 Aeven API 须一同发布:宿主提供 API 不认识的提供商时,登录会失败。
- 这四个 Google 范围须添加到 `aeven-connectors` 的同意屏幕并通过验证;在此之前,授权会显示 Google 的未验证应用页面。
- Azure DevOps 需要 Aeven Microsoft 应用具备 Azure DevOps 权限,策略禁止第三方应用的组织会拒绝它。Oracle 的文档既未给出服务器主机格式也未给出所需范围,因此这两条规则须在首个真实租户上核实。
4 changes: 2 additions & 2 deletions docs/subsystems/credentials.i18n.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/subsystems/credentials.md
credentials.md: 75157cf9b41cab0bfa4438be74ad706289692d99
credentials.zh.md: 08efd5d4a020c338e775d72fdc885276f10a9955
credentials.md: 2b6788cb194f9f4268ced2a255b5c4562e6afc94
credentials.zh.md: 251954e27e3f523f5ca68a88882290f5487e3139
14 changes: 14 additions & 0 deletions docs/subsystems/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,20 @@ Signed-in users manage their own integrations; each agent mounts only its owner'
*/
@Remote async authorize(provider: ConnectorProvider): Promise<ConnectorAuthorization>

/**
* Start the consent for one Azure DevOps organization with a Microsoft work or school account.
* @param request - the organization, as its name, `dev.azure.com` URL, or `visualstudio.com` host.
* @returns the Microsoft consent URL.
*/
@Remote async authorizeAzureDevOps(request: AzureDevOpsAuthorizationRequest): Promise<ConnectorAuthorization>

/**
* Start the consent for an Oracle Cloud tenancy's managed MCP server through its Identity Domain application.
* @param request - the server URL, the Identity Domain, and the application's client id and optional secret; the secret is write-only.
* @returns the Identity Domain's consent URL.
*/
@Remote async authorizeOracle(request: OracleAuthorizationRequest): Promise<ConnectorAuthorization>

/**
* Start installing the Aeven Shopify app into one store. Each store is its own connector row, so
* connecting a store again re-consents that row.
Expand Down
14 changes: 14 additions & 0 deletions docs/subsystems/credentials.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,20 @@ Signed-in users manage their own integrations; each agent mounts only its owner'
*/
@Remote async authorize(provider: ConnectorProvider): Promise<ConnectorAuthorization>

/**
* Start the consent for one Azure DevOps organization with a Microsoft work or school account.
* @param request - the organization, as its name, `dev.azure.com` URL, or `visualstudio.com` host.
* @returns the Microsoft consent URL.
*/
@Remote async authorizeAzureDevOps(request: AzureDevOpsAuthorizationRequest): Promise<ConnectorAuthorization>

/**
* Start the consent for an Oracle Cloud tenancy's managed MCP server through its Identity Domain application.
* @param request - the server URL, the Identity Domain, and the application's client id and optional secret; the secret is write-only.
* @returns the Identity Domain's consent URL.
*/
@Remote async authorizeOracle(request: OracleAuthorizationRequest): Promise<ConnectorAuthorization>

/**
* Start installing the Aeven Shopify app into one store. Each store is its own connector row, so
* connecting a store again re-consents that row.
Expand Down
2 changes: 1 addition & 1 deletion packages/api/remotes/src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export type {
EmailConnectionResult, EmailConnectionUpdate, EmailConnectorSettings,
EmailProbeStep, EmailReceiveSettings, EmailSecurity, EmailServerSettings,
PersonalSkillView, PersonalConnectorView, SalesforceAuthorizationRequest, SalesforceConnectorSettings,
ShopifyAuthorizationRequest, ShopifyConnectorSettings,
ShopifyAuthorizationRequest, ShopifyConnectorSettings, AzureDevOpsAuthorizationRequest, OracleAuthorizationRequest,
SkillCatalogView, SkillReferenceImport, SkillUploadFile,
SystemSkillAgent, SystemSkillView, TelegramConnectorSettings,
TelegramLoginFailure, TelegramPairingState, TelegramPairingView, WhatsAppConnectorSettings,
Expand Down
3 changes: 2 additions & 1 deletion packages/client/ui-approval/src/client/ApprovalPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ function ApprovalFlow({ pending, detail, t }: {
const connector = /^mcp__([a-z-]+)_([a-f0-9]{8})__(.+)$/.exec(pending.toolName)
const providers: Record<string, string> = {
whatsapp: 'WhatsApp', telegram: 'Telegram', discord: 'Discord', slack: 'Slack',
gmail: 'Gmail', 'google-drive': 'Google Drive', 'google-calendar': 'Google Calendar',
gmail: 'Gmail', 'google-drive': 'Google Drive', 'google-calendar': 'Google Calendar', 'google-tasks': 'Google Tasks', 'google-contacts': 'Google Contacts', 'google-meet': 'Google Meet',
outlook: 'Outlook', 'outlook-calendar': 'Outlook Calendar', onedrive: 'OneDrive',
sharepoint: 'SharePoint', teams: 'Microsoft Teams', github: 'GitHub', notion: 'Notion',
vercel: 'Vercel', atlassian: 'Atlassian', monday: 'Monday', stripe: 'Stripe', salesforce: 'Salesforce', shopify: 'Shopify', 'microsoft-365': 'Microsoft 365',
cloudflare: 'Cloudflare', aws: 'AWS', supabase: 'Supabase', calendly: 'Calendly', bigquery: 'BigQuery', 'compute-engine': 'Compute Engine', 'azure-devops': 'Azure DevOps', oracle: 'Oracle Cloud',
}
const connectorId = connector?.[1]
const provider = connectorId === undefined ? undefined : providers[connectorId] ?? connectorId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@
.section .importBody .primaryAction { color: var(--dsw-alias-label-primary-foreground); background: var(--dsw-alias-button-primary-fill); }
.section .importBody .primaryAction:disabled { opacity: 1; color: var(--dsw-alias-label-primary-foreground); background: var(--dsw-alias-button-primary-fill); }
.agentGroups { display: flex; flex-direction: column; gap: 24px; }
/* The Connectors page lists its providers under category headings; each heading rides its group and keeps the copy's own case. */
.connectorGroups { display: flex; flex-direction: column; gap: 24px; }
.connectorGroups .categoryHeader { position: static; text-transform: none; }
/* The compact section sets every heading's type with !important; category titles read smaller and lighter than page headings. */
.section.compact .connectorGroups .categoryHeader { font-size: 0.875rem !important; line-height: 1.25rem !important; font-weight: 400 !important; }
/* The group labels ride the page rather than pinning to the popup's edge, and name each agent with its count. */
.agentGroups .category { gap: 10px; }
.agentGroups .categoryHeader { position: static; font-size: 0.875rem; line-height: 1.375rem; font-weight: 500; }
Expand Down
Loading