feat(catalog): add get_issue_user_reports tool#1141
Merged
dcramer merged 2 commits intoJul 2, 2026
Conversation
Member
|
cleaning up a couploe things. one thing i generally do is point the agent at current sentry to make sure theres no gaps in schemas, but broadly speaking patch is good and we'll get it landed today, ty! |
Match the upstream user report response shape, add pagination handling, and clarify the tool description so agents do not confuse issue user reports with standalone feedback issues. Add MSW-backed handler and catalog dispatch coverage, and regenerate tool and skill definitions. Refs getsentryGH-1111 Co-Authored-By: GPT-5 Codex <noreply@openai.com>
dcramer
force-pushed
the
feature/issue-1111-user-reports
branch
from
July 2, 2026 17:19
851eb13 to
a8ed262
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Exposes
GET /api/0/issues/{issue_id}/user-reports/through the MCP catalog as a newget_issue_user_reportstool.Changes
schema.ts— addsUserReportSchemaandUserReportListSchemamatching the real API response shapeclient.ts— addsgetIssueUserReports()method using the org-scoped endpoint/organizations/{org}/issues/{id}/user-reports/types.ts— addsUserReportListtype inferred from the list schematools/catalog/get-issue-user-reports.ts— new catalog tool following existing patterns (get-issue-activity,get-issue-tag-values)tools/catalog/index.ts— registers the new toolmcp-server-mocks— adds mock handler +issue-user-reports.jsonfixture based on real API responseTesting
GET /issues/{id}/user-reports/returns feedback data that was completely invisible to agents before this change/organizations/{org}/issues/{id}/user-reports/) returns identical datatscandlintpass clean on@sentry/mcp-coreNotes
search_sentry_tools/execute_sentry_tool), per maintainer guidance@sentry/mcp-agent-cli-test(setup.test.ts) is a Windows path normalization bug unrelated to this change — confirmed by reproducing with a clean stash