sentry mcp 0.48.0: silent search fallback and stale docs
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- node.js, typescript
- Ambito
- backend-api-design, cli, documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
--
- Lingua principale
- TypeScript
- Stelle
- 957
- Fork
- 174
- Merge medio
- 13h 16m
- PR unite (30g)
- 407
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/toolkit
-
CLI enhancement MCP
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
getsentry/toolkit#1908 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Docs MCP URL normalization retains query strings and fragmentsForse già presa @pcbeingused333 l’ha presa 8 giorni fa. Apertabug MCP
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
getsentry/toolkit#1618 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
getsentry/toolkit#1471 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Remote MCP: let Bearer-only clients opt into direct token auth (a `Sentry-Bearer` equivalent)Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
getsentry/toolkit#2065 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
getsentry/toolkit#2047 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di getsentry/toolkit
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/vscode-containers#655 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 commento ·
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish stepForse già presa @albertteoh l’ha presa oggi. Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jaegertracing/jaeger-ui#4739 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Shop On TV SDApertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno