Skip to content

v0.8.41 — safety screen gets an off switch that reaches the MCP path

Latest

Choose a tag to compare

@activeing123 activeing123 released this 26 Nov 14:17

Added

  • The injection/credential screen finally has an off switch, and it reaches the
    MCP path.
    mcptoon config set guard off — or MCPTOON_NO_GUARD=1 /
    MCPTOON_GUARD=off for a single process — turns _check_poisoning and
    _check_credential_leak off everywhere: mcptoon call, the serve/gateway tool
    result path, and the skill-prompt scan in prompts/get. Until now the only
    escape hatch was mcptoon call --raw, a flag the MCP/serve path cannot pass at
    all, so a gateway user had no way to disable a heuristic that does produce false
    positives (ordinary technical prose like "you are a ...", release notes quoting a
    curl repro, any issue text that happens to contain an indicator) — and a block
    replaces the whole result, so the data is simply gone. Reported as #60. The
    switch fails closed: a missing or unrecognized value keeps the screen on, and
    both TOOL_POISONING and CREDENTIAL_LEAK now name the way out instead of a flag
    the current path never sees. tests/test_guard_switch.py pins the setting, both
    env vars and their precedence, the rejected typo, the serve prompt path, and that