You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Assistant prompts for Sentry auth on code-change tasks that only need GitHub credentials #188
When asked to perform a code-change task (clone repo, implement feature, open PR), the assistant incorrectly prompted for Sentry account authorization — a credential requirement that was irrelevant to the actual task.
Observed behavior
User asks assistant to investigate and create a draft pull request in a GitHub repo (getsentry/sentry-mcp).
First assistant reply: "I need to connect your Sentry account first. I've sent you a private authorization link."
The task required GitHub credentials (repo clone, PR creation), not Sentry API credentials.
The spurious auth prompt blocked the task and required a follow-up @mention to proceed.
Root cause (hypothesis, medium confidence)
The steering or skill-selection logic associated the MCP/metrics topic in the user's message with the Sentry skill and triggered a Sentry credential check before any GitHub work was attempted. The correct flow would be to load the code-change or GitHub skill, issue github.contents.read + github.pull-requests.write credentials, and proceed.
Additional context
A thread participant speculated that the "Beta" tag on the Metrics product might be making the MCP conservative — suggesting the topic framing of the task may be influencing credential selection even when the task itself is purely code-level. This is worth investigating as a potential confounding signal in the steering prompt.
Impact
User is blocked by an unnecessary auth step.
The actual task is delayed by a full turn.
Creates confusion about what credentials are actually needed.
Potential fixes
Improve steering to distinguish "task involves Sentry product context" (describing what to build) from "task requires querying Sentry API" (needs Sentry credential).
Credential issuance should be deferred until a skill actually declares it as a requires_capabilities dependency, not speculatively pre-empted.
Activity
fix(harness): tighten skill routing and auth gating
test(oauth): align reconnect flow with skill auth contract
fix(harness): tighten skill routing and auth gating (#207)