René's URL Explorer Experiment


Title: fix(core): handle stateless MCP wrapper transport correlation by logaretm · Pull Request #20293 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): handle stateless MCP wrapper transport correlation by logaretm · Pull Request #20293 · getsentry/sentry-javascript

X Title: fix(core): handle stateless MCP wrapper transport correlation by logaretm · Pull Request #20293 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: This PR handles stateless MCP wrappers by using the connected transport instance as the stable MCP correlation key across wrapper layers. I verified the issue and the fix by adding a regression tes...

X Description: This PR handles stateless MCP wrappers by using the connected transport instance as the stable MCP correlation key across wrapper layers. I verified the issue and the fix by adding a regression tes...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/20293

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:64e02f7f-93db-8de3-a592-b503ed524611
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81EA:13C02D:2F46DF:4314B0:6B046C48
html-safe-nonce795ff98f5e2d0f2d9e900fc8447faefb43a88320baac3a676cd94a2495a8e94f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUVBOjEzQzAyRDoyRjQ2REY6NDMxNEIwOjZCMDQ2QzQ4IiwidmlzaXRvcl9pZCI6IjkxNTgxMDUyNjQ2NDg2NDU3MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccfca13d8db68b9cb6853e50ea9763207e5cf27180857c3096d30ee4efbd09e79
hovercard-subject-tagpull_request:3530582272
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/20293/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c0de2637e9a1a4f406e970cdd7ee595c497a88096e9e39e720412936019db808/getsentry/sentry-javascript/pull/20293
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c0de2637e9a1a4f406e970cdd7ee595c497a88096e9e39e720412936019db808/getsentry/sentry-javascript/pull/20293
og:image:altThis PR handles stateless MCP wrappers by using the connected transport instance as the stable MCP correlation key across wrapper layers. I verified the issue and the fix by adding a regression tes...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelogaretm
hostnamegithub.com
expected-hostnamegithub.com
None83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseca4d07a7cef4e4b75f821dc25e7300d80c1450a9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/20293#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20293
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20293
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20293
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20293
Reloadhttps://github.com/getsentry/sentry-javascript/pull/20293
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests54 (54)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
logaretmhttps://github.com/logaretm
develophttps://github.com/getsentry/sentry-javascript/tree/develop
awad/js-2164-wrapmcpserverwithsentry-tool-call-spanshttps://github.com/getsentry/sentry-javascript/tree/awad/js-2164-wrapmcpserverwithsentry-tool-call-spans
Conversationhttps://github.com/getsentry/sentry-javascript/pull/20293
Commits2 (2)https://github.com/getsentry/sentry-javascript/pull/20293/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/20293/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/20293/files
fix(core): handle stateless MCP wrapper transport correlationhttps://github.com/getsentry/sentry-javascript/pull/20293#top
logaretmhttps://github.com/logaretm
develophttps://github.com/getsentry/sentry-javascript/tree/develop
awad/js-2164-wrapmcpserverwithsentry-tool-call-spanshttps://github.com/getsentry/sentry-javascript/tree/awad/js-2164-wrapmcpserverwithsentry-tool-call-spans
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Apr 14, 2026https://github.com/getsentry/sentry-javascript/pull/20293#issue-4264736353
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
#20290https://github.com/getsentry/sentry-javascript/issues/20290
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
https://github.com/logaretm
https://github.com/claude
fix(core): handle stateless MCP wrapper transport correlationhttps://github.com/getsentry/sentry-javascript/pull/20293/commits/c4271fce12e8059dea8102cda8db549af90cff0e
c4271fchttps://github.com/getsentry/sentry-javascript/pull/20293/commits/c4271fce12e8059dea8102cda8db549af90cff0e
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
April 14, 2026 21:04https://github.com/getsentry/sentry-javascript/pull/20293#event-24504056984
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Apr 14, 2026https://github.com/getsentry/sentry-javascript/pull/20293#issuecomment-4247140754
JS-2164 wrapMcpServerWithSentry: tool-call spans missing with stateless StreamableHTTPServerTransporthttps://linear.app/getsentry/issue/JS-2164/wrapmcpserverwithsentry-tool-call-spans-missing-with-stateless
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
started reviewinghttps://github.com/getsentry/sentry-javascript/sessions/51e504dc-0d81-45a9-b0d0-da02ae8deeaa
logaretmhttps://github.com/logaretm
April 14, 2026 21:04https://github.com/getsentry/sentry-javascript/pull/20293#event-24504070340
View session https://github.com/getsentry/sentry-javascript/sessions/51e504dc-0d81-45a9-b0d0-da02ae8deeaa
https://github.com/logaretm
logaretmhttps://github.com/logaretm
JPeer264https://github.com/JPeer264
chargomehttps://github.com/chargome
April 14, 2026 21:06https://github.com/getsentry/sentry-javascript/pull/20293#event-24504106954
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 14, 2026 https://github.com/getsentry/sentry-javascript/pull/20293#pullrequestreview-4109230944
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20293/files/c4271fce12e8059dea8102cda8db549af90cff0e
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/getsentry/sentry-javascript/pull/20293#pullrequestreview-4109230944
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/getsentry/sentry-javascript/new/develop?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
packages/core/src/integrations/mcp-server/transport.tshttps://github.com/getsentry/sentry-javascript/pull/20293/files/c4271fce12e8059dea8102cda8db549af90cff0e#diff-0010894dbbf22a028fc9fbdba950d498deccc5f9486ebd274013dc4b37158478
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
packages/core/src/integrations/mcp-server/transport.tshttps://github.com/getsentry/sentry-javascript/pull/20293/files/c4271fce12e8059dea8102cda8db549af90cff0e#diff-0010894dbbf22a028fc9fbdba950d498deccc5f9486ebd274013dc4b37158478
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Apr 14, 2026 https://github.com/getsentry/sentry-javascript/pull/20293#pullrequestreview-4109234956
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20293/files/c4271fce12e8059dea8102cda8db549af90cff0e
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/20293#pullrequestreview-4109234956
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo2ZTg2M2ZiNS00NGZiLTRjNzEtYmMzYS0xY2VkYTY5NWYxOGEiLCJlbmNyeXB0aW9uS2V5IjoiMWRmYXhnd3hDZ1hOZGJtR2ZQVE1NRnN6ZWlLNmtOcXlVVWFLYklwX3JWMCIsImJyYW5jaCI6ImF3YWQvanMtMjE2NC13cmFwbWNwc2VydmVyd2l0aHNlbnRyeS10b29sLWNhbGwtc3BhbnMiLCJyZXBvT3duZXIiOiJnZXRzZW50cnkiLCJyZXBvTmFtZSI6InNlbnRyeS1qYXZhc2NyaXB0In0sImlhdCI6MTc3NjIwMDk1MywiZXhwIjoxNzc4NzkyOTUzfQ.CFpu5q7q4szN0NBJiPsQJZT6Npmg74nFlw92-q4P_WiD4WDokmA1r4YmNUcPnbySvXJIpdxqO2i1HTsnNvBQbUZcKKeU4gP00Uho76OjQquf36k3ezlKjzlzlf8QyWPuuUAWQYNYcBHOioPrw3T6D3w04n7qtAYuY3cn_K2Y39IKZp8LRKHobaGnHh5LiIJBpbLGhRwQoJcULUYJsyUuPe8Frx6ChhOCLCRHqNRWPgVeHs7EauIyhABXgqXEjbXPcJFREBjYaWKvUMAMUUXWS_knPfjVFg0f3hWPHU-RpSHtCD6gE6UUD0eRK2XEnW54k7N4Zy2cnHOrLZecwVmC9A
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
c4271fchttps://github.com/getsentry/sentry-javascript/commit/c4271fce12e8059dea8102cda8db549af90cff0e
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
packages/core/src/integrations/mcp-server/transport.tshttps://github.com/getsentry/sentry-javascript/pull/20293/files/c4271fce12e8059dea8102cda8db549af90cff0e#diff-0010894dbbf22a028fc9fbdba950d498deccc5f9486ebd274013dc4b37158478
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
https://github.com/logaretm
https://github.com/claude
fix(core): align MCP session metadata lookup for wrappershttps://github.com/getsentry/sentry-javascript/pull/20293/commits/5c60a74cb9f2914778927ae6ba9e89f48d8a66a4
5c60a74https://github.com/getsentry/sentry-javascript/pull/20293/commits/5c60a74cb9f2914778927ae6ba9e89f48d8a66a4
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 16, 2026 https://github.com/getsentry/sentry-javascript/pull/20293#pullrequestreview-4120503899
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/20293/files/5c60a74cb9f2914778927ae6ba9e89f48d8a66a4
https://github.com/logaretm
logaretmhttps://github.com/logaretm
e818fcbhttps://github.com/getsentry/sentry-javascript/commit/e818fcba2aa704c547cc878818137b3f814edb37
Apr 16, 2026https://github.com/getsentry/sentry-javascript/pull/20293#event-24578772825
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
https://github.com/logaretm
logaretmhttps://github.com/logaretm
April 16, 2026 18:25https://github.com/getsentry/sentry-javascript/pull/20293#event-24578774346
andreiborzahttps://github.com/andreiborza
Apr 20, 2026 https://github.com/getsentry/sentry-javascript/pull/20293#ref-commit-6051477
https://github.com/logaretm
https://github.com/claude
https://github.com/andreiborza
fix(core): handle stateless MCP wrapper transport correlation (https://github.com/getsentry/sentry-javascript/commit/6051477836b7003b837fba0f97dfe9140f552ffb
#20293https://github.com/getsentry/sentry-javascript/pull/20293
)https://github.com/getsentry/sentry-javascript/commit/6051477836b7003b837fba0f97dfe9140f552ffb
6051477https://github.com/getsentry/sentry-javascript/commit/6051477836b7003b837fba0f97dfe9140f552ffb
#20290https://github.com/getsentry/sentry-javascript/issues/20290
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Apr 23, 2026 https://github.com/getsentry/sentry-javascript/pull/20293#ref-issue-4315903525
publish: getsentry/sentry-javascript@10.50.0 getsentry/publish#7921 https://github.com/getsentry/publish/issues/7921
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 23, 2026 https://github.com/getsentry/sentry-javascript/pull/20293#ref-issue-4263998475
wrapMcpServerWithSentry: tool-call spans missing with stateless StreamableHTTPServerTransport #20290 https://github.com/getsentry/sentry-javascript/issues/20290
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F20293
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/getsentry/sentry-javascript/pull/20293/files/c4271fce12e8059dea8102cda8db549af90cff0e
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/20293/files/c4271fce12e8059dea8102cda8db549af90cff0e
https://github.com/chargome
chargome https://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/20293/files/5c60a74cb9f2914778927ae6ba9e89f48d8a66a4
https://github.com/JPeer264
JPeer264 https://github.com/JPeer264
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
wrapMcpServerWithSentry: tool-call spans missing with stateless StreamableHTTPServerTransport https://github.com/getsentry/sentry-javascript/issues/20290
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/20293
https://github.com/logaretm
https://github.com/chargome
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.