Skip to content

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Jun 28, 2025

Add proper User-Agent headers to all HTTP requests made by the MCP server components to improve request tracking and debugging:

  • Cloudflare OAuth: "Sentry MCP Cloudflare"
  • Chat Demo OAuth: "Sentry MCP Chat Demo"
  • MCP Server API client: "Sentry MCP Server"
  • MCP CLI OAuth: "Sentry MCP CLI"

This also should unblock ourselves, and hopefully anything legit.

🤖 Generated with Claude Code

@codecov
Copy link

codecov bot commented Jun 28, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review.

Project coverage is 63.65%. Comparing base (910ab00) to head (6930e6c).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ges/mcp-cloudflare/src/server/routes/chat-oauth.ts 0.00% 2 Missing ⚠️
packages/mcp-cloudflare/src/server/lib/oauth.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #334      +/-   ##
==========================================
- Coverage   63.65%   63.65%   -0.01%     
==========================================
  Files          46       46              
  Lines        5660     5668       +8     
  Branches      471      471              
==========================================
+ Hits         3603     3608       +5     
- Misses       2057     2060       +3     
Flag Coverage Δ
unittests 63.65% <66.66%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Add proper User-Agent headers to all HTTP requests made by the MCP server components to improve request tracking and debugging:
- Cloudflare OAuth: "Sentry MCP Cloudflare"
- Chat Demo OAuth: "Sentry MCP Chat Demo"
- MCP Server API client: "Sentry MCP Server"
- MCP CLI OAuth: "Sentry MCP CLI"

Also updates zod to v4.0.0 for improved TypeScript support.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dcramer dcramer merged commit 92c04bb into main Jun 28, 2025
12 checks passed
@dcramer dcramer deleted the fix-user-agent branch June 28, 2025 05:53
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.

2 participants