跳转到主要内容
This page is the single reference for sharing permissions and credential flow. The shareable resource types are Agents, Connectors, and MCP servers (plus Skills and Workflows when those optional modules are enabled). Use it to reason about what happens when you share a resource that is itself built on top of other resources.
Knowledge bases are not shareable. A KB reaches other people only by being bound to a shared Agent, which delegates the owner’s content at run time (see “How access flows through bound resources”). There is no publish-KB action. Database connectors are not shareable either: publishing one is refused, and its SQL tool is offered only to the connector’s owner.

两个问题

每个共享决策都回答两个独立的问题:
  1. 可见性 — 其他人能否看到/使用此资源?
  2. 凭证 — 它使用谁的密钥(API密钥、数据库密码、服务器环境变量)运行?
可见性涉及资源本身;凭证是一个独立的、按用户的关注点,仅由连接器和MCP服务器承载。在你的思维中将它们分开——大多数混淆来自于将”我能看到它”与”我能使用其所有者的密钥”混为一谈。

Visibility: own + subscribed

A resource is visible to you only if you own it or you have an explicit subscription to it. There is no implicit “everyone in my org can see it” anymore — org sharing is delivered through subscriptions. The same rule governs everywhere a resource is used — chat tool assembly, binding to an agent, and a workflow step all resolve own + subscribed. So a connector you subscribed to can be bound to an agent and called from a workflow; one you can neither see nor subscribe to is refused in all three places. Whose access is checked depends on how the resource is reached: used directly (a chat with no agent), it is yours; reached through an agent or a workflow, it is the access of that agent’s owner or that workflow’s author (see How access flows through bound resources).
Subscriptions are scoped: leaving (or being removed from) an organization revokes the subscriptions you only had through it, and deletes the per-user credentials you saved for those resources.

Credentials & “Allow fallback”

Only Connectors and MCP servers hold credentials. Each one has an Allow fallback switch that decides whether subscribers may borrow the owner’s credential: Key rules:
  • Off is the default. Sharing your token is opt-in. A newly created connector or MCP server does not share the owner’s credential, and existing ones were migrated to off.
  • The owner is always exempt. “Allow fallback” only governs other users; you can always use your own connector with your own credential.
  • No silent failure. When fallback is off and a user has no credential, the tool is removed from the toolset rather than offered and then failing at call time. Every surface (chat, the Playground, workflow steps) must show a “configure your own credentials” prompt instead of a broken tool.
  • One rule on every path. Chat with an agent, chat without one, an agent delegated to with call_agent, and workflow connector and MCP steps all resolve the credential the same way. A workflow step has no toolset to drop a tool from, so it fails with a message asking the person running it to save their own credential.
  • Your own credential is used alone. It replaces what the owner stored; the two are never combined. For an MCP server it counts only when it supplies what the server’s transport reads: environment variables for stdio, request headers for SSE and HTTP.
  • Nothing to borrow, nothing to gate, for connectors. A connector whose authentication is “None” is offered to everyone who can use it, whatever the switch says. An MCP server has no such declaration: with fallback off, anyone but the owner needs a credential of their own, also for a server that stores no environment variables and no headers, because its URL and command arguments are the owner’s as well.
  • A failed lookup refuses. If a user’s saved credential cannot be read, the call is refused rather than sent with the owner’s.

How access flows through bound resources

Resources compose. Sharing one resource implicitly exposes the resources bound underneath it — but credentials do not automatically flow with them. When you share the container, the references travel with it as a graph of ids — a shared workflow or agent carries no embedded secrets. A workflow’s environment variables stay with its author: when someone else runs a shared workflow, {{env.*}} references resolve to empty values. At run time, each referenced resource is re-checked, in two parts:
  • May it be used at all? That is the access of the container’s owner, not of whoever runs it. Binding a resource to an agent, or naming it in a workflow step, is a delegation: the resource stays usable through the container while the agent’s owner (or the workflow’s author) can still use it and it is switched on. The person running a shared agent or workflow does not need a subscription of their own to each resource inside it. When the owner loses access (for example after leaving the organization the resource was shared through), an agent drops the resource from its tools, and a workflow step that names it fails, for everyone.
  • With whose credential? Always decided for the person running it:
    • Knowledge Bases have no per-user credential, so a KB bound to a shared agent, or named in a workflow’s Knowledge Retrieval step, delegates its content: whoever runs it reads the KB owner’s data. A knowledge base cannot be shared on its own, so the agent’s owner or the workflow’s author must own it. Ad-hoc KB search in a chat with no agent reads only the caller’s own knowledge bases.
    • Connectors / MCP servers carry credentials, so the owner’s credential is used only when Allow fallback is on (see below); otherwise the runner needs their own.
  • Agents named in a workflow’s Agent step follow the same rule: the step runs while the workflow’s author can use the agent and it is switched on, and fails otherwise. The agent’s own bound resources are then checked against the agent’s owner, as in chat.

已实现的场景

您拥有一个绑定了个人连接器的智能体(您未共享该连接器本身)。您将该智能体共享给您的组织或全局。其他人运行它: 换句话说:共享智能体不会共享连接器的密钥。 连接器自身的”允许回退”设置是唯一决定凭证是否通过绑定传递的开关。这同样适用于从技能或工作流步骤引用的连接器或 MCP 服务器。
这就是为什么对于您打算共享的连接器,推荐的做法是:将允许回退保持关闭,让每个用户绑定自己的凭证。仅在您明确希望借出您的密钥(并承担使用费用)时才打开它——例如,您愿意代表他人支付费用的按量计费 API。