Skip to content

McpServerAnnotationTrust

Defined in: core/dist/config/shell-policy.d.ts:509

EXT-70 §4.7.1 — what one server’s annotations are believed on, for display.

configured says whether server is a key under mcpServers in the loaded config. It is an advisory rather than a validity test: §9 deliberately does NOT check approvals.mcp keys against mcpServers, so a user may write the policy before adding the server and config ORDER never matters. What it buys interactively is that a mistyped key — which trusts nothing while reading as though it did — can be pointed out rather than swallowed.

configured: boolean

Defined in: core/dist/config/shell-policy.d.ts:515

Whether this key names a server in the loaded config’s mcpServers.


server: string

Defined in: core/dist/config/shell-policy.d.ts:511

§4.7.5 — the user’s own mcpServers config key.


trusted: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[]

Defined in: core/dist/config/shell-policy.d.ts:513

The hints believed from this server, resolved through defaults where it is not named.