You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opt-in capture consent via MCP elicitation, plus logging notifications for ffmpeg warnings #222
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).
Activity