Skip to content

feat(sandbox): tole doctor lists the sensitive grants of each sandboxed server and logs the sandbox decision at startup (#750 part 1) #809

Closed

Description

@ajianaz

First small slice of #750.

Scope

  • tole doctor prints, for each sandboxed MCP server and each [sandbox.consumers] entry, the effective mode (off, optional, required), the read/write grants, the network setting and any grant that touches a sensitive path (home ancestors, .ssh, .gnupg, cloud credentials).
  • At startup, one log line per server says whether it runs sandboxed, unsandboxed because bwrap is missing (optional), or refused (required, or unattended).
  • No new config keys.

Done when

  • Tests with a fake bwrap cover the three decisions and the sensitive-grant listing; docs/sandbox-design.md mentions the doctor output.

Activity

  1. added
    enhancement
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions