Expose sentry api and sentry schema through the MCP

Aperta
#1,893 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
961
Fork
179
Merge medio
15h 33m
PR unite (30g)
476

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/toolkit

Tutte le issue di getsentry/toolkit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.