mcpwn API
    Preparing search index...

    Interface Scope

    Scoping / filtering (§3.6). A scope narrows which messages mcpwn treats as "interesting" — i.e. which ones get held for interactive review and shown on the stderr log. Out-of-scope traffic is ALWAYS forwarded untouched (the pipeline never runs rules or holds it); it is merely suppressed from the human log, and optionally from the JSONL session log.

    interface Scope {
        direction?: Direction;
        methods?: string[];
        onlyTampered?: boolean;
        tools?: string[];
    }
    Index
    direction?: Direction

    Restrict to a single direction.

    methods?: string[]

    Glob patterns matched against the (resolved) JSON-RPC method. * matches any run of characters, ? a single character.

    onlyTampered?: boolean

    Only messages a rule actually tampered are in scope (post-rules filter).

    tools?: string[]

    Tool names matched against params.name (the tool being called).