Expose sentry api and sentry schema through the MCP

Offen
#1,893 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
54/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
api, cli

Rechercherichtung

Start with the linked cli-first-mcp design and tasks, then inspect the command exposure and permission handling for sentry api and sentry schema. Check how #1807's shared matcher is used for hosted path validation. Done means tests cover a raw read, a raw write refused under --read-only, and an unpublished path refused on hosted.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

api CLI enhancement MCP

Part of #1357. Plan: cli-first-mcp task 4.1 (design, tasks). Depends on #1890.

Why

This is how agents reach every published API route with no extra tools: sentry schema to search the API, sentry api to call it.

Scope

  • Mark both commands exposed.
  • A sentry api call's permission class comes from its HTTP method, so GET goes through the read tool and anything else through the write tool.
  • Hosted checks the path against the published operation list with #1807's shared matcher.

Related: #1803 (route sentry api by org), #1476.

Done when

  • Tests for a raw read, a raw write refused under --read-only, and an unpublished path refused on hosted.

via @BYK.

--

View Session in Sentry

Vorherrschende Sprache
TypeScript
Sterne
961
Forks
179
Ø Merge
15 Std. 33 Min.
Gemergte PRs (30 T.)
476

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus getsentry/toolkit

Alle Issues in getsentry/toolkit

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.