Skip to content

McpToolApprovalEntry

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:535

§3.1 — an mcpTool entry: one server’s tool.

  • ApprovalEntryCommon

optional host?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:546

§4.7.4 — optional exact-match bound on the call’s host.


matcher: ApprovalMatcher

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:537


pattern: string | ApprovalHintPattern

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:538


optional rate?: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:514

§3.2 — whether the rater still reviews a call this entry matched, honored at the rater rungs and inert at the deterministic ones. Valid on EVERY type. Absent takes the §3.2 default: an entry skips the rater only to the extent that it recorded what the rater would have seen, so shell + exact defaults to false and everything else to true.

ApprovalEntryCommon.rate


server: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:544

§4.7.5 — required, and the user’s own key in mcpServers: the only identity a server has that is stable, unique and user-authored. The literal * means every server, which is why a configured server may not be named *.


type: "mcpTool"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:536