Skip to content

fix(mcp): Name the agent and user on MCP agent feedback - #1811

Merged
scttcper merged 1 commit into
mainfrom
mcp/feedback-agent-name
Nov 2, 2026
Merged

scttcper merged 1 commit into
mainfrom
mcp/feedback-agent-name

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Feedback sent through submit_feedback_to_sentry_team shows up as "Anonymous User" in Sentry's feedback list. The event has the Sentry user ID from the request scope, but no name or email, and the feedback UI only shows those two fields.

This PR sets the feedback name to the MCP client and that same user ID, for example MCP agent (opencode) for user 123. When either one is missing, it drops that part, down to plain MCP agent. The rest of our MCP telemetry already identifies people this way: by user ID, with no name or email. So this adds no new personal data, and triagers can search user.id:<id> from a feedback item to find that session's spans and logs.

via @mrduncan.

--

View Session [Sentry]

Feedback from submit_feedback_to_sentry_team showed as "Anonymous User"
because it carried no name. Label it with the MCP client and Sentry user
ID, which our other MCP telemetry already uses, instead of a name or email.

Co-Authored-By: Matt Duncan <14761+mrduncan@users.noreply.github.com>
@vercel

vercel Bot commented Nov 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 2, 2026 8:11pm UTC

Request Review

@mrduncan
mrduncan marked this pull request as ready for review November 2, 2026 20:39
@github-actions github-actions Bot added the risk: low PR risk score: low label Nov 2, 2026
@scttcper
scttcper merged commit e35e1c3 into main Nov 2, 2026
37 checks passed
@scttcper
scttcper deleted the mcp/feedback-agent-name branch November 2, 2026 21:06

This branch was successfully deployed

1 active and 1 inactive deployments
Actions — f2d713f6 Deployed Nov 2, 2026 by sentry-junior[bot] via eval #1486
Preview — f2d713f6 Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants