Skip to content

feat(mcp): Add MCP data collection gating - #7154

Merged
ericapisani merged 2 commits into
masterfrom
py-2588-mcp
Aug 11, 2026
Merged

feat(mcp): Add MCP data collection gating#7154
ericapisani merged 2 commits into
masterfrom
py-2588-mcp

lint

47c8b31
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden completed Aug 10, 2026

1 issue

Medium

MCP tool arguments leak to spans when send_default_pii=False - `tests/integrations/mcp/test_mcp.py:2104-2108`

Tool arguments are only gated inside has_data_collection_enabled; when data_collection is not configured they are attached to spans unconditionally, bypassing the user's send_default_pii=False setting.

4 skills analyzed
Skill Findings Duration Cost
security-review 0 1m 11s $0.11
code-review 0 13m 45s $1.02
find-bugs 1 13m 57s $1.39
skill-scanner 0 5m 42s $0.05

⏱ 34m 35s · 8.3M in / 245.6k out · $2.57