Agents in untrusted folders can no longer define inline MCP servers; trust the project to allow it.
What's wrong with this entry?
If an agent's frontmatter declares MCP servers inline rather than by name, and the folder the agent is defined in is not trusted, those servers are now dropped for both the main thread and subagents. A log names the source and tells you to accept the trust dialog or set hasTrustDialogAccepted. There is no flag: this applies to anyone whose agent files live outside a trusted project.
- Only inline (non-string) server definitions are affected; agents that reference servers by name are unchanged.
- The existing untrusted-origin telemetry event gained a
whatfield distinguishing"hooks"from"mcpServers". - The warning is deduplicated per agent and surface, so it is logged only the first time.
tengu_agent_hooks_origin_untrusted
Strings lifted out of the shipped bundle, so the claim above can be checked against them.