Skip to content

Opt-in capture consent via MCP elicitation, plus logging notifications for ffmpeg warnings #222

Closed

Description

@TMHSDigital

Why it matters

Screen and window capture starts on a tool call alone. For security-conscious users and team deployments, a per-capture confirmation ("Record window 'Slack' for up to 60 s with system audio?") makes the tool much easier to trust and pairs naturally with prompt-injection defenses. MCP elicitation is designed for exactly this.

Separately, ffmpeg warnings (dropped frames, a missing audio device) are invisible today unless a tool fails. MCP logging notifications would show them in the client.

Suggested approach

  • Add an opt-in SCREENCAST_CONFIRM_CAPTURE=1 setting. When the client supports elicitation, start_recording, screenshot (live), find_text (live) and wait_for_change ask for confirmation, showing the resolved target, duration and audio source.
  • When the client lacks elicitation, fail closed with a clear message.
  • Declare the logging capability and forward ffmpeg warnings at warning level.

Done when

  • With the env var set, a capture requires confirmation in a client that supports elicitation (tested with the in-memory transport).
  • Warnings appear as log notifications.

Activity

  1. added
    priority: low
    feature
    effort: small
    impact: medium
    privacy
    on Oct 25, 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

    effort: smallfeatureimpact: mediumpriority: lowprivacy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions