Skip to content

feat(plugins): sandbox wrapper for third-party stdio servers, lazy start, tool retrieval by meaning #601

Closed

Description

@ajianaz

Closed 2026-11-16 (owner decision). Everything in this issue is built, except "tool definitions retrieved by meaning", which moved to #875 (parked). Built: the sandbox wrapper for third-party stdio servers (bubblewrap profiles, per-server profiles, --sandbox / --no-sandbox, doctor, lock entry with the profile name and hash), opt-in lazy start, and the unattended-run rules. Follow-ups: #748 (model-driven commands) and #750.

What problem does this solve?

A stdio MCP server runs with the owner's full filesystem and network authority (env is scrubbed, nothing else). Every server's tool descriptions share one context, which enables shadowing, and all configured servers start even when unused.

Proposed solution

Per docs/third-party-plugins-design.md §4.2–4.3 (owner: external wrapper):

  • Detect an external sandbox wrapper on PATH (Anthropic srt — bubblewrap/Seatbelt with a domain-allowlist proxy — or plain bubblewrap), like cora/uteke detection. Third-party stdio servers run under it with the manifest's declared paths and hosts; home-directory reads denied except granted paths.
  • No wrapper: a third-party stdio server needs an explicit owner override; unverified plugins require the wrapper.
  • Remote HTTP servers preferred for untrusted code.
  • Per-profile plugin allowlist; unattended runs (cron/webhook) use only locked, approved, non-unverified plugins.
  • Lazy start: a plugin process starts on first use, stops when idle; dormant profiles start nothing.
  • Tool definitions retrieved by meaning when relevant (shared seam with skills; Tool Search: −85% tokens). Moved to feat(mcp): retrieve tool definitions by meaning when relevant (shared seam with skills) #875.
  • Document limits: process sandboxes get bypassed; VMs/containers for high risk.

Alternatives considered

tole's own sandbox implementation (owner chose external); mandatory containers for every server (too heavy for first-party).

Are you willing to contribute the implementation?

Yes, I can do it

Before submitting

  • I searched existing issues and didn't find a duplicate

Activity

  1. added
    enhancement
    on Nov 11, 2026
  2. added a commit that references this issue on Nov 19, 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