Skip to content

fix(mcp): fingerprint Claude Desktop ccd_turn as a Claude built-in - #448

Merged
zeus-12 merged 2 commits into
stagingfrom
vv/ccd-turn-builtin
Nov 30, 2026
Merged

zeus-12 merged 2 commits into
stagingfrom
vv/ccd-turn-builtin

Conversation

@zeus-12

@zeus-12 zeus-12 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Before: discovery fingerprinted Claude Desktop's ccd_turn MCP server as nothing, unlike the other Claude built-ins.

After: ccd_turn fingerprints as claude-builtin:ccd-turn, the same identity the gateway, data and hooks now use.

How

  • One entry in _CLAUDE_BUILTIN_NAMES (scripts/coding_discovery_tools/mcp_fingerprint.py) and a cache-key test.

Red, then green

  • Before: the new test failed for ccd_turn and ccd-turn (returned None).
  • After: it passes. Full pytest tests/: same 32 failures as staging on this machine (auth status, residue detection, memory fix), none in MCP code.

Context: Sentry AI-GATEWAY-57Q. Companion PRs on vv/ccd-turn-builtin in setup, ai-gateway and ai-gateway-data.


Generated by Claude Code

Unbound Review · Score 5/5 (no findings) · 702c010

  • codex (own score 5/5): The PR recognizes Claude Desktop's ccd_turn server as the canonical claude-builtin:ccd-turn fingerprint and adds a cache-key test for underscore and hyphen spellings. The change follows the existing built-in normalization path, and I found no verified issues.
  • claude (own score 5/5): Adds ccd-turn to _CLAUDE_BUILTIN_NAMES, so Claude Desktop's ccd_turn and ccd-turn servers now fingerprint as claude-builtin:ccd-turn. It also updates the docstring and adds a cache-key test that checks both spellings. Underscores in names are normalized to hyphens by _BUILTIN_NAME_SEPARATOR_RE before the lookup, and this mapping only applies when a server has a bare name with no command, url or args. That matches how the existing ccd-

findings: 0 P0 · 0 P1 · 0 P2 (top 5 P0/P1 inline) · engines: codex ✅ · claude ✅

rules applied: CLAUDE.md

Parity with the gateway, data and hook built-in maps.
@zeus-12
zeus-12 requested a review from a team November 30, 2026 13:29

@vigneshsubbiah16 vigneshsubbiah16 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Security consensus: no issues found. (reviewers: Claude, Semgrep, Gitleaks)


🤖 consensus review · reviewers: Claude, Semgrep, Gitleaks · head d8f03020 · 2026-11-30T13:36Z

zeus-12 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

/review


Generated by Claude Code

@vigneshsubbiah16 vigneshsubbiah16 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Security consensus: no issues found. (reviewers: Claude, Semgrep, Gitleaks)


🤖 consensus review · reviewers: Claude, Semgrep, Gitleaks · head 702c0104 · 2026-11-30T15:02Z

@zeus-12
zeus-12 merged commit c9004ee into staging Nov 30, 2026
11 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.

5 participants