Skip to content

DC-2872: Block generic OTel MCP contrib when MCP opt-in is off - #27

Merged
t-santoshsahu merged 2 commits into
mainfrom
fix/DC-2872-mcp-disable-gating
Sep 8, 2026
Merged

t-santoshsahu merged 2 commits into
mainfrom
fix/DC-2872-mcp-disable-gating

Conversation

@t-santoshsahu

Copy link
Copy Markdown
Collaborator

Add mcp to the generic AI contrib denylist so HARNESS_ENABLE_API cannot auto-instrument FastMCP/MCP via the OTel contrib fallback when HARNESS_ENABLE_AI_MCP is unset or false.

t-santoshsahu and others added 2 commits September 7, 2026 21:39
Add mcp to the generic AI contrib denylist so HARNESS_ENABLE_API cannot
auto-instrument FastMCP/MCP via the OTel contrib fallback when
HARNESS_ENABLE_AI_MCP is unset or false.

Co-authored-by: Cursor <cursoragent@cursor.com>
…n pytest

Co-authored-by: Cursor <cursoragent@cursor.com>
@t-santoshsahu
t-santoshsahu merged commit 2453c4c into main Sep 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants