Allow named MCP servers in Claude stages
Add validated per-stage MCP allowlists while keeping builtin tools separate. Enable matching Claude Code permission rules only for Claude stages, reject unsupported harnesses, and document the unattended-stage safety model.
This commit is contained in:
@@ -44,3 +44,9 @@ OS sandbox: approved shell can have broad side effects. Usage accumulates across
|
||||
attempts and visits; missing required accounting fails closed. Session/RPC audit
|
||||
lives in the execution user's cache under `pipelines/pi-sessions`; unconfirmed
|
||||
cleanup blocks continuation and retry.
|
||||
|
||||
Claude stages may additionally allow named MCP servers/tools in the `tools`
|
||||
block. These are Claude-only, exact allowlist entries; other MCP tools remain
|
||||
denied in unattended `dontAsk` sessions. Use `mcp:<server>` or
|
||||
`mcp:<server>/<tool>` with names as Claude Code displays them, and prefer
|
||||
read-only tools.
|
||||
|
||||
Reference in New Issue
Block a user