sentry mcp 0.48.0: silent search fallback and stale docs
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- node.js, typescript
- Domaine
- backend-api-design, cli, documentation
Piste de recherche
Start with the named search entry points, packages/mcp-core/src/tools/support/search-events/seer.ts and search-issues.ts, then trace the docs and scope behavior through the MCP tools. Reproduce the reported cases with no LLM key, get_doc on ai/mcp.md, and a nonexistent organization scope. Done means the affected calls explain or handle these failures clearly; the issue leaves the intended behavior for several minor items open.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Running the released [email protected] sentry mcp (npm, npx @sentry/mcp-server, and the install-script binary) over stdio against sentry.io found three problems that affect first-time setups, plus a few smaller issues. The core flows worked: startup, tools/list, real tool calls, scoping, the skills flags, and the auth error messages.
1. Natural-language search returns empty results without an LLM key
The tool descriptions say query is "natural language (preferred)". With no OPENAI_API_KEY/ANTHROPIC_API_KEY/OPENROUTER_API_KEY set, the English text is sent to Sentry as a literal search. The tools then report "No results found" and never say the query was not translated.
search_issues{"organizationSlug":"sentry","query":"top unresolved errors in the javascript project today"}returned 0 issues.query: "is:unresolved"on the same project returned results.search_errors{"query":"most common error types in the last hour","projectSlug":"javascript"}andsearch_logs{"query":"error logs from the last 15 minutes"}ran the sentence as the query string (shown under "Executed Search") and returned no results.- For events,
translateWithSeer(packages/mcp-core/src/tools/support/search-events/seer.ts) was tried first.GET /organizations/sentry/search-agent/state/{runId}/returned 403,translateWithSeerreturnednull, and the raw text was used without any note in the response. It is unknown whether the 403 is specific to the test account or happens for all users without Seer access. search_issueshas no Seer path: insearch-issues.ts, withouthasAgentProvider()the query is passed through as-is.- The only signal is a startup warning on stderr, which MCP clients do not usually show.
2. The docs tools return a removed MCP setup page
search_docs{"query":"configure sentry mcp in claude code"}returnshttps://docs.sentry.io/ai/mcp(ai/mcp.md) as the top hit, with snippet content.- That page no longer exists:
docs.sentry.io/ai/mcp/redirects (308) tohttps://mcp.sentry.dev/, andai/mcp.mdserves "Page Not Found". get_doc{"path":"ai/mcp.md"}returns the "Page Not Found" markdown withisError: false.
3. A scope naming a nonexistent org is only reported on each call
sentry mcp definitely-not-a-real-org-xyz/starts normally, andwhoamireports the constraint.- Every scoped call then fails with a generic
API error (404): Not found. Please verify that the organization, project, or resource ID is correct, which does not mention the configured scope.
Minor
--disable-skills docsremoves no tools, becausesearch_docs/get_docalso belong toinspect. The flag is accepted without a warning.--experimentalremovesget_profileandget_profile_detailsand addssearch_attributes. It is not clear whether removing the profile tools is intended.--access-tokenis listed insentry mcp --help, while the other deprecated flags (--host,--url,--insecure-http,--organization-slug,--project-slug) are hidden.- With
NODE_EXTRA_CA_CERTSset,npx @sentry/mcp-server auth statussuggestssentry cli defaults ca-cert ..., which is not a command in that package. - The install script's "Get started" output does not mention
sentry mcp. - Issue descriptions in
get_sentry_resourceoutput contain escaped URLs, such ashttps\://mcp.sentry.dev/.... tools/listis about 250 KB of compact JSON (73 tools) withEXPOSE_ALL_TOOLSon. That is heavy for clients without native tool search.
Not covered
These were not tested: real agent clients (Claude Code, Cursor, VS Code), interactive TTY login, the configured-LLM-key path, 401 and token-refresh handling, and the macOS and Windows binaries.
via @dcramer.
--
- Langage dominant
- TypeScript
- Étoiles
- 957
- Forks
- 174
- Merge moyen
- 13 h 16 min
- PR mergées (30 j)
- 407
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de getsentry/toolkit
-
CLI enhancement MCP
Difficulté 2/5 1-3 heures Accessibilité débutants 63/100
getsentry/toolkit#1908 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Docs MCP URL normalization retains query strings and fragmentsPeut-être pris @pcbeingused333 l’a pris il y a 8 jours. Ouvertebug MCP
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
getsentry/toolkit#1618 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
getsentry/toolkit#1471 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Remote MCP: let Bearer-only clients opt into direct token auth (a `Sentry-Bearer` equivalent)Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
getsentry/toolkit#2065 · 7 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
getsentry/toolkit#2047 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de getsentry/toolkit
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
microsoft/vscode-containers#655 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 commentaire ·
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish stepPeut-être pris @albertteoh l’a pris aujourd’hui. Ouvertedocumentation
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
jaegertracing/jaeger-ui#4739 ·
Les mainteneurs répondent en général sous 1 jour
-
Add: Shop On TV SDOuvertecheck:passed streams:add
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour