Title: Instrument WebMCP tools in the browser SDK · Issue #26602 · getsentry/sentry-javascript · GitHub
Open Graph Title: Instrument WebMCP tools in the browser SDK · Issue #26602 · getsentry/sentry-javascript
X Title: Instrument WebMCP tools in the browser SDK · Issue #26602 · getsentry/sentry-javascript
Description: WebMCP lets web pages expose tools to AI agents directly in the browser through navigator.modelContext. We instrument MCP servers today, but the browser SDK has no WebMCP support. Tracking this so we can pick it up once the proposal matu...
Open Graph Description: WebMCP lets web pages expose tools to AI agents directly in the browser through navigator.modelContext. We instrument MCP servers today, but the browser SDK has no WebMCP support. Tracking this so ...
X Description: WebMCP lets web pages expose tools to AI agents directly in the browser through navigator.modelContext. We instrument MCP servers today, but the browser SDK has no WebMCP support. Tracking this so ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/26602
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Instrument WebMCP tools in the browser SDK","articleBody":"[WebMCP](https://github.com/webmachinelearning/webmcp) lets web pages expose tools to AI agents directly in the browser through `navigator.modelContext`. We instrument MCP servers today, but the browser SDK has no WebMCP support. Tracking this so we can pick it up once the proposal matures.\n\nRaised by @JPeer264.\n\n- MCP instrumentation (`wrapMcpServerWithSentry`, `packages/core/src/integrations/mcp-server/`) is server-only. It is re-exported from server runtimes, not from `@sentry/browser`.\n- The existing wrapper hooks an `McpServer` instance and its JSON-RPC transport. With WebMCP, the page registers tools on `navigator.modelContext` and the browser handles the agent side, so the server wrapper likely doesn't carry over as-is.\n- Angular 22 added `provideWebMcpTools`, which the framework-updates digest flagged for possible instrumentation (getsentry/sentry-javascript@9fcf2f0d7a).\n- The spec is still early. WebKit's position is **oppose** (WebKit/standards-positions#670).\n\n\u003c!-- junior-request-attribution:start -->\nvia @msonnb.\n\u003c!-- junior-request-attribution:end -->\n\n\u003c!-- junior-session-footer:start -->\n\u003c!-- junior-conversation-id:slack%3AC02TB1YBNGJ%3A1795015961.091719 -->\n\n--\n\n[View Session](https://junior-prod.sentry.dev/conversations/slack%3AC02TB1YBNGJ%3A1795015961.091719) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC02TB1YBNGJ%3A1795015961.091719/?project=4510944073809921)\n\n\u003c!-- junior-session-footer:end -->","author":{"url":"https://github.com/apps/sentry-junior","@type":"Person","name":"sentry-junior"},"datePublished":"2026-11-18T15:46:23Z","url":"https://github.com/getsentry/sentry-javascript/issues/26602"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3ae95dcf-4228-a708-4d15-df02ff3d132c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCA2:14E28B:26FEA4F:3323704:6B042AA1 |
| html-safe-nonce | 18e06c16afdc138a3964b2fac4a9521f33d6b2bfd3b5f5ac9677dd4e03a5f84b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0EyOjE0RTI4QjoyNkZFQTRGOjMzMjM3MDQ6NkIwNDJBQTEiLCJ2aXNpdG9yX2lkIjoiNjI3NTk3MTUwMjIzMjA1NDQzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b445cf0273ab00691f330d57100056cf3cedafd6e3f2a9d0470353483b681879 |
| hovercard-subject-tag | issue:6470944580 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/26602/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80140731cca5bf9ebf18e7267c390816e83bfc109af63f862e21b38a17a9ee58/getsentry/sentry-javascript/issues/26602 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80140731cca5bf9ebf18e7267c390816e83bfc109af63f862e21b38a17a9ee58/getsentry/sentry-javascript/issues/26602 |
| og:image:alt | WebMCP lets web pages expose tools to AI agents directly in the browser through navigator.modelContext. We instrument MCP servers today, but the browser SDK has no WebMCP support. Tracking this so ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentry-junior[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width