Skip to content

Conversation

@jonathannorris
Copy link
Member

@jonathannorris jonathannorris commented Aug 14, 2025

Fix MCP tool operation name consistency for dvc-referrer headers

Problem

MCP tools had inconsistent operation names between tool registration and API client calls:

  • update_feature_targeting tool: operation name was 'updateFeatureTargeting' (camelCase) instead of 'update_feature_targeting' (snake_case)
  • set_feature_targeting tool: operation name was dynamic ('enableTargeting'/'disableTargeting') instead of 'set_feature_targeting'

This caused the dvc-referrer-metadata header to contain different command values than the registered tool names.

@jonathannorris jonathannorris requested a review from a team as a code owner August 14, 2025 02:18
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 14, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
devcycle-mcp-server 1286605 Aug 14 2025, 02:20 AM

@jonathannorris jonathannorris merged commit 87e3970 into main Aug 14, 2025
9 checks passed
@jonathannorris jonathannorris deleted the fix-mcp-dvc-referrer-header-mismatch branch August 14, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants